/* ============================================
   STRANGER THINGS THEMED WEBSITE
   Dark, Retro 80s Aesthetic with Neon Accents
   ============================================ */

/* ============================================
   PERFORMANCE OPTIMIZATIONS - CRITICAL
   ============================================ */

/* Smooth scrolling with performance hints */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Prevent layout shifts and enable GPU compositing */
body {
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* GPU-accelerated elements - use transform and opacity only */
.challenge-bg-img,
.gallery-scroll-track,
.cursor,
.cursor-dot,
.particles,
.red-cloud,
.fire-reveal,
.school-bus,
.prize-card,
.member-card,
.member-photo,
.nav-links a,
.navbar,
.go-back-btn,
.register-btn,
.audio-control {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout style paint;
}

/* Sections with transform stability */
.challenge-page,
.prize-section,
.team-section,
.gallery-section,
.faq-section,
.contact-section,
.about-hero {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    isolation: isolate;
}

/* Optimized text rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .gallery-scroll-track {
        animation: none !important;
    }
}

/* Content visibility optimization for off-screen sections */
.challenge-page,
.team-section,
.faq-section,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 100vh;
}

/* Always visible sections */
.gallery-section,
.prize-section,
.hero-sequence,
.about-hero {
    content-visibility: visible;
}

/* GSAP Pin Spacer - ensure proper stacking */
.pin-spacer {
    z-index: inherit !important;
}

/* Prize section pinned state */
.prize-section.pin-spacer,
.prize-section[style*="position: fixed"] {
    z-index: 10 !important;
}

/* Optimized font rendering */
body {
    text-rendering: optimizeSpeed;
}

/* ============================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
    /* Reduce animation complexity on mobile */
    .red-cloud,
    .g-particle,
    .f-light,
    .gallery-particles span {
        animation-duration: 8s !important;
    }
    
    /* KEEP custom cursor visible on mobile for attraction */
    /* Cursor follows touch position */
    .cursor {
        display: block !important;
        width: 30px !important;
        height: 30px !important;
    }
    
    .cursor-dot {
        display: block !important;
    }
    
    /* Mobile GPU optimization - don't block GSAP transforms */
    .prize-card,
    .member-card {
        will-change: auto;
    }
    
    /* Reduce particle count visually */
    .particles {
        opacity: 0.5;
    }
}

/* Touch device optimizations - KEEP cursor visible */
@media (hover: none) and (pointer: coarse) {
    /* Cursor follows touch - keep visible */
    .cursor,
    .cursor-dot {
        display: block !important;
        pointer-events: none;
    }
    
    .magnetic {
        transform: none !important;
    }
}

/* ============================================
   CINEMATIC INTRO SYSTEM - Stranger Things Style
   ============================================ */

/* Lock scrolling during intro */
body.intro-active {
    overflow: hidden;
    height: 100vh;
}

body.scroll-zoom-active {
    overflow-y: auto;
}

/* ============================================
   CINEMATIC INTRO OVERLAY
   ============================================ */
.cinematic-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cinematic-intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Film Grain Effect */
.film-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 10;
    animation: grainShift 0.5s steps(10) infinite;
}

@keyframes grainShift {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    20% { transform: translate(1%, 1%); }
    30% { transform: translate(-1%, 1%); }
    40% { transform: translate(1%, -1%); }
    50% { transform: translate(-1%, 0); }
    60% { transform: translate(1%, 0); }
    70% { transform: translate(0, 1%); }
    80% { transform: translate(0, -1%); }
    90% { transform: translate(1%, 1%); }
}

/* Skip Intro Button */
.skip-intro {
    position: absolute;
    bottom: 50px;
    right: 50px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Cinzel', Georgia, serif;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInSkip 1s ease 2s forwards;
}

.skip-intro:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: #e50914;
    color: #fff;
}

@keyframes fadeInSkip {
    to { opacity: 1; }
}

/* Intro Content Wrapper */
.intro-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* CSI PRESENTS Text */
.csi-presents {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(14px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.csi-presents.visible {
    animation: csiReveal 1.5s ease forwards;
}

@keyframes csiReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 15px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 8px;
    }
}

/* STRANGER TECH Title - Letter by Letter */
.stranger-tech-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(60px, 12vw, 150px);
    font-weight: 700;
    line-height: 1;
}

.st-letter {
    display: inline-block;
    color: #e50914;
    opacity: 0;
    filter: blur(20px);
    text-shadow: 
        0 0 10px #e50914,
        0 0 20px #e50914,
        0 0 40px #e50914,
        0 0 80px rgba(229, 9, 20, 0.5);
    transform: scale(1.5);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.st-letter.revealed {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    animation: letterGlow 2s ease-in-out infinite;
}

.st-space {
    width: 30px;
}

@keyframes letterGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px #e50914,
            0 0 20px #e50914,
            0 0 40px #e50914,
            0 0 80px rgba(229, 9, 20, 0.5);
    }
    50% {
        text-shadow: 
            0 0 15px #e50914,
            0 0 30px #e50914,
            0 0 60px #e50914,
            0 0 100px rgba(229, 9, 20, 0.7);
    }
}

/* ============================================
   SCROLL ZOOM SECTION (GTA 6 Style)
   ============================================ */
.scroll-zoom-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
}

.scroll-zoom-section.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-zoom-section.completed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Scroll Zoom Background Image */
.scroll-zoom-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scroll-zoom-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1) saturate(1.2);
}

.scroll-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.5) 100%
    );
    pointer-events: none;
}

/* Character Silhouettes */
.character-silhouettes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.silhouette {
    position: absolute;
    width: 120px;
    height: 250px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(20, 0, 0, 0.7) 100%);
    opacity: 0;
    filter: blur(2px);
    transition: opacity 1.5s ease;
    clip-path: polygon(30% 0%, 70% 0%, 85% 100%, 15% 100%);
}

.silhouette::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(229, 9, 20, 0.1) 50%, transparent 100%);
    animation: silhouetteGlow 4s ease-in-out infinite;
}

@keyframes silhouetteGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.silhouette-eleven { left: 5%; bottom: 10%; }
.silhouette-mike { left: 12%; bottom: 8%; }
.silhouette-dustin { right: 5%; bottom: 10%; }
.silhouette-lucas { right: 12%; bottom: 8%; }
.silhouette-will { left: 20%; bottom: 5%; height: 200px; }
.silhouette-max { right: 20%; bottom: 5%; height: 220px; }
.silhouette-steve { left: 2%; bottom: 15%; height: 280px; }
.silhouette-nancy { right: 2%; bottom: 15%; height: 260px; }

/* Vecna Hint */
.vecna-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s ease;
}

.vecna-shadow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
    clip-path: polygon(35% 0%, 65% 0%, 80% 30%, 90% 100%, 10% 100%, 20% 30%);
    animation: vecnaBreathe 4s ease-in-out infinite;
}

@keyframes vecnaBreathe {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.02); }
}

.vecna-eyes {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
}

.vecna-eyes::before,
.vecna-eyes::after {
    content: '';
    width: 15px;
    height: 8px;
    background: radial-gradient(ellipse at center, #ff0000 0%, #8b0000 50%, transparent 70%);
    border-radius: 50%;
    animation: eyeGlow 3s ease-in-out infinite;
}

.vecna-eyes::after {
    animation-delay: 0.5s;
}

@keyframes eyeGlow {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

/* Scroll Title Wrapper */
.scroll-title-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform-origin: center center;
    will-change: transform;
}

.scroll-csi-presents {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(10px, 1.2vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-stranger-tech {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 700;
    color: #e50914;
    text-shadow: 
        0 0 10px #e50914,
        0 0 20px #e50914,
        0 0 40px #e50914,
        0 0 80px rgba(229, 9, 20, 0.5);
    line-height: 1;
    white-space: nowrap;
    will-change: transform;
}

.scroll-tagline {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(12px, 1.5vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.scroll-tagline.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MOBILE FALLBACK - COMMENTED OUT FOR DESKTOP VIEW ON MOBILE
   ============================================ */
/*
@media (max-width: 768px) {
    .cinematic-intro {
        background: #000;
    }
    
    .stranger-tech-title {
        font-size: clamp(40px, 10vw, 80px);
    }
    
    .st-space {
        width: 15px;
    }
    
    .skip-intro {
        bottom: 30px;
        right: 30px;
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .character-silhouettes {
        display: none;
    }
    
    .vecna-hint {
        display: none;
    }
    
    .scroll-stranger-tech {
        font-size: clamp(50px, 12vw, 100px);
    }
    
    .scroll-zoom-section {
        height: 100vh;
    }
}
*/

/* ============================================
   INTRO/LOADING SCREEN - EPIC STRANGER THINGS STYLE
   ============================================ */

.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-screen.fade-out {
    animation: introFadeOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes introFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
        visibility: hidden;
        pointer-events: none;
    }
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

/* Subtle gradient background */
.intro-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(229, 9, 20, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(229, 9, 20, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse 60% 40% at 70% 30%, rgba(229, 9, 20, 0.05) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 1s ease;
}

.intro-gradient.active {
    opacity: 1;
}

/* Animated lines background */
.intro-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 100px,
            rgba(229, 9, 20, 0.03) 100px,
            rgba(229, 9, 20, 0.03) 101px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.intro-lines.active {
    opacity: 0.3;
}

/* Floating Particles in the Void */
.intro-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.intro-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e50914;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px #e50914, 0 0 20px #e50914;
}

/* Flickering Christmas Lights */
.intro-lights {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    opacity: 0;
}

.intro-lights.active {
    opacity: 1;
}

.intro-light {
    position: absolute;
    left: var(--x);
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff3333;
    box-shadow: 0 0 20px #ff3333, 0 0 40px #ff3333, 0 0 60px #e50914;
    animation: flickerLight 0.1s infinite var(--delay);
    transform: translateY(-50%);
}

.intro-light:nth-child(2) {
    background: #33ff33;
    box-shadow: 0 0 20px #33ff33, 0 0 40px #33ff33;
}

.intro-light:nth-child(3) {
    background: #3333ff;
    box-shadow: 0 0 20px #3333ff, 0 0 40px #3333ff;
}

.intro-light:nth-child(4) {
    background: #ffff33;
    box-shadow: 0 0 20px #ffff33, 0 0 40px #ffff33;
}

.intro-light:nth-child(5) {
    background: #ff33ff;
    box-shadow: 0 0 20px #ff33ff, 0 0 40px #ff33ff;
}

.intro-light:nth-child(6) {
    background: #33ffff;
    box-shadow: 0 0 20px #33ffff, 0 0 40px #33ffff;
}

@keyframes flickerLight {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Portal Cracks - Upside Down Breaking Through */
.intro-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 4;
    opacity: 0;
}

.intro-portal.active {
    opacity: 1;
}

.portal-crack {
    position: absolute;
    background: linear-gradient(90deg, transparent, #e50914, #ff6666, #e50914, transparent);
    opacity: 0;
    filter: blur(1px);
    box-shadow: 0 0 30px #e50914, 0 0 60px #e50914;
}

.crack-1 {
    top: 50%;
    left: 10%;
    width: 80%;
    height: 3px;
    transform: rotate(-5deg);
}

.crack-2 {
    top: 40%;
    left: 20%;
    width: 60%;
    height: 2px;
    transform: rotate(8deg);
}

.crack-3 {
    top: 60%;
    left: 15%;
    width: 70%;
    height: 2px;
    transform: rotate(-3deg);
}

.crack-4 {
    top: 45%;
    left: 30%;
    width: 40%;
    height: 4px;
    transform: rotate(15deg);
}

.crack-5 {
    top: 55%;
    left: 25%;
    width: 50%;
    height: 2px;
    transform: rotate(-10deg);
}

/* Glitch Scanlines */
.intro-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
}

.intro-scanlines.active {
    opacity: 0.5;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(4px);
    }
}

.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-sequence {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Intro Steps */
.intro-step {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    z-index: 5;
}

/* CSI Text with Glitch Effect */
.step-csi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.csi-text {
    font-family: var(--stranger-font);
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 30px;
    text-transform: uppercase;
    position: relative;
}

.csi-text::before,
.csi-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.csi-text::before {
    color: #ff0000;
    animation: glitchText 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.csi-text::after {
    color: #00ffff;
    animation: glitchText 0.3s infinite reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.csi-text.glitch::before,
.csi-text.glitch::after {
    opacity: 0.8;
}

@keyframes glitchText {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 3px);
    }

    40% {
        transform: translate(-3px, -3px);
    }

    60% {
        transform: translate(3px, 3px);
    }

    80% {
        transform: translate(3px, -3px);
    }

    100% {
        transform: translate(0);
    }
}

.csi-underline {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e50914, transparent);
    box-shadow: 0 0 20px #e50914;
}

/* Presents Text */
.step-presents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.presents-text {
    font-family: var(--stranger-font);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 12px;
    text-transform: lowercase;
    overflow: hidden;
}

.presents-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.8), transparent);
}

/* Main Title - STRANGER TECH */
.step-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.title-reveal-mask {
    overflow: hidden;
    position: relative;
}

.stranger-word,
.tech-word {
    font-family: var(--stranger-font);
    font-size: 7rem;
    font-weight: 700;
    color: #ff1a1a;
    letter-spacing: 15px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 0 40px #e50914,
        0 0 80px #b30000,
        0 0 120px #800000;
    position: relative;
    display: inline-block;
}

.stranger-word::before,
.stranger-word::after,
.tech-word::before,
.tech-word::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.stranger-word::before,
.tech-word::before {
    color: #ff0000;
    text-shadow: none;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.stranger-word::after,
.tech-word::after {
    color: #00ffff;
    text-shadow: none;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.stranger-word.glitch::before,
.stranger-word.glitch::after,
.tech-word.glitch::before,
.tech-word.glitch::after {
    opacity: 0.6;
    animation: glitchText 0.15s infinite;
}

/* Intro Subtitle */
.intro-subtitle {
    font-family: var(--stranger-font);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 30px;
}

/* Loading Bar */
.intro-loader {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    opacity: 0;
    border-radius: 2px;
}

.intro-loader.active {
    opacity: 1;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #e50914, #ff3333, #e50914);
    border-radius: 2px;
    position: relative;
}

.loader-glow {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 23px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.5), transparent);
    filter: blur(8px);
    opacity: 0;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.intro-loader.active .loader-glow {
    opacity: 1;
}

@keyframes loaderPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* ============================================
   GO BACK BUTTON - STRANGER THINGS THEMED
   ============================================ */

.go-back-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(229, 9, 20, 0.6);
    border-radius: 8px;
    text-decoration: none;
    z-index: 1000;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 1;
    visibility: visible;
}

.go-back-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.go-back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.2), transparent);
    transition: left 0.5s ease;
}

.go-back-btn:hover::before {
    left: 100%;
}

.go-back-btn:hover {
    border-color: #e50914;
    box-shadow: 
        0 0 20px rgba(229, 9, 20, 0.5),
        0 0 40px rgba(229, 9, 20, 0.3),
        inset 0 0 20px rgba(229, 9, 20, 0.1);
    transform: translateX(5px);
}

