
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Press+Start+2P&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', monospace;
  background: #000;
  background-image: 
    radial-gradient(rgba(0, 255, 255, 0.1), transparent 50%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 0, 255, 0.03),
      rgba(255, 0, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 255, 255, 0.03),
      rgba(0, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
    );
  color: #00ffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scanline effect overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #ff00ff, #00ffff);
  padding: 20px;
  margin-bottom: 30px;
  border: 2px solid #00ffff;
  box-shadow: 
    0 0 20px #00ffff,
    inset 0 0 20px rgba(255, 0, 255, 0.3);
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
  z-index: -1;
  border-radius: 5px;
}

.header h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  text-align: center;
  color: #000;
  text-shadow: 2px 2px 0px #fff;
  margin-bottom: 10px;
}

.header .subtitle {
  text-align: center;
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nav-btn {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border: 2px solid #00ffff;
  color: #000;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 0 15px #00ffff;
  transition: all 0.3s ease;
  font-family: 'Orbitron', monospace;
}

.nav-btn:hover {
  box-shadow: 0 0 25px #ff00ff, 0 0 35px #00ffff;
  transform: translateY(-2px);
}

/* Card Styles */
.card {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #00ffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(255, 0, 255, 0.1);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  border-radius: 8px;
  pointer-events: none;
}

.card h2 {
  color: #ff00ff;
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-shadow: 0 0 10px #ff00ff;
}

.card h3 {
  color: #00ffff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Button Styles */
.btn {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border: 2px solid #00ffff;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 10px #00ffff;
  transition: all 0.3s ease;
  font-family: 'Orbitron', monospace;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  box-shadow: 0 0 20px #ff00ff;
  transform: scale(1.05);
}

.btn-secondary {
  background: linear-gradient(45deg, #00ff00, #ffff00);
  border-color: #00ff00;
}

.btn-danger {
  background: linear-gradient(45deg, #ff0000, #ff6600);
  border-color: #ff0000;
}

/* Input Styles */
.input {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #00ffff;
  color: #00ffff;
  padding: 10px;
  border-radius: 5px;
  font-family: 'Orbitron', monospace;
  width: 100%;
  margin-bottom: 10px;
}

.input:focus {
  outline: none;
  box-shadow: 0 0 15px #00ffff;
}

.textarea {
  min-height: 100px;
  resize: vertical;
}

/* Chat Styles */
.chat-container {
  height: 400px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid #00ffff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.chat-message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
}

.chat-message.user {
  background: rgba(255, 0, 255, 0.2);
  border-left: 4px solid #ff00ff;
  margin-left: 20px;
}

.chat-message.ai {
  background: rgba(0, 255, 255, 0.2);
  border-left: 4px solid #00ffff;
  margin-right: 20px;
}

.chat-input {
  display: flex;
  gap: 10px;
}

.chat-input input {
  flex: 1;
}

/* Progress Bar */
.progress-bar {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #00ffff;
  border-radius: 10px;
  height: 20px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px #00ffff;
}

/* Status Indicators */
.status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  margin: 5px;
}

.status.online {
  background: #00ff00;
  color: #000;
  box-shadow: 0 0 10px #00ff00;
}

.status.offline {
  background: #ff0000;
  color: #fff;
  box-shadow: 0 0 10px #ff0000;
}

.status.processing {
  background: #ffff00;
  color: #000;
  box-shadow: 0 0 10px #ffff00;
}

/* Coming Soon Banner */
.coming-soon {
  background: linear-gradient(45deg, #ff6600, #ff0000);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  margin: 10px 0;
  box-shadow: 0 0 15px #ff0000;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Glitch Effect */
.glitch {
  position: relative;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.5rem;
  }
  
  .nav {
    flex-direction: column;
    align-items: center;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .chat-input {
    flex-direction: column;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
}

/* Selection */
::selection {
  background: #00ffff;
  color: #000;
}
