/* Global Styles */
* {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');


body {
font-family: "Audiowide", sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
font-family: "Audiowide", sans-serif;
}

.nav-gradient {
  position: fixed !important;
 
 border-bottom: 2px solid white;
  
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;

  background: transparent; /* default (before scroll) */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

/* Header color changes on scroll */
.nav-gradient.scrolled {
  background: linear-gradient(135deg, #0a0a23 0%, #1b1b5e 50%, #2d2d80 100%);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

/* Menu links */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  transition: width 0.4s ease;
  box-shadow: 0 0 10px #06b6d4;
}

.nav-link:hover::after {
  width: 100%;
}


/* Hero Section */
.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

/* Glowing Button */
.glow-btn {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.8), 0 0 60px rgba(6, 182, 212, 0.6);
    transform: translateY(-3px) scale(1.05);
}

/* Pulse Animation */
.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.5); 
    }
    50% { 
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.9); 
    }
}

/* Feature Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Countdown Timer */
.countdown-timer {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Music Controls */
.music-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 12px;
}

.music-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.music-btn.playing {
    background: linear-gradient(135deg, #10b981, #059669);
}

.music-btn.muted {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

/* Mobile Menu */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
}

.mobile-menu.open {
    transform: translateY(0);
}

/* Digital Text Animation */
#digitalText {
    display: inline-block;
    letter-spacing: 1.5px;
}

/* Lazy Load Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .music-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .music-btn {
        width: 48px;
        height: 48px;
    }
    
    .countdown-timer {
        font-size: 1.125rem;
    }
}