.go-back-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.go-back-icon svg {
    width: 20px;
    height: 20px;
    stroke: #e50914;
    transition: all 0.3s ease;
}

.go-back-btn:hover .go-back-icon svg {
    stroke: #ff4444;
    filter: drop-shadow(0 0 5px rgba(229, 9, 20, 0.8));
    transform: translateX(-3px);
}

.go-back-text {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.go-back-btn:hover .go-back-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.8);
}

.go-back-glow {
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 0;
    background: #e50914;
    border-radius: 2px;
    transform: translateY(-50%);
    transition: height 0.3s ease;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.8);
}

.go-back-btn:hover .go-back-glow {
    height: 60%;
}

/* Christmas lights effect on hover */
.go-back-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, 
        #e50914 0%, #e50914 10%,
        transparent 10%, transparent 20%,
        #ffcc00 20%, #ffcc00 30%,
        transparent 30%, transparent 40%,
        #00ff00 40%, #00ff00 50%,
        transparent 50%, transparent 60%,
        #00d4ff 60%, #00d4ff 70%,
        transparent 70%, transparent 80%,
        #e50914 80%, #e50914 90%,
        transparent 90%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.go-back-btn:hover::after {
    opacity: 1;
    animation: christmasLights 1s linear infinite;
}

@keyframes christmasLights {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

/* DESKTOP VIEW ON MOBILE - Go back button mobile styles commented out
@media (max-width: 768px) {
    .go-back-btn {
        bottom: 20px;
        left: 20px;
        padding: 10px 15px;
        gap: 8px;
    }
    
    .go-back-text {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .go-back-icon {
        width: 20px;
        height: 20px;
    }
    
    .go-back-icon svg {
        width: 16px;
        height: 16px;
    }
}
*/

/* ============================================
   REGISTRATION BUTTON - STRANGER THINGS THEMED
   ============================================ */

.register-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(229, 9, 20, 0.8) 50%, rgba(139, 0, 0, 0.9) 100%);
    border: 3px solid #e50914;
    border-radius: 12px;
    text-decoration: none;
    z-index: 1000;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(229, 9, 20, 0.5),
        0 0 40px rgba(229, 9, 20, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    animation: registerPulse 2s ease-in-out infinite;
    opacity: 1;
    visibility: visible;
}

.register-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none;
}

@keyframes registerPulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(229, 9, 20, 0.5),
            0 0 40px rgba(229, 9, 20, 0.3),
            inset 0 0 30px rgba(0, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(229, 9, 20, 0.8),
            0 0 60px rgba(229, 9, 20, 0.5),
            0 0 100px rgba(229, 9, 20, 0.3),
            inset 0 0 30px rgba(0, 0, 0, 0.3);
    }
}

.register-btn:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: #ff4444;
    box-shadow: 
        0 0 40px rgba(229, 9, 20, 0.8),
        0 0 80px rgba(229, 9, 20, 0.5),
        0 0 120px rgba(229, 9, 20, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

/* Christmas lights at top */
.register-lights {
    position: absolute;
    top: -3px;
    left: 10%;
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.reg-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: regLightBlink 1.5s ease-in-out infinite;
}

.reg-light:nth-child(1) { background: #e50914; animation-delay: 0s; }
.reg-light:nth-child(2) { background: #ffcc00; animation-delay: 0.3s; }
.reg-light:nth-child(3) { background: #00ff00; animation-delay: 0.6s; }
.reg-light:nth-child(4) { background: #00d4ff; animation-delay: 0.9s; }
.reg-light:nth-child(5) { background: #e50914; animation-delay: 1.2s; }

@keyframes regLightBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px currentColor; }
    50% { opacity: 0.4; box-shadow: 0 0 5px currentColor; }
}

.register-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.register-icon {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(229, 9, 20, 0.8),
        0 0 40px rgba(229, 9, 20, 0.5);
    letter-spacing: 2px;
}

.register-text {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.register-btn:hover .register-text {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5);
}

.register-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.register-btn:hover .register-glow {
    opacity: 1;
    animation: glowPulse 1s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Portal effect behind button */
.register-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse, transparent 30%, rgba(229, 9, 20, 0.1) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: portalSpin 10s linear infinite;
    opacity: 0.5;
}

@keyframes portalSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Sweeping light effect */
.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.register-btn:hover::before {
    left: 100%;
}

/* DESKTOP VIEW ON MOBILE - Register button mobile styles commented out
@media (max-width: 768px) {
    .register-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }
    
    .register-icon {
        font-size: 18px;
    }
    
    .register-text {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .reg-light {
        width: 6px;
        height: 6px;
    }
}
*/

/* CSS Variables */
:root {
    --primary-red: #e50914;
    --dark-red: #8b0000;
    --neon-red: #ff0033;
    --neon-blue: #00d4ff;
    --neon-purple: #9d00ff;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-accent: #e50914;
    --glow-red: 0 0 20px rgba(229, 9, 20, 0.5);
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
    /* Stranger Things font - using Cinzel as reliable fallback */
    --stranger-font: 'Cinzel', Georgia, serif;
}

/* ============================================
   PREMIUM ANIMATIONS - MULTI-MILLION DOLLAR FEEL
   ============================================ */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #e50914, #ff3333, #e50914);
    z-index: 100000;
    box-shadow: 0 0 10px #e50914, 0 0 20px #e50914;
    transition: width 0.1s linear;
}

/* Magnetic Elements */
.magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Animate - starts hidden, animates after intro */
.hero-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Split Text Animation Styles */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.split-text.animated .char {
    opacity: 1;
    transform: translateY(0);
}

/* Button Shine Effect */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn-play:hover .btn-shine,
.btn-info:hover .btn-shine {
    left: 100%;
}

/* Hero Parallax Layers */
.hero-parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-parallax-layer.layer-1 {
    background: radial-gradient(ellipse at 30% 70%, rgba(229, 9, 20, 0.1) 0%, transparent 50%);
}

.hero-parallax-layer.layer-2 {
    background: radial-gradient(ellipse at 70% 30%, rgba(229, 9, 20, 0.08) 0%, transparent 50%);
}

/* 3D Tilt Effect for Cards */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
}

/* Stagger Animation Classes */
.stagger-item {
    opacity: 0;
    transform: translateY(40px);
}

.stagger-item.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Glow Hover Effect */
.glow-hover {
    position: relative;
    overflow: hidden;
}

.glow-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.glow-hover:hover::before {
    width: 300%;
    height: 300%;
}

/* Text Gradient Animation */
.gradient-text-animated {
    background: linear-gradient(90deg, #e50914, #ff6666, #e50914);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Smooth Section Transitions */
section {
    position: relative;
}

/* Navbar Hide/Show on Scroll */
.navbar {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

/* Premium Cursor Styles */
.cursor {
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: rgba(229, 9, 20, 0.5);
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

/* Image Reveal Animation */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal.revealed::after {
    transform: scaleX(0);
}

/* Floating Animation Enhancement */
@keyframes premiumFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(229, 9, 20, 0.6), 0 0 60px rgba(229, 9, 20, 0.3);
    }
}

/* Line Draw Animation */
.line-draw {
    position: relative;
}

.line-draw::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e50914, #ff3333);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.line-draw:hover::after,
.line-draw.active::after {
    width: 100%;
}

/* Smooth Opacity Transitions */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scale In Animation */
.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Blur In Animation */
.blur-in {
    animation: blurIn 0.8s ease forwards;
}

@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: auto;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--stranger-font);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
}

/* Red Clouds Background */
.red-clouds-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.red-cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: cloudDrift 30s ease-in-out infinite;
}

.red-cloud-1 {
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(120, 0, 0, 0.5) 0%, rgba(80, 0, 0, 0.25) 40%, transparent 70%);
    top: -5%;
    left: -15%;
    animation-delay: 0s;
    animation-duration: 40s;
}

.red-cloud-2 {
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(140, 15, 15, 0.45) 0%, rgba(100, 0, 0, 0.2) 40%, transparent 70%);
    top: 10%;
    right: -10%;
    animation-delay: -8s;
    animation-duration: 45s;
}

.red-cloud-3 {
    width: 900px;
    height: 450px;
    background: radial-gradient(ellipse, rgba(100, 0, 0, 0.4) 0%, rgba(70, 0, 0, 0.18) 40%, transparent 70%);
    top: 35%;
    left: 10%;
    animation-delay: -15s;
    animation-duration: 50s;
}

.red-cloud-4 {
    width: 750px;
    height: 380px;
    background: radial-gradient(ellipse, rgba(150, 5, 15, 0.4) 0%, rgba(120, 0, 0, 0.18) 40%, transparent 70%);
    top: 55%;
    right: 5%;
    animation-delay: -20s;
    animation-duration: 42s;
}

.red-cloud-5 {
    width: 650px;
    height: 320px;
    background: radial-gradient(ellipse, rgba(90, 0, 0, 0.45) 0%, rgba(60, 0, 0, 0.2) 40%, transparent 70%);
    bottom: 5%;
    left: -5%;
    animation-delay: -12s;
    animation-duration: 48s;
}

.red-cloud-6 {
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(130, 20, 20, 0.35) 0%, rgba(100, 8, 8, 0.15) 40%, transparent 70%);
    bottom: 20%;
    right: -12%;
    animation-delay: -18s;
    animation-duration: 38s;
}

@keyframes cloudDrift {

    0%,
    100% {
        transform: translateX(0) translateY(0) scale(1);
    }

    33% {
        transform: translateX(20px) translateY(-15px) scale(1.03);
    }

    66% {
        transform: translateX(-15px) translateY(10px) scale(0.97);
    }
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--primary-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
}

.cursor.hover {
    transform: scale(2);
    background: rgba(229, 9, 20, 0.1);
}

/* CRT Scanline Effect - Disabled for cleaner look */
body::before {
    display: none;
}

/* Vignette Effect - Disabled for cleaner look */
body::after {
    display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

/* Audio Control - Stranger Things Themed */
.audio-control {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid rgba(229, 9, 20, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.audio-control:hover {
    border-color: #e50914;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5), 0 0 40px rgba(229, 9, 20, 0.2);
    transform: scale(1.1);
}

.audio-icon-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Audio Bars - Animated equalizer */
.audio-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audio-control.playing .audio-bars {
    opacity: 1;
}

.audio-control.playing .audio-muted-icon {
    opacity: 0;
}

.bar {
    width: 4px;
    background: linear-gradient(to top, #e50914, #ff6b6b);
    border-radius: 2px;
    animation: none;
}

.audio-control.playing .bar {
    animation: audioBar 0.8s ease-in-out infinite;
}

.bar-1 { height: 8px; animation-delay: 0s; }
.bar-2 { height: 16px; animation-delay: 0.1s; }
.bar-3 { height: 12px; animation-delay: 0.2s; }
.bar-4 { height: 6px; animation-delay: 0.3s; }

@keyframes audioBar {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* Muted Icon */
.audio-muted-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.3s ease, color 0.3s ease;
}

.audio-control:hover .audio-muted-icon {
    color: #e50914;
}

.audio-muted-icon svg {
    width: 100%;
    height: 100%;
}

/* Pulse effect when playing */
.audio-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(229, 9, 20, 0.5);
    opacity: 0;
    animation: none;
}

.audio-control.playing .audio-pulse {
    animation: audioPulse 2s ease-out infinite;
}

@keyframes audioPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Glitch Overlay - Subtle effect */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.5;
}

/* Smooth transitions for all animated elements */
.hero-center-content,
.storm-clouds,
.red-glow,
.challenge-row,
.quote-content,
.quote-marks,
.main-quote,
.login-container,
.vecna-silhouette,
.login-form-container,
.sponsor-card,
.footer-content,
.section-header {
    will-change: transform, opacity;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    backdrop-filter: blur(5px);
    transition: background 0.4s ease;
    will-change: transform;
}

.netflix-logo {
    font-family: var(--stranger-font);
    font-size: 3rem;
    color: var(--primary-red);
    font-weight: bold;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.netflix-logo:hover {
    text-shadow: 0 0 30px rgba(229, 9, 20, 0.9), 0 0 60px rgba(229, 9, 20, 0.5);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--stranger-font);
    font-size: 0.9rem;
    letter-spacing: 3px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 8px 0;
    font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-search {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-search:hover {
    color: var(--primary-red);
}

.nav-login {
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff2a2a 100%);
    border: none;
    color: var(--text-primary);
    padding: 10px 28px;
    font-family: var(--stranger-font);
    font-size: 0.85rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.nav-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-login:hover {
    background: linear-gradient(135deg, #ff2a2a 0%, #ff4444 100%);
    box-shadow: 0 6px 25px rgba(229, 9, 20, 0.6), 0 0 40px rgba(229, 9, 20, 0.3);
    transform: translateY(-2px);
}

.nav-login:hover::before {
    left: 100%;
}

/* ============================================
   IMAGE SEQUENCE SCROLL SYSTEM
   ============================================ */

/* Hero Sequence Container */
.hero-sequence {
    position: relative;
    width: 100%;
    height: 400vh; /* Extended height for scroll animation */
    background: transparent;
}

.hero-sequence::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, transparent, #000);
    z-index: 100;
    pointer-events: none;
}

/* Loading Screen */
.sequence-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.sequence-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(14px, 2vw, 20px);
    color: #e50914;
    letter-spacing: 6px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.loader-bar-container {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #e50914, #ff4444);
    border-radius: 2px;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px #e50914;
}

.loader-percent {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

/* Sequence Canvas */
.sequence-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: #000;
    object-fit: cover;
}

/* Sequence Overlay */
.sequence-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    z-index: 5;
    pointer-events: none;
}

/* CSI Presents Text - Shows at start, fades on scroll */
.csi-presents-text {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 14px;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(200, 180, 160, 0.2);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.csi-presents-text.visible {
    opacity: 1;
    transform: scale(1);
    animation: csiSubtleGlow 4s ease-in-out infinite;
}

@keyframes csiSubtleGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(255, 255, 255, 0.2),
            0 0 40px rgba(200, 180, 160, 0.2);
        opacity: 0.9;
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(255, 255, 255, 0.3),
            0 0 50px rgba(200, 180, 160, 0.3);
        opacity: 1;
    }
}


/* Scroll Hint */
.sequence-scroll-hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.sequence-scroll-hint.visible {
    opacity: 1;
    animation: bounceHint 2s ease-in-out infinite;
}

@keyframes bounceHint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.sequence-scroll-hint .scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.sequence-scroll-hint .scroll-wheel {
    width: 4px;
    height: 10px;
    background: #e50914;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.8);
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

.sequence-scroll-hint span {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

/* Scroll line indicator */
.sequence-scroll-hint::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(229, 9, 20, 0.8), transparent);
    margin-top: 5px;
    animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { height: 60px; opacity: 1; }
    50% { height: 40px; opacity: 0.5; }
}

/* DESKTOP VIEW ON MOBILE - Hero section mobile styles commented out
@media (max-width: 768px) {
    .hero-sequence {
        height: 200vh;
    }
    
    .sequence-canvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
    
    .sequence-overlay {
        padding-top: 15vh;
    }
    
    .csi-presents-text {
        font-size: clamp(12px, 3vw, 18px);
        letter-spacing: 6px;
    }
    
    .stranger-tech-scroll {
        font-size: clamp(35px, 8vw, 60px);
    }
    
    .st-scroll-space {
        width: 15px;
    }
    
    .loader-bar-container {
        width: 200px;
    }
    
    .sequence-scroll-hint {
        bottom: 100px;
    }
    
    .sequence-scroll-hint span {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .sequence-scroll-hint::after {
        height: 40px;
    }
}
*/

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-sequence {
        height: 350vh;
    }
    
    .csi-presents-text {
        font-size: clamp(16px, 2vw, 24px);
        letter-spacing: 10px;
    }
}

/* Laptop and Desktop */
@media (min-width: 1025px) {
    .hero-sequence {
        height: 400vh;
    }
    
    .sequence-canvas {
        width: 100vw;
        height: 100vh;
    }
    
    .sequence-overlay {
        justify-content: center;
    }
    
    .csi-presents-text {
        font-size: clamp(20px, 2.5vw, 32px);
        letter-spacing: 14px;
    }
}

/* Hero Section - Cinematic Netflix Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Background Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
    /* Smooth video playback optimization */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: auto;
}

