@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* {
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

.hero-header {
  background: linear-gradient(135deg, #6B46C1 0%, #00D4FF 100%);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #00D4FF 0%, #FF006E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card {
  background: #16213E;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

.stat-card {
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.input-field {
  width: 100%;
  background: #0F1419;
  border: 1px solid #2A3F5F;
  border-radius: 8px;
  padding: 0.75rem;
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: #00D4FF;
}

.input-field-small {
  background: #0F1419;
  border: 1px solid #2A3F5F;
  border-radius: 6px;
  padding: 0.5rem;
  color: white;
  font-size: 0.875rem;
  width: 80px;
}

.input-field-small:focus {
  outline: none;
  border-color: #00D4FF;
}

.btn-primary {
  background: linear-gradient(135deg, #FF006E 0%, #00D4FF 100%);
  color: white;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.btn-secondary {
  background: #2A3F5F;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #00D4FF;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  background: #3A5F8F;
  transform: scale(1.02);
}

.btn-danger {
  background: #DC2626;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-danger:hover {
  background: #B91C1C;
}

.badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.2);
  color: #00D4FF;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.ai-coach-box {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #16213E;
  border-top: 1px solid #2A3F5F;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
  z-index: 50;
}

.nav-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  font-size: 1.5rem;
}

.nav-btn:hover {
  color: #00D4FF;
}

.nav-btn.active {
  color: #00D4FF;
  font-weight: 700;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 1rem;
}

.modal-content {
  background: #16213E;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
}

.toggle-btn {
  background: #2A3F5F;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #00D4FF;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-btn.active {
  background: linear-gradient(135deg, #FF006E 0%, #00D4FF 100%);
}

.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: 
    radial-gradient(circle, #FF006E 2px, transparent 2px),
    radial-gradient(circle, #00D4FF 2px, transparent 2px),
    radial-gradient(circle, #39FF14 2px, transparent 2px),
    radial-gradient(circle, #FFD700 2px, transparent 2px);
  background-size: 50px 50px, 80px 80px, 60px 60px, 70px 70px;
  background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
  animation: confetti-fall 3s linear;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100%);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.text-electric-blue {
  color: #00D4FF;
}

.text-neon-green {
  color: #39FF14;
}

.text-hot-pink {
  color: #FF006E;
}

.bg-hot-pink {
  background: rgba(255, 0, 110, 0.2);
  border: 1px solid #FF006E;
}

@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 2rem;
  }
  
  .hero-header p {
    font-size: 1rem;
  }
  
  .modal-content {
    padding: 1rem;
  }
}