/* === GLOBAL === */
:root {
    --neon-pink: #ff2fa1;
    --neon-yellow: #f9ff00;
    --neon-cyan: #00d5ff;
    --text-light: #ddd;
    --bg-black: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-black);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* === NAVBAR === */
.navbar {
    transition: background 0.3s ease;
}

.navbar-brand {
    font-family: 'Audiowide', cursive;
    color: var(--neon-pink) !important;
    text-shadow: 0 0 10px var(--neon-pink);
    transition: all 0.4s ease-in-out;
}

/* ✨ Glowing hover for brand */
.navbar-brand:hover {
    color: var(--neon-yellow) !important;
    text-shadow:
    0 0 8px var(--neon-yellow),
    0 0 16px var(--neon-cyan),
    0 0 32px var(--neon-pink);
    animation: pulseGlow 1.8s ease-in-out infinite;
}

/* Navbar links */
.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-yellow) !important;
    text-shadow:
    0 0 6px var(--neon-yellow),
    0 0 12px var(--neon-cyan);
    animation: pulseGlow 2s ease-in-out infinite;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 20%, #111 0%, #000 80%);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: min(320px, 60vw);
    aspect-ratio: 1/1;
    object-fit: contain;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 10px var(--neon-pink)); }
    50% { filter: drop-shadow(0 0 20px var(--neon-cyan)); }
}

/* === TEXT STYLES === */
.neon-text {
    font-family: 'Audiowide', cursive;
    color: var(--neon-yellow);
    text-shadow: 0 0 10px var(--neon-yellow), 0 0 20px var(--neon-pink);
}

.neon-pink { color: var(--neon-pink);  }
.neon-cyan { color: var(--neon-cyan);  }
.neon-yellow { color: var(--neon-yellow);  }

.text-neon {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    transition: all 0.3s ease-in-out;
}

.text-neon:hover {
    color: var(--neon-yellow);
    text-shadow:
    0 0 8px var(--neon-yellow),
    0 0 16px var(--neon-pink);
    animation: pulseGlow 1.8s ease-in-out infinite;
}

/* === LINKS === */
a {
    text-decoration: none;
    color: inherit;
    transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

a:hover {
    text-decoration: none;
    color: var(--neon-yellow);
    text-shadow:
    0 0 4px currentColor,
    0 0 8px currentColor,
    0 0 12px currentColor;
}




/* === BUTTONS === */
.btn-neon {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.25s ease-in-out;
    text-shadow:
    0 0 3px rgba(0, 213, 255, 0.4),
    0 0 6px rgba(0, 213, 255, 0.2);
}

.btn-neon:hover {
    background: rgba(0, 213, 255, 0.1);
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    text-shadow:
    0 0 5px rgba(249, 255, 0, 0.7),
    0 0 12px rgba(249, 255, 0, 0.3);
    box-shadow: 0 0 10px rgba(0, 213, 255, 0.3);
    transform: translateY(-2px);
}



/* === COUNTDOWN === */
.countdown {
    font-family: 'Audiowide', cursive;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--neon-yellow);
    text-shadow: 0 0 10px var(--neon-yellow), 0 0 20px var(--neon-cyan);
}

/* === FIXED COUNTDOWN BAR === */
.countdown-fixed {
    position: fixed;
    top: 10px;                /* just below navbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    font-family: 'Audiowide', cursive;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: var(--neon-yellow);
    opacity: 0.6;
    text-shadow:
    0 0 2px currentColor,
    0 0 5px currentColor,
    0 0 10px currentColor;

    padding: 4px 12px;
    animation: subtleGlow 3s ease-in-out infinite alternate;

}




/* === PAGE SECTIONS === */
section {
    padding: 80px 0;
}

footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #000;
    color: #888;
}

/* === REGISTER PAGE === */
iframe {
    width: 100%;
    min-height: 2000px;
    border: none;
    box-shadow: 0 0 25px var(--neon-cyan);
    border-radius: 12px;
}

main {
    margin-top: 100px;
}

/* === RULES PAGE === */
.rules-section h2 {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    margin-top: 1.5em;
}

.rules-section p,
.rules-section li {
    color: var(--text-light);
    line-height: 1.6;
}

/* === GLOW ANIMATION === */
@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 3px var(--neon-cyan))
        drop-shadow(0 0 6px var(--neon-yellow))
        drop-shadow(0 0 12px var(--neon-pink));
    }
    50% {
        filter: drop-shadow(0 0 8px var(--neon-yellow))
        drop-shadow(0 0 16px var(--neon-pink))
        drop-shadow(0 0 24px var(--neon-cyan));
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .logo {
        width: 70vw;
    }
}

/* === HEADER GLOW  === */
h1, h2, h3, h4, h5, h6 {
    text-shadow:
    0 0 1px currentColor,
    0 0 4px currentColor,   /* gentle aura */
    0 0 12px currentColor;   /* soft spread */
    letter-spacing: 1px;
    font-family: 'Audiowide', cursive;
    transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Slight intensify on hover */
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    text-shadow:
    0 0 3px currentColor,
    0 0 7px currentColor,
    0 0 12px currentColor,
    0 0 18px currentColor;
}



/* === HERO BUTTONS === */
.hero-buttons {
    margin-top: 10px;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* === BOOMBOX POPUP === */
.boombox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.boombox-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* === BOOMBOX POPUP IMAGE === */
/* === Desktop / default === */
.boombox-image {
    width: auto;
    height: auto;
    max-width: min(95vw, 1200px);  /* don't exceed native width */
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 213, 255, 0.5);
    animation: glowPulse 2.5s ease-in-out infinite alternate;
    cursor: pointer;
    object-fit: contain;
    transition: all 0.4s ease-in-out;
}

/* === Mobile === */
@media (max-width: 768px) {
    .boombox-image {
        width: 100vw;
        height: auto;
        max-width: none;
        min-height: 65vh;
        max-height: 768px;
        border-radius: 0;
        object-fit: cover;    /* fill height, crop sides */
        object-position: center center;
    }
}





/* Subtle glowing animation */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 213, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 213, 255, 0.7);
    }
}