/* Hero Background Image */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Dark overlay for video to ensure content visibility */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.15) 40%,
            rgba(0, 0, 0, 0.2) 60%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Dramatic Storm Clouds */
.storm-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 150% 80% at 50% 0%, rgba(120, 0, 0, 0.6) 0%, transparent 65%),
        radial-gradient(ellipse 120% 70% at 30% 10%, rgba(160, 0, 0, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 120% 70% at 70% 15%, rgba(120, 0, 0, 0.5) 0%, transparent 55%),
        radial-gradient(ellipse 100% 60% at 20% 30%, rgba(180, 30, 30, 0.3) 0%, transparent 45%),
        radial-gradient(ellipse 100% 60% at 80% 35%, rgba(140, 10, 10, 0.4) 0%, transparent 45%),
        radial-gradient(ellipse 140% 100% at 50% 40%, rgba(100, 0, 0, 0.3) 0%, transparent 75%);
    animation: stormPulse 8s ease-in-out infinite;
    filter: contrast(1.15) saturate(1.3);
    z-index: 2;
}

@keyframes stormPulse {

    0%,
    100% {
        opacity: 0.9;
        filter: contrast(1.2) saturate(1.3) brightness(0.9);
    }

    50% {
        opacity: 1;
        filter: contrast(1.3) saturate(1.5) brightness(1.1);
    }
}

/* Lightning Effects - Realistic Forked Lightning */
.lightning-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

/* SVG Lightning Bolts */
.lightning-svg {
    position: absolute;
    width: 320px;
    height: 85%;
    opacity: 0;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 15px rgba(200, 220, 255, 0.95)) drop-shadow(0 0 30px rgba(150, 180, 255, 0.8)) drop-shadow(0 0 60px rgba(100, 150, 255, 0.6)) drop-shadow(0 0 100px rgba(80, 120, 255, 0.4));
}

.lightning-path {
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lightning-path.main-bolt {
    stroke-width: 3.5;
    stroke: #fff;
}

.lightning-path.thin-bolt {
    stroke-width: 2;
    stroke: rgba(255, 255, 255, 0.9);
}

.lightning-path.branch-1,
.lightning-path.branch-2,
.lightning-path.branch-3,
.lightning-path.branch-4 {
    stroke-width: 1.5;
    stroke: rgba(220, 235, 255, 0.95);
}

/* Lightning positions */
.lightning-svg.lightning-1 {
    left: 8%;
    top: -5%;
    transform: rotate(-6deg) scaleY(1.1);
}

.lightning-svg.lightning-2 {
    left: 32%;
    top: -3%;
    transform: rotate(4deg) scaleY(1.05);
}

.lightning-svg.lightning-3 {
    right: 25%;
    top: -4%;
    transform: rotate(8deg) scaleY(1.08);
}

.lightning-svg.lightning-4 {
    right: 5%;
    top: -2%;
    transform: rotate(-3deg) scaleY(1.12);
}

.lightning-svg.lightning-5 {
    left: 55%;
    top: -6%;
    transform: rotate(2deg) scaleY(1.05);
    width: 250px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 12px rgba(200, 220, 255, 0.8)) drop-shadow(0 0 25px rgba(150, 180, 255, 0.6));
}

/* Screen flash effect */
.lightning-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.5) 0%, rgba(200, 220, 255, 0.2) 30%, transparent 60%);
    opacity: 0;
    pointer-events: none;
}

/* Intense flash for close strikes */
.lightning-flash-intense {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    pointer-events: none;
}

/* Red Atmospheric Glow */
.red-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background:
        radial-gradient(ellipse 130% 90% at 50% 100%, rgba(200, 0, 0, 0.5) 0%, transparent 65%),
        radial-gradient(ellipse 110% 70% at 50% 85%, rgba(229, 9, 20, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 90% 50% at 30% 95%, rgba(180, 0, 0, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse 90% 50% at 70% 95%, rgba(180, 0, 0, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse 150% 100% at 50% 120%, rgba(150, 0, 0, 0.3) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 4;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }
}

/* Ground Silhouette */
.ground-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12%;
    background: linear-gradient(to top, #000 0%, #000 30%, transparent 100%);
    z-index: 5;
}

/* Hero Center Content */
.hero-center-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title backdrop for better visibility */
.hero-center-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Series Badge */
.series-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.series-badge .netflix-n {
    font-family: var(--stranger-font);
    font-size: 1.8rem;
    color: var(--primary-red);
    font-weight: bold;
}

.series-text {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
}

/* Stranger Things Title */
.stranger-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.title-main {
    font-family: var(--stranger-font);
    font-size: 8rem;
    letter-spacing: 12px;
    color: #ff1a1a;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 0 40px #e50914,
        0 0 80px #b30000,
        0 0 120px #800000;
    line-height: 0.85;
    animation: titleFlicker 5s ease-in-out infinite;
    position: relative;
}

.title-main::before {
    content: 'STRANGER';
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    text-shadow:
        -3px -3px 0 rgba(255, 0, 50, 0.15),
        3px 3px 0 rgba(255, 0, 50, 0.15);
    animation: glitchTitle 10s infinite;
    z-index: -1;
}

.title-sub {
    font-family: var(--stranger-font);
    font-size: 8rem;
    letter-spacing: 12px;
    color: #ff1a1a;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 0 40px #e50914,
        0 0 80px #b30000,
        0 0 120px #800000;
    line-height: 0.85;
    margin-top: 10px;
    animation: titleFlicker 5s ease-in-out infinite 0.5s;
}

@keyframes titleFlicker {

    0%,
    100% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    93% {
        opacity: 0.8;
    }

    94% {
        opacity: 1;
    }

    95% {
        opacity: 0.9;
    }

    96% {
        opacity: 1;
    }
}

@keyframes glitchTitle {

    0%,
    95%,
    100% {
        transform: translate(0);
        opacity: 0;
    }

    96% {
        transform: translate(-4px, 2px);
        opacity: 0.7;
    }

    97% {
        transform: translate(4px, -2px);
        opacity: 0.7;
    }

    98% {
        transform: translate(-2px, -1px);
        opacity: 0.7;
    }

    99% {
        transform: translate(2px, 1px);
        opacity: 0.7;
    }
}

/* Hero Tagline */
.hero-tagline {
    font-family: var(--stranger-font);
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 6px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Hero Buttons - Netflix Style */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: none;
    color: #000;
    padding: 14px 36px;
    font-family: var(--stranger-font);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-play:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.5), 0 0 20px rgba(229, 9, 20, 0.3);
}

.btn-play:hover::before {
    left: 100%;
}

.btn-play:active {
    transform: scale(1.02) translateY(0);
}

.play-icon {
    font-size: 1.1rem;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.btn-play:hover .play-icon {
    transform: scale(1.2);
}

.btn-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(109, 109, 110, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 36px;
    font-family: var(--stranger-font);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-info:hover {
    background: rgba(109, 109, 110, 0.95);
    border-color: rgba(229, 9, 20, 0.5);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 9, 20, 0.2);
}

.btn-info:active {
    transform: scale(1.02) translateY(0);
}

.info-icon {
    font-size: 1.1rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.btn-info:hover .info-icon {
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Rounds/Challenges Section */
.rounds-section {
    padding: 80px 0 120px 0;
    margin-top: 0;
    background: transparent;
    position: relative;
    overflow: visible;
    z-index: 10;
}

/* ============================================
   SMOKEY WRAPPER - Spans from Rounds to Footer
   ============================================ */

.smokey-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Hell WebGL Background */
.smokey-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: brightness(0.7) saturate(1.2);
}

.smokey-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Subtle red glow overlay */
.rounds-section::before {
    display: none;
}

/* Remove the after pseudo-element */
.rounds-section::after {
    display: none;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-10px) translateX(-5px);
    }

    75% {
        transform: translateY(-30px) translateX(15px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Background Effects Container */
.rounds-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* 3D Background Layers */
.rounds-3d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-style: preserve-3d;
    perspective: 2000px;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Deep layer - furthest back */
.bg-layer-deep {
    transform: translateZ(-200px) scale(1.2);
}

/* Mid layer */
.bg-layer-mid {
    transform: translateZ(-100px) scale(1.1);
}

/* Front layer */
.bg-layer-front {
    transform: translateZ(-50px) scale(1.05);
}

/* Depth Orbs - Glowing spheres in the background */
.depth-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            rgba(229, 9, 20, 0.5) 0%,
            rgba(180, 0, 30, 0.3) 30%,
            rgba(120, 0, 20, 0.15) 60%,
            transparent 100%);
    filter: blur(3px);
    animation: orbFloat 20s ease-in-out infinite;
}

.depth-orb.orb-1 {
    width: 500px;
    height: 500px;
    top: 5%;
    left: -8%;
    animation-delay: 0s;
    opacity: 0.5;
}

.depth-orb.orb-2 {
    width: 400px;
    height: 400px;
    top: 35%;
    right: -5%;
    animation-delay: -7s;
    opacity: 0.45;
}

.depth-orb.orb-3 {
    width: 350px;
    height: 350px;
    bottom: 15%;
    left: 15%;
    animation-delay: -14s;
    opacity: 0.4;
}

.depth-orb.orb-4 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 20%;
    animation-delay: -10s;
    opacity: 0.35;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    25% {
        transform: translateY(-30px) translateX(20px) scale(1.05);
    }

    50% {
        transform: translateY(-15px) translateX(-15px) scale(0.95);
    }

    75% {
        transform: translateY(-40px) translateX(10px) scale(1.02);
    }
}

/* Floating Rings - 3D rotating rings */
.floating-ring {
    position: absolute;
    border: 2px solid rgba(229, 9, 20, 0.2);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: ringRotate 30s linear infinite;
}

.floating-ring.ring-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 50%;
    margin-left: -250px;
    border-width: 1px;
    box-shadow:
        0 0 30px rgba(229, 9, 20, 0.1),
        inset 0 0 30px rgba(229, 9, 20, 0.05);
    animation-duration: 40s;
}

.floating-ring.ring-2 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    right: 10%;
    border-width: 1px;
    box-shadow:
        0 0 20px rgba(229, 9, 20, 0.15),
        inset 0 0 20px rgba(229, 9, 20, 0.05);
    animation-duration: 25s;
    animation-direction: reverse;
}

@keyframes ringRotate {
    0% {
        transform: rotateX(70deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(70deg) rotateZ(360deg);
    }
}

/* Portal Glow - Central glowing portal effect */
.portal-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(ellipse at center,
            rgba(229, 9, 20, 0.12) 0%,
            rgba(180, 0, 30, 0.06) 25%,
            rgba(120, 0, 20, 0.03) 45%,
            transparent 60%);
    border-radius: 50%;
    animation: portalPulse 6s ease-in-out infinite;
    filter: blur(50px);
}

@keyframes portalPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* Energy Lines - Streaking light effects */
.energy-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(229, 9, 20, 0.6) 20%,
            rgba(255, 100, 100, 0.8) 50%,
            rgba(229, 9, 20, 0.6) 80%,
            transparent 100%);
    filter: blur(1px);
    opacity: 0;
    animation: energyStreak 8s ease-in-out infinite;
}

.energy-line.line-1 {
    width: 300px;
    top: 20%;
    left: -300px;
    animation-delay: 0s;
    transform: rotate(-5deg);
}

.energy-line.line-2 {
    width: 250px;
    top: 50%;
    right: -250px;
    animation-delay: 3s;
    transform: rotate(3deg);
}

.energy-line.line-3 {
    width: 200px;
    bottom: 30%;
    left: -200px;
    animation-delay: 6s;
    transform: rotate(-2deg);
}

@keyframes energyStreak {
    0% {
        opacity: 0;
        transform: translateX(0) rotate(-5deg);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 300px)) rotate(-5deg);
    }
}

/* Floating Spores - Upside Down particles */
.floating-spore {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.8) 0%, rgba(229, 9, 20, 0) 70%);
    border-radius: 50%;
    box-shadow:
        0 0 10px rgba(229, 9, 20, 0.6),
        0 0 20px rgba(229, 9, 20, 0.4),
        0 0 40px rgba(229, 9, 20, 0.2);
    animation: floatSpore 15s ease-in-out infinite;
}

.floating-spore.spore-1 {
    top: 10%;
    left: 5%;
    width: 6px;
    height: 6px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-spore.spore-2 {
    top: 30%;
    left: 15%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.floating-spore.spore-3 {
    top: 50%;
    right: 10%;
    width: 5px;
    height: 5px;
    animation-delay: 4s;
    animation-duration: 16s;
}

.floating-spore.spore-4 {
    top: 70%;
    right: 20%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.floating-spore.spore-5 {
    top: 20%;
    right: 5%;
    width: 3px;
    height: 3px;
    animation-delay: 3s;
    animation-duration: 12s;
}

.floating-spore.spore-6 {
    top: 80%;
    left: 25%;
    width: 5px;
    height: 5px;
    animation-delay: 5s;
    animation-duration: 17s;
}

@keyframes floatSpore {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-100px) translateX(30px) scale(1.2);
        opacity: 1;
    }

    50% {
        transform: translateY(-50px) translateX(-20px) scale(0.8);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-150px) translateX(50px) scale(1.1);
        opacity: 0.8;
    }
}

/* Red Pulse Effects - Breathing glow */
.red-pulse {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

.red-pulse.pulse-1 {
    width: 600px;
    height: 600px;
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.red-pulse.pulse-2 {
    width: 500px;
    height: 500px;
    bottom: 10%;
    right: -5%;
    animation-delay: 4s;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

/* Upside Down Vines Effect */
.upside-down-vines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        /* Hanging vine silhouettes from top */
        linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 3%),
        radial-gradient(ellipse 2px 80px at 8% 0%, rgba(20, 5, 10, 0.6) 0%, transparent 100%),
        radial-gradient(ellipse 3px 120px at 22% 0%, rgba(20, 5, 10, 0.5) 0%, transparent 100%),
        radial-gradient(ellipse 2px 60px at 35% 0%, rgba(20, 5, 10, 0.4) 0%, transparent 100%),
        radial-gradient(ellipse 2px 100px at 65% 0%, rgba(20, 5, 10, 0.5) 0%, transparent 100%),
        radial-gradient(ellipse 3px 90px at 78% 0%, rgba(20, 5, 10, 0.6) 0%, transparent 100%),
        radial-gradient(ellipse 2px 70px at 92% 0%, rgba(20, 5, 10, 0.4) 0%, transparent 100%);
    opacity: 0.7;
    animation: swayVines 10s ease-in-out infinite;
}

@keyframes swayVines {

    0%,
    100% {
        transform: skewX(0deg);
    }

    25% {
        transform: skewX(1deg);
    }

    75% {
        transform: skewX(-1deg);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 50;
    padding-top: 20px;
    padding-bottom: 20px;
    background: transparent;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: rgba(229, 9, 20, 0.8);
    margin-bottom: 15px;
    padding: 0;
    border: none;
    background: transparent;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    font-weight: 500;
}

.section-title {
    font-family: var(--stranger-font);
    font-size: 5rem;
    letter-spacing: 10px;
    margin-bottom: 20px;
    color: #ff1a1a;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 0 40px #e50914,
        0 0 80px #b30000;
}

.section-subtitle {
    font-family: var(--stranger-font);
    font-size: 1.1rem;
    color: #bbbbbb;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Challenges Container */
.challenges-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    perspective: 1500px;
    perspective-origin: 50% 50%;
    position: relative;
    z-index: 5;
    padding-top: 40px;
}

/* Challenge Row */
.challenge-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
    position: relative;
    max-width: 1100px;
    will-change: transform, opacity;
    z-index: 5;
    transition: z-index 0s;
}

.challenge-row:hover {
    z-index: 100;
}

.challenge-row:last-child {
    margin-bottom: 30px;
}

/* LEFT - Content on left, image on RIGHT */
.challenge-row.left {
    flex-direction: row;
    margin-right: auto;
    margin-left: 60px;
}

/* RIGHT - Content on right, image on LEFT */
.challenge-row.right {
    flex-direction: row-reverse;
    margin-left: auto;
    margin-right: 60px;
}

/* Challenge Image */
.challenge-image {
    flex: 0 0 600px;
    height: 600px;
    position: relative;
    will-change: transform, opacity;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
    background: transparent;
    /* Ensure crisp rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 10, 10, 0.9) 0%, rgba(40, 10, 10, 0.8) 100%);
    border: 1px solid rgba(229, 9, 20, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.5s ease;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 40%, rgba(229, 9, 20, 0.1) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.placeholder-text {
    font-family: var(--stranger-font);
    font-size: 1.8rem;
    letter-spacing: 6px;
    color: rgba(229, 9, 20, 0.5);
    position: absolute;
    z-index: 0;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

/* Floating Image Container */
.floating-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    background: transparent;
}

.challenge-img.floating-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    /* GSAP handles the animation */
    border: none;
    border-radius: 0;
    background: transparent;
    /* Subtle shadow for depth */
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(229, 9, 20, 0.35));
    transition: filter 0.5s ease;
    /* Scale up the image */
    transform-origin: center center;
    will-change: transform, filter;
    /* High resolution and clarity settings */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.challenge-img.floating-img:hover {
    filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 60px rgba(229, 9, 20, 0.5));
}

@keyframes floatingImage {

    0%,
    100% {
        transform: translateY(0) rotateX(2deg) rotateY(-2deg);
    }

    25% {
        transform: translateY(-15px) rotateX(-1deg) rotateY(1deg);
    }

    50% {
        transform: translateY(-8px) rotateX(1deg) rotateY(2deg);
    }

    75% {
        transform: translateY(-20px) rotateX(-2deg) rotateY(-1deg);
    }
}

/* Floating Shadow - appears below the floating image */
.floating-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 15px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatingShadow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatingShadow {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    25% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: translateX(-50%) scale(0.85);
        opacity: 0.4;
    }

    75% {
        transform: translateX(-50%) scale(0.75);
        opacity: 0.25;
    }
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border: none;
}

.challenge-row:hover .image-glow {
    opacity: 0.8;
}

/* Challenge Details - Floating Style */
.challenge-details {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    position: relative;
    z-index: 2;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.challenge-number {
    font-family: var(--stranger-font);
    font-size: 5rem;
    color: rgba(229, 9, 20, 0.15);
    position: relative;
    display: block;
    line-height: 1;
    margin-bottom: 15px;
    will-change: transform, opacity;
    text-shadow: 0 0 30px rgba(229, 9, 20, 0.3);
    letter-spacing: 8px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.challenge-title {
    font-family: var(--stranger-font);
    font-size: 3rem;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.3), 0 2px 4px rgba(0, 0, 0, 0.8);
    will-change: transform, color, clip-path;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.challenge-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.challenge-tags span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #ff4444;
    padding: 6px 14px;
    border: 1px solid rgba(229, 9, 20, 0.6);
    background: rgba(229, 9, 20, 0.2);
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.challenge-tags span:hover {
    background: rgba(229, 9, 20, 0.4);
    transform: translateY(-2px);
}

.challenge-description {
    font-family: var(--stranger-font);
    font-size: 1.15rem;
    line-height: 2;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 500px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* Challenge Meta */
.challenge-meta {
    display: flex;
    gap: 35px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #aaaaaa;
}

.meta-value {
    font-family: var(--stranger-font);
    font-size: 0.9rem;
    color: #ff5555;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

/* ============================================
   PRIZE POOL SECTION - PINNED SCROLL
   Section pins while bus moves and prizes reveal
   ============================================ */

.prize-section {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    z-index: 10;
    min-height: auto;
    padding: 60px 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.prize-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #0a0a0a, transparent);
    z-index: 1;
    pointer-events: none;
}

.prize-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    z-index: 1;
    pointer-events: none;
}

.prize-scroll-container {
    position: relative;
}

.prize-sticky-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 60px 40px;
    overflow: visible;
    background: #0a0a0a;
    position: relative;
    min-height: auto;
}

.prize-section .section-header {
    margin-bottom: 20px;
    text-align: center;
    padding-top: 10px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: relative;
    z-index: 10;
}

/* Prize Pool Title - Large and visible */
.prize-section .section-title {
    font-family: var(--stranger-font);
    font-size: 3rem;
    color: #e50914;
    text-shadow:
        0 0 10px #e50914,
        0 0 20px #e50914,
        0 0 40px rgba(229, 9, 20, 0.8),
        0 0 80px rgba(229, 9, 20, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.9);
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.prize-section .section-subtitle {
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 4px 15px rgba(0, 0, 0, 0.7);
}

.prize-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

/* Cycling Track */
.cycling-track {
    position: relative;
    height: 80px;
    margin-bottom: 25px;
    overflow: visible;
}

.road-line {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
}

.road-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 30px,
            rgba(255, 255, 255, 0.35) 30px,
            rgba(255, 255, 255, 0.35) 60px);
}

.road-trees {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 1.8rem;
    opacity: 0.25;
    pointer-events: none;
}

/* School Bus Group - Scroll Controlled */
.school-bus-group {
    position: absolute;
    bottom: 25px;
    left: 0;
    transform: translateX(-200px);
    will-change: transform;
}

/* Stranger Things School Bus */
.school-bus {
    position: relative;
    width: 180px;
    height: 70px;
}

.bus-body {
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 180px;
    height: 50px;
    background: linear-gradient(180deg, #f5c518 0%, #e5b508 50%, #d4a500 100%);
    border-radius: 8px 8px 4px 4px;
    border: 2px solid #333;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.bus-roof {
    position: absolute;
    top: -8px;
    left: 10px;
    right: 10px;
    height: 10px;
    background: linear-gradient(180deg, #f5c518 0%, #e5b508 100%);
    border-radius: 6px 6px 0 0;
    border: 2px solid #333;
    border-bottom: none;
}

.bus-windows {
    position: absolute;
    top: 8px;
    left: 15px;
    right: 25px;
    display: flex;
    gap: 8px;
}

.bus-window {
    width: 28px;
    height: 20px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #333;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.bus-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.window-silhouette {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 12px;
    background: #0a0a0a;
    border-radius: 50% 50% 0 0;
}

.window-silhouette.driver {
    width: 12px;
    height: 14px;
}

.driver-window {
    width: 32px;
}

.bus-stripe {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 6px;
    background: #1a1a1a;
}

.bus-text {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--stranger-font);
    font-size: 8px;
    letter-spacing: 2px;
    color: #1a1a1a;
    font-weight: bold;
}

.bus-door {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 18px;
    height: 28px;
    background: linear-gradient(180deg, #d4a500 0%, #c49500 100%);
    border: 2px solid #333;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

.bus-door::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 3px;
    right: 3px;
    height: 12px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #333;
    border-radius: 2px;
}

.bus-headlights {
    position: absolute;
    bottom: 12px;
    right: -2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.headlight {
    width: 8px;
    height: 6px;
    background: #ffffcc;
    border-radius: 2px;
    box-shadow: 0 0 10px #ffffcc, 0 0 20px rgba(255, 255, 200, 0.5);
    animation: headlightGlow 2s ease-in-out infinite;
}

@keyframes headlightGlow {

    0%,
    100% {
        opacity: 0.8;
        box-shadow: 0 0 10px #ffffcc, 0 0 20px rgba(255, 255, 200, 0.5);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 15px #ffffcc, 0 0 30px rgba(255, 255, 200, 0.7);
    }
}

/* Bus Wheels */
.bus-wheels {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.bus-wheel {
    position: absolute;
    bottom: 0;
    width: 22px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 50%;
    border: 3px solid #333;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.wheel-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    border: 2px solid #444;
}

.front-bus-wheel {
    right: 15px;
}

.back-bus-wheel {
    left: 15px;
}

.school-bus-group.moving .bus-wheel {
    animation: busWheelSpin 0.3s linear infinite;
}

@keyframes busWheelSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Bus Exhaust */
.bus-exhaust {
    position: absolute;
    bottom: 8px;
    left: -5px;
}

.exhaust-puff {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(150, 150, 150, 0.6);
    border-radius: 50%;
    animation: exhaustPuff 1s ease-out infinite;
}

.puff-1 {
    animation-delay: 0s;
}

.puff-2 {
    animation-delay: 0.3s;
}

.puff-3 {
    animation-delay: 0.6s;
}

@keyframes exhaustPuff {
    0% {
        opacity: 0.6;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-30px) scale(2);
    }
}

/* Prize Cards */
.prizes-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    perspective: 1000px;
    margin-top: 15px;
    min-height: 280px; /* Reduced height */
}

.prize-card {
    background: linear-gradient(135deg, rgba(20, 10, 15, 0.85) 0%, rgba(40, 20, 25, 0.8) 100%);
    border: 2px solid rgba(229, 9, 20, 0.3);
    border-radius: 8px;
    padding: 20px 30px;
    text-align: center;
    position: relative;
    /* Initial state - GSAP handles the animation on desktop */
    opacity: 0;
    visibility: visible;
    transform: translateY(60px) scale(0.9);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}

/* GSAP handles the reveal animation via ScrollTrigger */

/* Prize card hover effect */
.prize-card:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: rgba(229, 9, 20, 0.8);
    box-shadow: 0 20px 60px rgba(229, 9, 20, 0.4), 0 0 30px rgba(229, 9, 20, 0.2);
}

/* Prize 1 - Champion (Center, Largest) */
.prize-card.prize-1 {
    padding: 35px 45px;
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(40, 30, 10, 0.85) 0%, rgba(60, 40, 15, 0.8) 100%);
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.15);
}

.prize-1 .prize-glow {
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 12px;
    z-index: -1;
    opacity: 1;
    animation: prizeGlow 2s ease-in-out infinite;
}

@keyframes prizeGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.prize-1:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 20px 70px rgba(255, 215, 0, 0.3);
}

/* Prize 2 - Silver */
.prize-2 {
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(192, 192, 192, 0.1);
}

.prize-2:hover {
    border-color: rgba(192, 192, 192, 0.7);
    box-shadow: 0 15px 50px rgba(192, 192, 192, 0.2);
}

/* Prize 3 - Bronze */
.prize-3 {
    border-color: rgba(205, 127, 50, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(205, 127, 50, 0.1);
}

.prize-3:hover {
    border-color: rgba(205, 127, 50, 0.7);
    box-shadow: 0 15px 50px rgba(205, 127, 50, 0.2);
}

.prize-rank {
    font-family: var(--stranger-font);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
    text-shadow:
        0 0 8px rgba(229, 9, 20, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.prize-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

.prize-1 .prize-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.prize-amount {
    font-family: var(--stranger-font);
    font-size: 1.8rem;
    color: #ff1a1a;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 2px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 6px;
}

.prize-1 .prize-amount {
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow:
        0 0 5px #ffd700,
        0 0 10px #ffd700,
        0 0 25px #ffaa00,
        0 2px 10px rgba(0, 0, 0, 0.9);
}

.prize-label {
    font-family: var(--stranger-font);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow:
        0 0 8px rgba(229, 9, 20, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.prize-1 .prize-label {
    color: rgba(255, 215, 0, 0.8);
    text-shadow:
        0 0 8px rgba(255, 215, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.9);
}

/* ============================================
   STRANGER THINGS THEMED PRIZE ELEMENTS
   ============================================ */

/* Christmas Lights on Cards */
.prize-lights {
    position: absolute;
    top: -8px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-around;
    z-index: 5;
}

.prize-lights .light {
    width: 12px;
    height: 16px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: lightFlicker 2s ease-in-out infinite;
}

.prize-lights .light::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #333;
    border-radius: 2px 2px 0 0;
}

.prize-lights .light-1 {
    background: #ff3333;
    box-shadow: 0 0 15px #ff3333, 0 0 30px #ff3333;
    animation-delay: 0s;
}

.prize-lights .light-2 {
    background: #33ff33;
    box-shadow: 0 0 15px #33ff33, 0 0 30px #33ff33;
    animation-delay: 0.3s;
}

.prize-lights .light-3 {
    background: #3333ff;
    box-shadow: 0 0 15px #3333ff, 0 0 30px #3333ff;
    animation-delay: 0.6s;
}

.prize-lights .light-4 {
    background: #ffff33;
    box-shadow: 0 0 15px #ffff33, 0 0 30px #ffff33;
    animation-delay: 0.9s;
}

.prize-lights .light-5 {
    background: #ff33ff;
    box-shadow: 0 0 15px #ff33ff, 0 0 30px #ff33ff;
    animation-delay: 1.2s;
}

.champion-lights .light {
    width: 14px;
    height: 18px;
}

@keyframes lightFlicker {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.6;
        filter: brightness(0.7);
    }

    52% {
        opacity: 1;
        filter: brightness(1.2);
    }

    54% {
        opacity: 0.8;
        filter: brightness(0.9);
    }
}

/* Stranger Things Icon Container */
.prize-icon-st {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.prize-1 .prize-icon-st {
    height: 100px;
}

/* Eggo Waffle (Bronze) */
.eggo-waffle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4a574 0%, #c4956a 50%, #b8895e 100%);
    border-radius: 50%;
    position: relative;
    box-shadow:
        inset 0 -5px 15px rgba(0, 0, 0, 0.3),
        0 5px 20px rgba(205, 127, 50, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.waffle-grid {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(139, 90, 43, 0.4) 8px, rgba(139, 90, 43, 0.4) 9px),
        repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(139, 90, 43, 0.4) 8px, rgba(139, 90, 43, 0.4) 9px);
    border-radius: 50%;
}

.eggo-text {
    font-family: var(--stranger-font);
    font-size: 0.9rem;
    color: rgba(139, 90, 43, 0.8);
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Portal Icon (Champion) */
.portal-icon {
    width: 90px;
    height: 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    animation: portalRotate 4s linear infinite;
}

.portal-ring.ring-1 {
    width: 90px;
    height: 90px;
    border-color: rgba(229, 9, 20, 0.8);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.6), inset 0 0 20px rgba(229, 9, 20, 0.3);
    animation-duration: 6s;
}

.portal-ring.ring-2 {
    width: 70px;
    height: 70px;
    border-color: rgba(255, 50, 50, 0.6);
    box-shadow: 0 0 15px rgba(255, 50, 50, 0.5);
    animation-duration: 4s;
    animation-direction: reverse;
}

.portal-ring.ring-3 {
    width: 50px;
    height: 50px;
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 0 0 10px rgba(255, 100, 100, 0.4);
    animation-duration: 3s;
}

.portal-center {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.9) 0%, rgba(100, 0, 0, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.8), 0 0 60px rgba(229, 9, 20, 0.4);
    z-index: 5;
}

.portal-center span {
    font-family: var(--stranger-font);
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 0 10px #fff;
}

@keyframes portalRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Cassette Tape (Silver) */
.cassette-tape {
    width: 75px;
    height: 50px;
}

.tape-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #444 0%, #333 50%, #222 100%);
    border-radius: 4px;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 6px;
}

.tape-window {
    width: 100%;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 2px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
}

.tape-reel {
    width: 16px;
    height: 16px;
    background: #111;
    border-radius: 50%;
    border: 2px solid #555;
    position: relative;
    animation: reelSpin 2s linear infinite;
}

.tape-reel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #888;
    border-radius: 50%;
}

.tape-label {
    font-family: var(--stranger-font);
    font-size: 0.5rem;
    color: #c0c0c0;
    text-align: center;
    margin-top: 4px;
    letter-spacing: 1px;
}

@keyframes reelSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Upside Down Vines on Cards */
.upside-down-vines-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, rgba(50, 20, 30, 0.8) 0%, transparent 100%);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.upside-down-vines-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 2px;
    height: 20px;
    background: linear-gradient(to top, rgba(100, 50, 60, 0.8), transparent);
    transform: rotate(-15deg);
    animation: vineGrow 3s ease-in-out infinite;
}

.upside-down-vines-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 15%;
    width: 2px;
    height: 25px;
    background: linear-gradient(to top, rgba(100, 50, 60, 0.8), transparent);
    transform: rotate(10deg);
    animation: vineGrow 3s ease-in-out infinite 0.5s;
}

@keyframes vineGrow {

    0%,
    100% {
        height: 20px;
        opacity: 0.6;
    }

    50% {
        height: 28px;
        opacity: 1;
    }
}

/* Demogorgon Particles for Champion */
.demogorgon-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 8px;
}

.demogorgon-particles::before,
.demogorgon-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(229, 9, 20, 0.6);
    border-radius: 50%;
    animation: floatParticle 4s ease-in-out infinite;
}

.demogorgon-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.demogorgon-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

/* Scroll indicator for prize section */
.prize-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--stranger-font);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.prize-scroll-hint.hidden {
    opacity: 0;
}

/* Quote Section */
.quote-section {
    padding: 100px 80px;
    position: relative;
    text-align: center;
    overflow: hidden;
    perspective: 1500px;
    z-index: 10;
    background: transparent;
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.quote-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1) saturate(1.2);
}

.quote-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.quote-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.quote-marks {
    font-family: var(--stranger-font);
    font-size: 12rem;
    color: var(--primary-red);
    opacity: 0.4;
    line-height: 0.4;
    text-shadow: 0 0 50px rgba(229, 9, 20, 0.5), 0 0 100px rgba(229, 9, 20, 0.3);
    transform-style: preserve-3d;
    margin-bottom: -20px;
}

.main-quote {
    font-family: var(--stranger-font);
    font-size: 2.8rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
    transform-style: preserve-3d;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.quote-author {
    font-size: 1rem;
    letter-spacing: 4px;
    color: #ff5555;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    font-weight: 500;
}

.quote-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 50px auto;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.event-description {
    font-size: 1.1rem;
    line-height: 2;
    color: #bbbbbb;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.quote-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 40px auto;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.event-description {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-secondary);
}

/* Login Section */
.login-section {
    padding: 80px 80px;
    background: rgba(10, 10, 10, 0.6);
    perspective: 1500px;
    overflow: hidden;
    position: relative;
    z-index: 40;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 50% 50% at 30% 50%, rgba(229, 9, 20, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 70% 50%, rgba(229, 9, 20, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    transform-style: preserve-3d;
    position: relative;
    z-index: 1;
}

.login-visual {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.vecna-silhouette {
    width: 320px;
    height: 420px;
    background: linear-gradient(to bottom, rgba(229, 9, 20, 0.8), rgba(229, 9, 20, 0.2), transparent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.5;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 40px rgba(229, 9, 20, 0.6)) drop-shadow(0 0 80px rgba(229, 9, 20, 0.3));
    animation: vecnaPulse 4s ease-in-out infinite;
}

@keyframes vecnaPulse {

    0%,
    100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 40px rgba(229, 9, 20, 0.6));
    }

    50% {
        opacity: 0.7;
        filter: drop-shadow(0 0 60px rgba(229, 9, 20, 0.8));
    }
}

.clock-animation {
    position: absolute;
    bottom: 40px;
}

.clock-text {
    font-family: var(--stranger-font);
    font-size: 1.3rem;
    color: #ff5555;
    letter-spacing: 4px;
    text-shadow: 0 0 25px rgba(229, 9, 20, 0.7), 0 0 50px rgba(229, 9, 20, 0.4);
    animation: clockFlicker 3s ease-in-out infinite;
}

@keyframes clockFlicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    52% {
        opacity: 1;
    }

    54% {
        opacity: 0.8;
    }

    56% {
        opacity: 1;
    }
}

.login-form-container {
    padding: 60px;
    background: linear-gradient(135deg, rgba(20, 10, 15, 0.9) 0%, rgba(30, 15, 20, 0.8) 100%);
    border: 1px solid rgba(229, 9, 20, 0.3);
    transform-style: preserve-3d;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(229, 9, 20, 0.1);
    border-radius: 4px;
}

.login-title {
    font-family: var(--stranger-font);
    font-size: 3.2rem;
    letter-spacing: 4px;
    margin-bottom: 45px;
    text-shadow: 0 0 30px rgba(229, 9, 20, 0.3);
    line-height: 1.2;
}

.login-title .accent {
    color: #ff4444;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 0 40px #e50914;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.input-group {
    position: relative;
    transform-style: preserve-3d;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding: 18px 12px;
    font-family: var(--stranger-font);
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: 3px;
    outline: none;
    transition: all 0.4s ease;
    border-radius: 2px 2px 0 0;
}

.input-group input:focus {
    border-color: var(--primary-red);
    background: rgba(229, 9, 20, 0.08);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.15);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 4px;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), #ff4444, var(--primary-red));
    transition: width 0.4s ease;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.input-group input:focus~.input-line {
    width: 100%;
}

.submit-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border: none;
    color: var(--text-primary);
    padding: 18px 40px;
    font-family: var(--stranger-font);
    font-size: 0.9rem;
    letter-spacing: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 20px;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.submit-btn:hover {
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.5), 0 0 60px rgba(229, 9, 20, 0.3);
    transform: translateY(-3px) scale(1.02);
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover .btn-glitch {
    left: 100%;
}

.login-hint {
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.login-hint a {
    color: var(--primary-red);
    text-decoration: none;
}

.login-hint a:hover {
    text-decoration: underline;
}

/* Sponsors Section */
.sponsors-section {
    padding: 80px 0;
    background: rgba(10, 10, 10, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 30;
}

/* Sponsors section header - ensure visibility */
.sponsors-section .section-header {
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 60px;
    transform: none !important;
    padding: 0 80px;
}

.sponsors-section .section-header .section-tag,
.sponsors-section .section-header .section-title,
.sponsors-section .section-header .section-subtitle {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
}

/* Background effects for sponsors */
.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(192, 192, 192, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(229, 9, 20, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.sponsors-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 10%),
        linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 10%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   SLIDING LOGO MARQUEE - Sponsors Animation
   ============================================ */

.sponsors-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.sponsors-marquee-track {
    display: flex;
    width: fit-content;
    animation: sponsorSlide 25s linear infinite;
    will-change: transform;
}

.sponsors-marquee-container:hover .sponsors-marquee-track {
    animation-play-state: paused;
}

@keyframes sponsorSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.sponsors-marquee-list {
    display: flex;
    gap: 40px;
    padding: 20px 20px;
    flex-shrink: 0;
    animation: none;
}

/* Blur edges for smooth fade effect */
.sponsors-marquee-blur {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.sponsors-marquee-blur--left {
    left: 0;
    background: linear-gradient(to right,
            rgba(10, 10, 10, 1) 0%,
            rgba(10, 10, 10, 0.8) 30%,
            rgba(10, 10, 10, 0) 100%);
}

.sponsors-marquee-blur--right {
    right: 0;
    background: linear-gradient(to left,
            rgba(10, 10, 10, 1) 0%,
            rgba(10, 10, 10, 0.8) 30%,
            rgba(10, 10, 10, 0) 100%);
}

/* Sponsor Item Styles */
.sponsor-item {
    flex-shrink: 0;
    padding: 40px 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 4px;
    min-width: 280px;
    cursor: pointer;
}

.sponsor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sponsor-item:hover::before {
    opacity: 1;
}

.sponsor-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.sponsor-item:hover::after {
    left: 100%;
}

.sponsor-item:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Tier styles for sponsor items */
.sponsor-item.tier-gold {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(10, 10, 15, 0.85) 100%);
}

.sponsor-item.tier-gold:hover {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow:
        0 15px 40px rgba(255, 215, 0, 0.25),
        0 0 60px rgba(255, 215, 0, 0.15),
        inset 0 0 25px rgba(255, 215, 0, 0.08);
}

.sponsor-item.tier-gold:hover .sponsor-logo {
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.9);
}

.sponsor-item.tier-silver {
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08) 0%, rgba(10, 10, 15, 0.85) 100%);
}

.sponsor-item.tier-silver:hover {
    border-color: rgba(192, 192, 192, 0.7);
    box-shadow:
        0 15px 40px rgba(192, 192, 192, 0.25),
        0 0 60px rgba(192, 192, 192, 0.15),
        inset 0 0 25px rgba(192, 192, 192, 0.08);
}

.sponsor-item.tier-silver:hover .sponsor-logo {
    color: #e0e0e0;
    text-shadow: 0 0 30px rgba(192, 192, 192, 0.9);
}

.sponsor-item.tier-bronze {
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.08) 0%, rgba(10, 10, 15, 0.85) 100%);
}

.sponsor-item.tier-bronze:hover {
    border-color: rgba(205, 127, 50, 0.7);
    box-shadow:
        0 15px 40px rgba(205, 127, 50, 0.25),
        0 0 60px rgba(205, 127, 50, 0.15),
        inset 0 0 25px rgba(205, 127, 50, 0.08);
}

.sponsor-item.tier-bronze:hover .sponsor-logo {
    color: #cd7f32;
    text-shadow: 0 0 30px rgba(205, 127, 50, 0.9);
}

.sponsor-item .tier-label {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    padding: 6px 16px;
    border-radius: 2px;
}

.sponsor-item.tier-gold .tier-label {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.sponsor-item.tier-silver .tier-label {
    color: #e0e0e0;
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.6);
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.sponsor-item.tier-bronze .tier-label {
    color: #cd7f32;
    text-shadow: 0 0 20px rgba(205, 127, 50, 0.6);
    background: rgba(205, 127, 50, 0.1);
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.sponsor-item .sponsor-logo {
    font-family: var(--stranger-font);
    font-size: 2rem;
    letter-spacing: 4px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

/* ============================================
   STRANGER THINGS FOOTER
   ============================================ */

.footer {
    padding: 80px 80px 30px;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #000000 100%);
    border-top: 2px solid rgba(229, 9, 20, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(229, 9, 20, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(229, 9, 20, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(229, 9, 20, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Upside Down Vines */
.footer-vines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.vine {
    position: absolute;
    top: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.6) 0%, rgba(100, 0, 0, 0.3) 50%, transparent 100%);
    border-radius: 0 0 50% 50%;
    animation: vineGrow 8s ease-in-out infinite;
}

.vine-1 {
    left: 5%;
    height: 60px;
    animation-delay: 0s;
}

.vine-2 {
    left: 20%;
    height: 80px;
    animation-delay: 1.5s;
}

.vine-3 {
    left: 50%;
    height: 50px;
    animation-delay: 3s;
}

.vine-4 {
    left: 75%;
    height: 70px;
    animation-delay: 4.5s;
}

.vine-5 {
    left: 92%;
    height: 55px;
    animation-delay: 6s;
}

@keyframes vineGrow {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1.3);
        opacity: 1;
    }
}

/* Floating Particles */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(229, 9, 20, 0.6);
    border-radius: 50%;
    animation: floatUp 10s ease-in-out infinite;
}

.footer-particles .particle:nth-child(1) {
    left: 10%;
    bottom: 20%;
    animation-delay: 0s;
}

.footer-particles .particle:nth-child(2) {
    left: 30%;
    bottom: 40%;
    animation-delay: 2s;
}

.footer-particles .particle:nth-child(3) {
    left: 50%;
    bottom: 10%;
    animation-delay: 4s;
}

.footer-particles .particle:nth-child(4) {
    left: 70%;
    bottom: 30%;
    animation-delay: 6s;
}

.footer-particles .particle:nth-child(5) {
    left: 90%;
    bottom: 50%;
    animation-delay: 8s;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
    opacity: 1;
    visibility: visible;
}

/* Brand Section */
.footer-brand {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.footer-logo-container {
    margin-bottom: 15px;
}

.footer-logo-text {
    font-family: var(--stranger-font);
    font-size: 2.8rem;
    letter-spacing: 6px;
    color: #ff3333;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 0 40px #e50914;
    display: block;
    line-height: 1;
    animation: logoFlicker 5s ease-in-out infinite;
}

.footer-logo-accent {
    font-family: var(--stranger-font);
    font-size: 2.8rem;
    letter-spacing: 6px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    display: block;
    line-height: 1;
    margin-top: -5px;
}

@keyframes logoFlicker {

    0%,
    100% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    93% {
        opacity: 0.7;
    }

    94% {
        opacity: 1;
    }

    95% {
        opacity: 0.8;
    }

    96% {
        opacity: 1;
    }
}

.footer-tagline {
    font-size: 0.8rem;
    color: #888888;
    margin-top: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-quote {
    font-family: var(--stranger-font);
    font-size: 1rem;
    color: rgba(229, 9, 20, 0.7);
    margin-top: 20px;
    font-style: italic;
    letter-spacing: 1px;
}

/* Navigation Sections */
.footer-nav-title {
    font-family: var(--stranger-font);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: #ff5555;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-nav-links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.footer-nav-links a:hover {
    color: #ffffff;
    padding-left: 15px;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.footer-nav-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Connect Section */
.footer-connect {
    position: relative;
    opacity: 1;
    visibility: visible;
}

/* Footer Nav and Info sections */
.footer-nav,
.footer-info {
    opacity: 1;
    visibility: visible;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(229, 9, 20, 0.4);
    background: rgba(229, 9, 20, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-icon:hover {
    border-color: var(--primary-red);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.5);
    transform: translateY(-3px);
}

.social-icon:hover::before {
    left: 100%;
}

.footer-contact {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Christmas Lights Divider */
.footer-lights {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.footer-lights::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #333;
    z-index: -1;
}

.footer-lights .light {
    width: 12px;
    height: 16px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: christmasLight 2s ease-in-out infinite;
}

.footer-lights .light::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #333;
    border-radius: 2px 2px 0 0;
}

.footer-lights .light.red {
    background: #ff3333;
    box-shadow: 0 0 15px #ff3333, 0 0 30px #ff3333;
    animation-delay: 0s;
}

.footer-lights .light.green {
    background: #33ff33;
    box-shadow: 0 0 15px #33ff33, 0 0 30px #33ff33;
    animation-delay: 0.3s;
}

.footer-lights .light.blue {
    background: #3333ff;
    box-shadow: 0 0 15px #3333ff, 0 0 30px #3333ff;
    animation-delay: 0.6s;
}

.footer-lights .light.yellow {
    background: #ffff33;
    box-shadow: 0 0 15px #ffff33, 0 0 30px #ffff33;
    animation-delay: 0.9s;
}

@keyframes christmasLight {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.5;
        filter: brightness(0.6);
    }

    52% {
        opacity: 1;
        filter: brightness(1.2);
    }

    54% {
        opacity: 0.7;
        filter: brightness(0.8);
    }
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 25px;
    border-top: 1px solid rgba(229, 9, 20, 0.2);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 10;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-disclaimer {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}

/* Footer Credits Section */
.footer-credits {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.credits-content {
    max-width: 800px;
    margin: 0 auto;
}

.credits-title {
    font-family: var(--stranger-font);
    font-size: 1rem;
    color: #e50914;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.credits-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.credits-text strong {
    color: #fff;
}

.credits-netflix {
    font-family: var(--stranger-font);
    font-size: 0.9rem;
    color: #e50914;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Eleven Easter Egg */
.footer-eleven {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eleven-number {
    font-family: var(--stranger-font);
    font-size: 1.5rem;
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
    animation: elevenPulse 3s ease-in-out infinite;
}

.eleven-nosebleed {
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #ff0000 0%, #8b0000 100%);
    border-radius: 0 0 2px 2px;
    animation: nosebleed 4s ease-in-out infinite;
}

@keyframes elevenPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(229, 9, 20, 0.9);
    }
}

@keyframes nosebleed {

    0%,
    70% {
        height: 0;
        opacity: 0;
    }

    75% {
        height: 15px;
        opacity: 1;
    }

    100% {
        height: 20px;
        opacity: 0;
    }
}

/* ============================================
   STRANGER THINGS LOGIN MODAL
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Floating Particles in Modal Background */
.modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.modal-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(229, 9, 20, 0.6);
    border-radius: 50%;
    animation: modalFloat 15s ease-in-out infinite;
}

.modal-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.modal-particle:nth-child(2) {
    left: 20%;
    top: 60%;
    animation-delay: 2s;
}

.modal-particle:nth-child(3) {
    left: 70%;
    top: 30%;
    animation-delay: 4s;
}

.modal-particle:nth-child(4) {
    left: 80%;
    top: 70%;
    animation-delay: 6s;
}

.modal-particle:nth-child(5) {
    left: 40%;
    top: 80%;
    animation-delay: 8s;
}

.modal-particle:nth-child(6) {
    left: 90%;
    top: 40%;
    animation-delay: 10s;
}

@keyframes modalFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-50px) scale(1.5);
        opacity: 1;
    }
}

/* Modal Content Box */
.modal-content {
    background: linear-gradient(180deg,
            rgba(10, 5, 8, 0.98) 0%,
            rgba(20, 8, 12, 0.95) 50%,
            rgba(15, 5, 10, 0.98) 100%);
    padding: 50px 60px 40px;
    border: 2px solid rgba(229, 9, 20, 0.5);
    border-radius: 4px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow:
        0 0 60px rgba(229, 9, 20, 0.3),
        0 0 120px rgba(229, 9, 20, 0.15),
        0 30px 80px rgba(0, 0, 0, 0.8),
        inset 0 0 100px rgba(229, 9, 20, 0.05);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9) rotateX(10deg);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1) rotateX(0);
        opacity: 1;
    }
}

/* Christmas Lights at Top */
.modal-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(229, 9, 20, 0.3);
}

.modal-lights::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #222;
    z-index: -1;
}

.m-light {
    width: 10px;
    height: 14px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: lightFlicker 2s ease-in-out infinite;
}

.m-light::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 5px;
    background: #333;
    border-radius: 2px 2px 0 0;
}

.m-light.red {
    background: #ff3333;
    box-shadow: 0 0 10px #ff3333, 0 0 20px #ff3333;
    animation-delay: 0s;
}

.m-light.yellow {
    background: #ffdd33;
    box-shadow: 0 0 10px #ffdd33, 0 0 20px #ffdd33;
    animation-delay: 0.3s;
}

.m-light.blue {
    background: #3366ff;
    box-shadow: 0 0 10px #3366ff, 0 0 20px #3366ff;
    animation-delay: 0.6s;
}

.m-light.green {
    background: #33ff66;
    box-shadow: 0 0 10px #33ff66, 0 0 20px #33ff66;
    animation-delay: 0.9s;
}

@keyframes lightFlicker {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    40% {
        opacity: 1;
        filter: brightness(1);
    }

    42% {
        opacity: 0.4;
        filter: brightness(0.5);
    }

    44% {
        opacity: 1;
        filter: brightness(1.2);
    }

    46% {
        opacity: 0.6;
        filter: brightness(0.7);
    }

    48% {
        opacity: 1;
        filter: brightness(1);
    }
}

/* Vines Decoration */
.modal-vines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.m-vine {
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.7) 0%, rgba(80, 0, 0, 0.3) 70%, transparent 100%);
    border-radius: 0 0 50% 50%;
    animation: vineGrow 6s ease-in-out infinite;
}

.m-vine.v1 {
    top: 30px;
    left: 15px;
    height: 40px;
    animation-delay: 0s;
}

.m-vine.v2 {
    top: 30px;
    right: 15px;
    height: 50px;
    animation-delay: 2s;
}

.m-vine.v3 {
    top: 30px;
    left: 50%;
    height: 30px;
    animation-delay: 4s;
    transform: translateX(-50%);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 40px;
    right: 20px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 10;
}

.modal-close:hover {
    color: #ffffff;
    background: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
    transform: rotate(90deg) scale(1.1);
}

/* Eleven's Number */
.modal-eleven {
    font-family: var(--stranger-font);
    font-size: 1.2rem;
    color: var(--primary-red);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.8);
    animation: elevenPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* Modal Title */
.modal-title {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.modal-title .title-line {
    display: block;
    font-family: var(--stranger-font);
    font-size: 1rem;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.modal-title .title-upside {
    display: block;
    font-family: var(--stranger-font);
    font-size: 2.5rem;
    letter-spacing: 4px;
    color: #ff3333;
    text-shadow:
        0 0 5px #ff1a1a,
        0 0 10px #ff1a1a,
        0 0 20px #e50914,
        0 0 40px #e50914;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow:
            0 0 5px #ff1a1a,
            0 0 10px #ff1a1a,
            0 0 20px #e50914,
            0 0 40px #e50914;
    }

    50% {
        text-shadow:
            0 0 10px #ff1a1a,
            0 0 20px #ff1a1a,
            0 0 40px #e50914,
            0 0 80px #e50914;
    }
}

/* Subtitle Quote */
.modal-subtitle {
    text-align: center;
    font-family: var(--stranger-font);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.5;
    z-index: 2;
    transition: all 0.3s ease;
}

.modal-form input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 4px;
    padding: 16px 20px 16px 50px;
    font-family: var(--stranger-font);
    font-size: 0.85rem;
    color: var(--text-primary);
    letter-spacing: 3px;
    outline: none;
    transition: all 0.4s ease;
    position: relative;
}

.modal-form input:focus {
    border-color: var(--primary-red);
    background: rgba(229, 9, 20, 0.1);
    box-shadow:
        0 0 20px rgba(229, 9, 20, 0.2),
        inset 0 0 20px rgba(229, 9, 20, 0.05);
}

.modal-form input:focus+.input-glow {
    opacity: 1;
}

.input-wrapper:focus-within .input-icon {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.modal-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: width 0.4s ease;
    opacity: 0;
}

.modal-form input:focus~.input-glow {
    width: 100%;
    opacity: 1;
}

/* Submit Button */
.modal-submit {
    background: linear-gradient(135deg, var(--primary-red) 0%, #aa0000 100%);
    border: none;
    color: var(--text-primary);
    padding: 18px 30px;
    font-family: var(--stranger-font);
    font-size: 1rem;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.modal-submit .btn-text {
    position: relative;
    z-index: 2;
}

.modal-submit .btn-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 100, 100, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: 1;
}

.modal-submit:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 40px rgba(229, 9, 20, 0.5),
        0 0 60px rgba(229, 9, 20, 0.3);
    letter-spacing: 6px;
}

.modal-submit:hover .btn-portal {
    width: 300px;
    height: 300px;
}

.modal-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 3;
}

.modal-submit:hover::before {
    left: 100%;
}

/* Hint Text */
.modal-hint {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 20px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.modal-hint a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-hint a:hover {
    color: #ff5555;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

/* Demogorgon Silhouette */
.modal-demogorgon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: demoBreath 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes demoBreath {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .title-letter {
        font-size: 6rem;
        letter-spacing: 5px;
    }

    .intro-title {
        gap: 3px;
    }

    .intro-eleven {
        font-size: 1.5rem;
    }

    .hero {
        padding-bottom: 80px;
    }

    .title-main,
    .title-sub {
        font-size: 5rem;
        letter-spacing: 10px;
    }

    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    .challenge-row {
        gap: 50px;
    }

    .challenge-image {
        flex: 0 0 520px;
        height: 520px;
    }

    .challenge-title {
        font-size: 2.5rem;
    }

    .login-container {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }
}

@media (max-width: 900px) {

    .challenge-row,
    .challenge-row.left,
    .challenge-row.right {
        flex-direction: column-reverse;
        gap: 40px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .challenge-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        height: 500px;
    }

    .challenge-details {
        text-align: center;
    }

    .challenge-title {
        text-align: center;
    }

    .challenge-tags {
        justify-content: center;
    }

    .challenge-description {
        text-align: center;
    }

    .challenge-meta {
        justify-content: center;
    }

    .challenge-number {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .challenges-container {
        padding: 0 20px;
    }
}

/* Hide hamburger on desktop */
.mobile-menu-toggle {
    display: none;
}


/* ============================================
   ABOUT SECTION - STRANGER THINGS STYLE
   ============================================ */

.about-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 5% 100px;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(0.8);
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.about-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e50914, transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: #e50914;
    box-shadow: 0 20px 40px rgba(229, 9, 20, 0.2);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.5));
}

.about-card h3 {
    font-family: var(--stranger-font);
    font-size: 1.5rem;
    color: #e50914;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-quote {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(229, 9, 20, 0.05);
    border-left: 3px solid #e50914;
    border-radius: 0 10px 10px 0;
}

.about-quote .quote-marks {
    font-family: var(--stranger-font);
    font-size: 4rem;
    color: #e50914;
    line-height: 0.5;
    opacity: 0.5;
}

.about-quote blockquote {
    font-family: var(--stranger-font);
    font-size: 1.8rem;
    color: #fff;
    font-style: italic;
    margin: 20px 0;
}

.about-quote .quote-author {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   SECTION DIVIDER - STRANGER THINGS STYLE
   ============================================ */

.section-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: #0a0a0a;
    z-index: 10;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(229, 9, 20, 0.3) 20%, 
        rgba(229, 9, 20, 0.5) 50%, 
        rgba(229, 9, 20, 0.3) 80%, 
        transparent 100%);
}

.divider-lights {
    display: flex;
    gap: 15px;
    padding: 0 30px;
}

.d-light {
    width: 12px;
    height: 16px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: lightFlicker 1.5s ease-in-out infinite;
}

.d-light:nth-child(1) {
    background: #ff3333;
    box-shadow: 0 0 10px #ff3333, 0 0 20px #ff3333;
    animation-delay: 0s;
}

.d-light:nth-child(2) {
    background: #33ff33;
    box-shadow: 0 0 10px #33ff33, 0 0 20px #33ff33;
    animation-delay: 0.3s;
}

.d-light:nth-child(3) {
    background: #3333ff;
    box-shadow: 0 0 10px #3333ff, 0 0 20px #3333ff;
    animation-delay: 0.6s;
}

.d-light:nth-child(4) {
    background: #ffff33;
    box-shadow: 0 0 10px #ffff33, 0 0 20px #ffff33;
    animation-delay: 0.9s;
}

.d-light:nth-child(5) {
    background: #ff33ff;
    box-shadow: 0 0 10px #ff33ff, 0 0 20px #ff33ff;
    animation-delay: 1.2s;
}

/* ============================================
   GALLERY SECTION - STRANGER THINGS STYLE
   ============================================ */

.gallery-section {
    position: relative;
    padding: 120px 5% 150px;
    overflow: hidden;
    background: #0a0a0a;
    z-index: 10;
    isolation: isolate;
    margin-bottom: 0;
}

/* Ensure gallery section header is visible */
.gallery-section .section-header {
    position: relative;
    z-index: 10;
}

.gallery-section .section-header .section-tag,
.gallery-section .section-header .section-title,
.gallery-section .section-header .section-subtitle {
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #0a0a0a, transparent);
    z-index: 2;
    pointer-events: none;
}

/* Auto-scrolling Gallery */
.gallery-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
    padding: 40px 0;
    background: #0a0a0a;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.gallery-scroll-wrapper::before,
.gallery-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.gallery-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 1), transparent);
}

.gallery-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 10, 1), transparent);
}

.gallery-scroll-track {
    display: flex;
    gap: 30px;
    animation: galleryScroll 40s linear infinite;
    width: max-content;
    opacity: 1;
    visibility: visible;
}

.gallery-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes galleryScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-scroll-item {
    flex-shrink: 0;
    width: 350px;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(229, 9, 20, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 1;
    visibility: visible;
}

.gallery-scroll-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(229, 9, 20, 0.4);
}

.gallery-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-scroll-item:hover img {
    transform: scale(1.1);
}

.gallery-scroll-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: border-color 0.3s ease;
}

.gallery-scroll-item:hover::after {
    border-color: rgba(229, 9, 20, 0.5);
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    z-index: 2;
    pointer-events: none;
}

.gallery-container {
    max-width: 1400px;
    margin: 60px auto 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(30%) brightness(0.8);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-year {
    display: block;
    font-family: var(--stranger-font);
    font-size: 0.9rem;
    color: #e50914;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.gallery-caption {
    display: block;
    font-family: var(--stranger-font);
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 1px;
}

.gallery-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.g-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e50914;
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 8s ease-in-out infinite;
}

.g-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.g-particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 1s; }
.g-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 2s; }
.g-particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 3s; }
.g-particle:nth-child(5) { left: 90%; top: 40%; animation-delay: 4s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
}

/* ============================================
   COMPARISON SECTION - WHAT WE PROVIDE VS WHAT YOU BRING
   ============================================ */

.comparison-section {
    position: relative;
    padding: 120px 5% 150px;
    background: #0a0a0a;
    overflow: hidden;
}

.comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 60% 40% at 30% 50%, rgba(229, 9, 20, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 50%, rgba(229, 9, 20, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Column Styles */
.comparison-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.column-header {
    position: relative;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(229, 9, 20, 0.2) 100%);
    border: 2px solid rgba(229, 9, 20, 0.4);
    border-radius: 15px;
    overflow: hidden;
}

.column-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.5));
    animation: iconFloat 3s ease-in-out infinite;
    color: #e50914;
}

.header-icon svg {
    width: 40px;
    height: 40px;
    stroke: #e50914;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.column-title {
    font-family: var(--stranger-font);
    font-size: 2rem;
    color: #e50914;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    margin: 0;
}

.header-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e50914, transparent);
    box-shadow: 0 0 20px #e50914;
}

/* Comparison Items */
.comparison-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInItem 0.6s ease forwards;
}

.item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.3));
    transition: transform 0.3s ease;
    color: #e50914;
    margin-top: 2px;
}

.bring-column .comparison-item {
    transform: translateX(30px);
}

.comparison-item[data-index="1"] { animation-delay: 0.1s; }
.comparison-item[data-index="2"] { animation-delay: 0.2s; }
.comparison-item[data-index="3"] { animation-delay: 0.3s; }
.comparison-item[data-index="4"] { animation-delay: 0.4s; }
.comparison-item[data-index="5"] { animation-delay: 0.5s; }
.comparison-item[data-index="6"] { animation-delay: 0.6s; }
.comparison-item[data-index="7"] { animation-delay: 0.7s; }

@keyframes slideInItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.comparison-item:hover {
    background: rgba(229, 9, 20, 0.1);
    border-color: #e50914;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.item-icon svg {
    width: 32px;
    height: 32px;
    stroke: #e50914;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.comparison-item:hover .item-icon {
    transform: scale(1.2) rotate(5deg);
}

.comparison-item:hover .item-icon svg {
    stroke: #ff4444;
    filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.6));
}

.item-content h4 {
    font-family: var(--stranger-font);
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
}

.item-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.item-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.comparison-item:hover .item-glow {
    opacity: 1;
}

/* Center Divider */
.comparison-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 600px;
}

.divider-line-vertical {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, rgba(229, 9, 20, 0.5), transparent);
    position: relative;
}

.divider-line-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(229, 9, 20, 0.2), transparent);
    filter: blur(4px);
}

.divider-portal {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.portal-ring {
    position: absolute;
    border: 2px solid rgba(229, 9, 20, 0.4);
    border-radius: 50%;
    animation: portalPulse 3s ease-in-out infinite;
}

.portal-ring:nth-child(1) {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.portal-ring:nth-child(2) {
    width: 90px;
    height: 90px;
    animation-delay: 0.5s;
}

.portal-ring:nth-child(3) {
    width: 60px;
    height: 60px;
    animation-delay: 1s;
}

@keyframes portalPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
        border-color: rgba(229, 9, 20, 0.4);
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        border-color: rgba(229, 9, 20, 0.8);
        box-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
    }
}

.portal-center {
    position: relative;
    z-index: 10;
    font-family: var(--stranger-font);
    font-size: 2rem;
    font-weight: 700;
    color: #e50914;
    text-shadow: 
        0 0 10px #e50914,
        0 0 20px #e50914,
        0 0 40px #e50914;
    animation: vsGlow 2s ease-in-out infinite;
}

@keyframes vsGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px #e50914,
            0 0 20px #e50914,
            0 0 40px #e50914;
    }
    50% {
        text-shadow: 
            0 0 20px #e50914,
            0 0 40px #e50914,
            0 0 80px #e50914,
            0 0 120px rgba(229, 9, 20, 0.5);
    }
}

/* Floating Particles */
.comparison-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.comp-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e50914;
    border-radius: 50%;
    box-shadow: 0 0 10px #e50914;
    animation: floatCompParticle 6s ease-in-out infinite;
}

.comp-particle:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.comp-particle:nth-child(2) { left: 35%; top: 60%; animation-delay: 1.2s; }
.comp-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 2.4s; }
.comp-particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 3.6s; }
.comp-particle:nth-child(5) { left: 85%; top: 40%; animation-delay: 4.8s; }

@keyframes floatCompParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 0.7; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .comparison-container {
        gap: 40px;
    }
    
    .column-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .comparison-section {
        padding: 80px 5% 100px;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .comparison-divider {
        min-height: auto;
        flex-direction: row;
        width: 100%;
        padding: 30px 0;
    }
    
    .divider-line-vertical {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(229, 9, 20, 0.5), transparent);
    }
    
    .divider-line-vertical::before {
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, transparent, rgba(229, 9, 20, 0.2), transparent);
    }
    
    .divider-portal {
        margin: 0 30px;
    }
}

@media (max-width: 576px) {
    .comparison-section {
        padding: 60px 20px 80px;
    }
    
    .column-header {
        padding: 20px;
    }
    
    .header-icon {
        width: 40px;
        height: 40px;
    }
    
    .column-title {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
    
    .comparison-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .item-icon {
        width: 36px;
        height: 36px;
    }
    
    .item-content h4 {
        font-size: 1rem;
    }
    
    .item-content p {
        font-size: 0.85rem;
    }
    
    .divider-portal {
        width: 80px;
        height: 80px;
        margin: 0 20px;
    }
    
    .portal-ring:nth-child(1) {
        width: 80px;
        height: 80px;
    }
    
    .portal-ring:nth-child(2) {
        width: 60px;
        height: 60px;
    }
    
    .portal-ring:nth-child(3) {
        width: 40px;
        height: 40px;
    }
    
    .portal-center {
        font-size: 1.5rem;
    }
}

/* ============================================
   TEAM SECTION - STRANGER THINGS STYLE
   ============================================ */

.team-section {
    position: relative;
    padding: 150px 5% 120px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0808 50%, #0a0a0a 100%);
    z-index: 10;
    margin-top: 0;
    isolation: isolate;
}

/* Subtle red ambient glow */
.team-section .section-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(229, 9, 20, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #0a0a0a, transparent);
    z-index: 1;
    pointer-events: none;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    z-index: 1;
    pointer-events: none;
}

.team-container {
    max-width: 1600px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* 5-member grid layout */
.team-grid.team-grid-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

.team-member {
    position: relative;
    height: 380px;
}

/* Team member entrance animation - CSS only */
.team-member {
    display: flex;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(40px);
    animation: teamMemberReveal 0.8s ease forwards;
    height: 380px;
    width: 100%;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }

@keyframes teamMemberReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 15px;
    padding: 35px 20px 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

/* Card Number - Top Right */
.card-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--stranger-font);
    font-size: 2rem;
    color: rgba(229, 9, 20, 0.4);
    font-weight: bold;
    letter-spacing: 2px;
    z-index: 2;
    transition: all 0.3s ease;
}

.member-card:hover .card-number {
    color: #e50914;
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.8);
    transform: scale(1.1);
}

/* Corner Decorations */
.card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(229, 9, 20, 0.3);
    transition: all 0.4s ease;
    z-index: 1;
}

.card-corner.tl {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
}

.card-corner.tr {
    top: 8px;
    right: 8px;
    border-left: none;
    border-bottom: none;
}

.card-corner.bl {
    bottom: 8px;
    left: 8px;
    border-right: none;
    border-top: none;
}

.card-corner.br {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
}

.member-card:hover .card-corner {
    border-color: #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.member-card:hover .card-corner.tl {
    transform: translate(-3px, -3px);
}

.member-card:hover .card-corner.tr {
    transform: translate(3px, -3px);
}

.member-card:hover .card-corner.bl {
    transform: translate(-3px, 3px);
}

.member-card:hover .card-corner.br {
    transform: translate(3px, 3px);
}

/* Image Ring Animation - Removed for rectangular images */
.image-ring {
    display: none;
}

.team-grid.team-grid-5 .member-card {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
}

/* Glowing border effect */
.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, rgba(229, 9, 20, 0.5) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Ambient glow effect */
.member-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.member-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #e50914;
    box-shadow: 
        0 25px 60px rgba(229, 9, 20, 0.3),
        0 0 40px rgba(229, 9, 20, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.member-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

.member-card:hover::after {
    opacity: 1;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.member-image {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 0 auto 20px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.member-photo {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
    object-position: center center;
    border: 2px solid rgba(229, 9, 20, 0.8);
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    background: #000;
}

.member-card:hover .member-photo {
    transform: scale(1.05);
    border-color: #ff4444;
    box-shadow: 
        0 10px 30px rgba(229, 9, 20, 0.4),
        0 0 20px rgba(229, 9, 20, 0.3);
}

.member-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 3px solid #e50914;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.member-initial {
    font-family: var(--stranger-font);
    font-size: 3rem;
    color: #e50914;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.member-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(8px);
}

.member-card:hover .member-glow {
    opacity: 1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.member-info {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}

.member-name {
    font-family: var(--stranger-font);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    min-height: auto;
}

.member-card:hover .member-name {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.member-role {
    display: block;
    font-size: 0.85rem;
    color: #e50914;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
    min-height: auto;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
    line-height: 1.4;
}

.member-card:hover .member-role {
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.member-quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.4;
}

.member-lights {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
}

.member-lights .m-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e50914;
    box-shadow: 0 0 10px #e50914, 0 0 20px rgba(229, 9, 20, 0.5);
    animation: flickerLight 1.5s ease-in-out infinite;
}

.member-lights .m-light:nth-child(2) {
    background: #33ff33;
    box-shadow: 0 0 10px #33ff33, 0 0 20px rgba(51, 255, 51, 0.5);
    animation-delay: 0.3s;
}

.member-lights .m-light:nth-child(3) {
    background: #4488ff;
    box-shadow: 0 0 10px #4488ff, 0 0 20px rgba(68, 136, 255, 0.5);
    animation-delay: 0.6s;
}

@keyframes flickerLight {
    0%, 100% { opacity: 1; transform: scale(1); }
    25% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    75% { opacity: 0.8; transform: scale(0.95); }
}

.team-vines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.t-vine {
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, transparent, rgba(229, 9, 20, 0.3), transparent);
    animation: vineGrow 4s ease-in-out infinite;
}

.t-vine-1 {
    left: 5%;
    top: 0;
    height: 200px;
    animation-delay: 0s;
}

.t-vine-2 {
    right: 10%;
    top: 0;
    height: 150px;
    animation-delay: 1s;
}

.t-vine-3 {
    left: 15%;
    bottom: 0;
    height: 180px;
    animation-delay: 2s;
}

@keyframes vineGrow {
    0%, 100% { transform: scaleY(1); opacity: 0.3; }
    50% { transform: scaleY(1.2); opacity: 0.6; }
}

@media (max-width: 1200px) {
    .team-grid.team-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid,
    .team-grid.team-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid,
    .team-grid.team-grid-5 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   GSAP ANIMATION CLASSES
   ============================================ */

/* Title and fade elements - visible by default for sections without GSAP */
.gsap-title {
    opacity: 1;
    transform: translateY(0);
}

.gsap-fade {
    opacity: 1;
    transform: translateY(0);
}

.gsap-card {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
}

.gsap-gallery {
    opacity: 0;
    transform: scale(0.8);
}

/* Team members - visible by default with CSS animation */
.gsap-team {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    animation: teamMemberFadeIn 0.6s ease-out forwards;
}

.gsap-team:nth-child(1) { animation-delay: 0.1s; }
.gsap-team:nth-child(2) { animation-delay: 0.2s; }
.gsap-team:nth-child(3) { animation-delay: 0.3s; }
.gsap-team:nth-child(4) { animation-delay: 0.4s; }
.gsap-team:nth-child(5) { animation-delay: 0.5s; }

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

/* Section tag styling */
.section-tag {
    display: inline-block;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    color: #e50914;
    letter-spacing: 4px;
    padding: 8px 16px;
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 20px;
    margin-bottom: 15px;
    background: rgba(229, 9, 20, 0.05);
}


/* ============================================
   FAQ SECTION - STRANGER THINGS STYLE
   ============================================ */

.faq-section {
    position: relative;
    padding: 120px 5% 100px;
    overflow: hidden;
    background: #0a0a0a;
    z-index: 10;
}

.faq-section .faq-glow {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #0a0a0a, transparent);
    z-index: 2;
    pointer-events: none;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    z-index: 2;
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(229, 9, 20, 0.5);
    box-shadow: 0 5px 30px rgba(229, 9, 20, 0.1);
}

.faq-item.active {
    border-color: #e50914;
    box-shadow: 0 10px 40px rgba(229, 9, 20, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(229, 9, 20, 0.05);
}

.faq-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 5px rgba(229, 9, 20, 0.5));
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    stroke: #e50914;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-question h3 {
    flex: 1;
    font-family: var(--stranger-font);
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #e50914;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px 60px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-section .section-header,
.contact-section .section-header {
    position: relative;
    z-index: 2;
}

.faq-lights {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.f-light {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: faqLightFlicker 2s infinite;
}

.f-light:nth-child(1) { left: 5%; top: 20%; background: #ff3333; animation-delay: 0s; }
.f-light:nth-child(2) { left: 15%; top: 60%; background: #33ff33; animation-delay: 0.3s; }
.f-light:nth-child(3) { right: 10%; top: 30%; background: #3333ff; animation-delay: 0.6s; }
.f-light:nth-child(4) { right: 5%; top: 70%; background: #ffff33; animation-delay: 0.9s; }
.f-light:nth-child(5) { left: 50%; top: 10%; background: #ff33ff; animation-delay: 1.2s; }

@keyframes faqLightFlicker {
    0%, 100% { opacity: 0.3; box-shadow: 0 0 10px currentColor; }
    50% { opacity: 1; box-shadow: 0 0 20px currentColor, 0 0 40px currentColor; }
}

.gsap-faq {
    opacity: 0;
    transform: translateX(-30px);
}

/* ============================================
   CONTACT SECTION - STRANGER THINGS STYLE
   ============================================ */

.contact-section {
    position: relative;
    padding: 120px 5% 100px;
    overflow: hidden;
    background: #0a0a0a;
    z-index: 10;
}

.contact-section .contact-glow {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(229, 9, 20, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #0a0a0a, transparent);
    z-index: 2;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    z-index: 2;
    pointer-events: none;
}

.contact-container {
    max-width: 1600px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 0;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.3s ease;
}

.contact-card-link {
    text-decoration: none;
    cursor: pointer;
}

.contact-card-link:hover {
    transform: translateX(5px);
    border-color: #e50914;
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.3);
}

.contact-card-link .contact-icon-box {
    transition: transform 0.3s ease;
}

.contact-card-link:hover .contact-icon-box {
    transform: scale(1.1);
}

.contact-card:hover {
    transform: translateX(5px);
    border-color: #e50914;
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.2);
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border: 2px solid rgba(229, 9, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-box svg {
    width: 28px;
    height: 28px;
    stroke: #e50914;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #c9a961;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.9;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-form-wrapper {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 0;
    padding: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(229, 9, 20, 0.2);
    padding: 18px 20px;
    color: #fff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border-radius: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(229, 9, 20, 0.05);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.contact-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #e50914 0%, #b30000 100%);
    border: none;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.4);
    background: linear-gradient(135deg, #ff0a16 0%, #e50914 100%);
}

.contact-submit-btn svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(5px);
}

.contact-submit-btn span {
    position: relative;
    z-index: 1;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-submit-btn:hover::before {
    left: 100%;
}

.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.c-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #e50914;
    border-radius: 50%;
    opacity: 0.2;
    animation: contactFloat 6s ease-in-out infinite;
}

.c-particle:nth-child(1) { left: 10%; top: 30%; animation-delay: 0s; }
.c-particle:nth-child(2) { right: 15%; top: 50%; animation-delay: 1.5s; }
.c-particle:nth-child(3) { left: 20%; bottom: 20%; animation-delay: 3s; }
.c-particle:nth-child(4) { right: 10%; bottom: 30%; animation-delay: 4.5s; }

@keyframes contactFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.5; }
}

.gsap-contact {
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 80px 5% 60px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .contact-card {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon-box {
        margin-bottom: 10px;
    }
}


/* ============================================
   FULL PAGE CHALLENGE SECTIONS
   ============================================ */

.challenges-wrapper {
    position: relative;
    width: 100%;
}

.challenge-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0;
}

.challenge-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Gradient transitions between challenge pages */
.challenge-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #0a0a0a, transparent);
    z-index: 4;
    pointer-events: none;
}

.challenge-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    z-index: 4;
    pointer-events: none;
}

.challenge-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
    transition: transform 0.5s ease;
}

.challenge-page:hover .challenge-bg-img {
    transform: scale(1.05);
}

.challenge-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(10, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.challenge-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    padding: 0 5%;
    width: 100%;
}

.challenge-number-big {
    font-family: var(--stranger-font);
    font-size: clamp(150px, 20vw, 300px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px rgba(229, 9, 20, 0.3);
    text-shadow: 0 0 80px rgba(229, 9, 20, 0.2);
    line-height: 1;
    opacity: 0.5;
}

.challenge-info {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1 !important;
    visibility: visible !important;
}

.challenge-page .challenge-title {
    font-family: var(--stranger-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #e50914;
    text-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
    margin-bottom: 15px;
    letter-spacing: 3px;
    line-height: 1.1;
    opacity: 1 !important;
}

.challenge-page .challenge-tags {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 1 !important;
}

.challenge-page .challenge-tags span {
    padding: 8px 16px;
    background: rgba(229, 9, 20, 0.2);
    border: 1px solid rgba(229, 9, 20, 0.5);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #ff4444;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 1 !important;
}

.challenge-page .challenge-description {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 550px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 1 !important;
    visibility: visible !important;
}

.challenge-page .challenge-meta {
    display: flex !important;
    gap: 40px;
    opacity: 1 !important;
}

.challenge-page .meta-item {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    opacity: 1 !important;
}

.challenge-page .meta-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.challenge-page .meta-value {
    font-family: var(--stranger-font);
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.difficulty-bar {
    display: flex;
    gap: 4px;
}

.difficulty-bar span {
    width: 20px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.difficulty-bar span.filled {
    background: #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.challenge-scroll-hint {
    display: none;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Challenge page animations */
.challenge-page .challenge-content {
    opacity: 1;
    transform: translateY(0);
}

.challenge-page .challenge-number-big {
    opacity: 0.5;
}

.challenge-page .challenge-title,
.challenge-page .challenge-tags span,
.challenge-page .challenge-description,
.challenge-page .meta-item {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .challenge-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .challenge-number-big {
        font-size: clamp(100px, 15vw, 150px);
    }
    
    .challenge-page .challenge-meta {
        justify-content: center;
    }
    
    .challenge-page .challenge-tags {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .challenge-page .challenge-title {
        font-size: 2rem;
    }
    
    .challenge-page .challenge-description {
        font-size: 1rem;
    }
    
    .challenge-page .challenge-meta {
        flex-direction: column;
        gap: 20px;
    }
}


/* ============================================
   ABOUT SECTION - MOUSE REVEAL ANIMATION
   ============================================ */

/* About Section - Mouse Reveal Animation */
.about-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #000, transparent);
    z-index: 20;
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
    z-index: 20;
    pointer-events: none;
}

.about-bg-base {
    position: absolute;
    inset: 0;
    background-image: url('will1.webp');
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.fire-reveal {
    position: absolute;
    inset: 0;
    background-image: url('v1.png');
    background-size: cover;
    background-position: center 40%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.fire-reveal.active {
    opacity: 1;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.about-left {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    pointer-events: auto;
    z-index: 15;
}

.about-left .st-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: #ff1b1b;
    font-family: var(--stranger-font);
    line-height: 1;
    text-shadow:
        0 0 8px rgba(179, 0, 0, 0.6),
        0 0 18px rgba(179, 0, 0, 0.4),
        0 0 40px rgba(255, 0, 0, 0.3);
}

.about-left .st-desc {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.6;
}

.about-left .st-btn {
    font-size: 1rem;
    padding: 15px 30px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 2px solid #e50914;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: var(--stranger-font);
    letter-spacing: 2px;
}

.about-left .st-btn:hover {
    background-color: #e50914;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.6);
    transform: scale(1.05);
}

.about-right {
    position: absolute;
    bottom: 100px;
    right: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
    pointer-events: auto;
    z-index: 15;
}

.about-right .st-title-right {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    width: 470px;
    color: #ff1b1b;
    font-family: var(--stranger-font);
    text-shadow:
        0 0 8px rgba(179, 0, 0, 0.6),
        0 0 18px rgba(179, 0, 0, 0.4);
}

.about-right .st-text {
    font-size: 1.1rem;
    width: 400px;
    color: #ccc;
    line-height: 1.6;
}

.about-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 15;
}

.about-scroll-hint span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-arrow-about {
    font-size: 1.5rem;
    color: #e50914;
    animation: bounceArrow 2s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .about-left {
        width: 300px;
        left: 30px;
        bottom: 30px;
    }
    
    .about-right {
        width: 350px;
        right: 30px;
        bottom: 80px;
    }
    
    .about-right .st-title-right {
        width: 100%;
    }
    
    .about-right .st-text {
        width: 100%;
    }
}

/* DESKTOP VIEW ON MOBILE - About section mobile styles commented out
@media (max-width: 768px) {
    .about-hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 80px;
    }
    
    .about-hero-content {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .about-left {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
    }
    
    .about-right {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        text-align: left;
    }
    
    .about-right .st-title-right,
    .about-right .st-text {
        width: 100%;
    }
    
    .about-left .st-title {
        font-size: 2.5rem;
    }
    
    .about-right .st-title-right {
        font-size: 2rem;
    }
}
*/


/* ============================================
   SKELETON LOADING EFFECTS
   ============================================ */

/* Skeleton shimmer animation */
@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton base class */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(30, 30, 30, 1) 0%,
        rgba(50, 50, 50, 1) 50%,
        rgba(30, 30, 30, 1) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

/* Image skeleton placeholder */
.img-skeleton {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.img-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(229, 9, 20, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    z-index: 1;
}

/* Hide skeleton when image loads */
.img-skeleton.loaded::before {
    display: none;
}

.img-skeleton img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-skeleton.loaded img {
    opacity: 1;
}

/* Gallery skeleton */
.gallery-scroll-item.skeleton-loading {
    background: linear-gradient(
        90deg,
        rgba(20, 20, 20, 1) 0%,
        rgba(40, 20, 20, 1) 50%,
        rgba(20, 20, 20, 1) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.gallery-scroll-item.skeleton-loading img {
    opacity: 0;
}

.gallery-scroll-item img {
    transition: opacity 0.5s ease;
}

/* Challenge page skeleton */
.challenge-bg-img.loading {
    opacity: 0;
}

.challenge-bg-img {
    transition: opacity 0.5s ease;
}

/* Performance optimizations */
.challenge-page,
.gallery-scroll-item,
.about-hero {
    will-change: auto;
    contain: layout style;
}

/* Reduce paint on scroll */
.navbar.scrolled {
    will-change: transform;
}

/* GPU acceleration for animations */
.gallery-scroll-track {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimize images */
img {
    content-visibility: auto;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gallery-scroll-track {
        animation: none !important;
    }
}

/* ============================================
   MOBILE CONTENT VISIBILITY - Spread out overlapping content
   ============================================ */
@media (max-width: 768px) {
    /* About Hero Section - Fix overlapping text */
    .about-hero {
        min-height: auto !important;
        height: auto !important;
        padding: 100px 20px 60px !important;
        overflow: visible !important;
    }
    
    .about-hero-content {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 50px !important;
        height: auto !important;
    }
    
    /* CRITICAL: Override absolute positioning to stack content vertically */
    .about-hero .about-left,
    .about-hero .about-right,
    section.about-hero .about-left,
    section.about-hero .about-right {
        position: relative !important;
        bottom: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        margin-bottom: 30px !important;
    }
    
    .about-left .st-title,
    .about-right .st-title-right {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }
    
    .about-left .st-text,
    .about-right .st-text {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    /* Scroll hint spacing */
    .scroll-hint-text,
    .sequence-scroll-hint {
        margin-top: 30px !important;
    }
    
    /* Navbar - smaller text to fit on mobile */
    .navbar {
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        padding: 10px 15px !important;
    }
    
    .nav-links {
        gap: 10px !important;
    }
    
    .nav-links a {
        font-size: 0.6rem !important;
        letter-spacing: 1px !important;
        padding: 5px 6px !important;
    }
    
    .netflix-logo {
        font-size: 1.8rem !important;
    }
    
    /* Section titles */
    .section-title,
    .st-section-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
    
    /* General content padding */
    .about-section,
    .challenges-section,
    .gallery-section,
    .contact-section {
        padding: 60px 20px !important;
    }
    
    /* Challenge cards spacing */
    .challenge-card {
        margin-bottom: 20px !important;
    }
    
    /* Contact section */
    .contact-grid {
        gap: 20px !important;
    }
    
    .contact-card {
        padding: 25px 20px !important;
    }
    
    /* Fix overlapping Go Back and Register buttons */
    .go-back-btn {
        bottom: 20px !important;
        left: 15px !important;
        padding: 10px 12px !important;
        max-width: 120px !important;
    }
    
    .go-back-text {
        font-size: 9px !important;
        letter-spacing: 1px !important;
    }
    
    .go-back-icon {
        width: 16px !important;
        height: 16px !important;
    }
    
    .register-btn {
        bottom: 20px !important;
        right: 15px !important;
        padding: 10px 15px !important;
        max-width: 140px !important;
    }
    
    .register-text {
        font-size: 9px !important;
        letter-spacing: 1px !important;
    }
    
    .register-icon {
        font-size: 14px !important;
    }
    
    .eleven-number {
        font-size: 1rem !important;
    }
}

/* ============================================
   MOBILE FIXES - ONLY PRIZE & TEAM SECTIONS
   (Other sections keep desktop view on mobile)
   ============================================ */

/* PRIZE SECTION - Mobile layout */
@media (max-width: 768px) {
    .prize-section {
        min-height: auto !important;
        padding: 60px 15px !important;
        overflow: visible !important;
    }
    
    .prize-sticky-wrapper {
        padding: 20px 15px !important;
    }
    
    .prizes-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
    }
    
    .prize-card {
        width: 90% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    .prize-card.prize-1,
    .prize-card.prize-2,
    .prize-card.prize-3 {
        order: 0;
        width: 90% !important;
        max-width: 300px !important;
    }
    
    /* Reorder prizes: 1st, 2nd, 3rd on mobile */
    .prize-card.prize-1 { order: 1; }
    .prize-card.prize-2 { order: 2; }
    .prize-card.prize-3 { order: 3; }
    
    .cycling-track {
        display: none !important;
    }
    
    .school-bus-container {
        display: none !important;
    }
    
    /* Disable pinning on mobile */
    .prize-section.pin-spacer,
    .prize-section[style*="position: fixed"] {
        position: relative !important;
        height: auto !important;
    }
}

/* TEAM SECTION - Mobile layout with equal card sizes */
@media (max-width: 768px) {
    .team-section {
        padding: 80px 20px !important;
    }
    
    .team-grid,
    .team-grid.team-grid-5 {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        align-items: center !important;
    }
    
    .team-member {
        width: 100% !important;
        max-width: 320px !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .member-card {
        width: 100% !important;
        min-height: 320px !important;
        height: 320px !important;
        padding: 25px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .member-photo {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 15px !important;
    }
    
    .member-name {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .member-role {
        font-size: 0.75rem !important;
    }
    
    .member-lights {
        margin-top: auto !important;
    }
}

/* FOOTER - Always visible, no animations (applies to all screen sizes) */
.footer {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.footer-main,
.footer-brand,
.footer-nav,
.footer-info,
.footer-connect,
.footer-bottom,
.footer-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Disable GSAP pinning on mobile for prize section */
@media (max-width: 768px) {
    .pin-spacer {
        padding: 0 !important;
        height: auto !important;
    }
    
    .pin-spacer > .prize-section {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
    }
}
