/* ===== PARALLAX SCENE (hero-contained, absolute positioned) ===== */
/* Layers live inside #hero — overflow: hidden clips them to the hero viewport */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Mobile / tablet: parallax JS skips all transforms at ≤1024px, layers sit static */
@media (max-width: 1024px) {
    .parallax-layer {
        transform: none !important;
    }

    #layer-5 {
        display: none;
    }
}

/* Layer 1 — Crowd video — full backdrop */
#layer-1 {
    z-index: 1;
    inset: 0;
}

#layer-1 video,
#layer-5 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Layer 5 — Spotlight video — full frame, screen blend */
#layer-5 {
    z-index: 5;
    mix-blend-mode: screen;
}

#layer-5 video {
    object-position: 80% center;
    transform: translateX(3%);
    transform-origin: center center;
}


/* ===== HERO SECTION ===== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
    z-index: 10;
}

/* Bottom fade — soft transition, ring stays visible through */
.hero__gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.3) 40%, transparent 100%);
    z-index: 11;
    pointer-events: none;
}

/* Arena vignette — darkens edges, simulates overhead lighting */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 0%, rgba(10,10,10,0.3) 70%, rgba(10,10,10,0.65) 100%);
    z-index: 10;
    pointer-events: none;
}


/* ===== HERO CONTENT ===== */
.hero__content {
    position: relative;
    z-index: 12;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0 20px 100px;
    max-width: 900px;
}

.hero__logo {
    width: clamp(260px, 38vw, 480px);
    height: auto;
    filter: drop-shadow(0 0 60px rgba(201, 168, 76, 0.3)) drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
    animation: hero-logo-in 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.6vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    animation: hero-content-in 1.2s 0.3s ease both;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: hero-content-in 1.2s 0.5s ease both;
}

@media (max-width: 600px) {
    .hero__ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero__ctas .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 24px;
        font-size: 0.8rem;
    }
}

@keyframes hero-logo-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hero-content-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.hero__scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: scroll-hint 2s ease-in-out infinite;
}

.hero__scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.hero__scroll-hint svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
}

@keyframes scroll-hint {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(6px);
    }
}

/* ===== CURSOR GLOW (desktop only, created dynamically by JS) ===== */
.hero__cursor-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.13) 0%,
        rgba(201, 168, 76, 0.05) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}

@media (max-width: 1024px) {
    .hero__cursor-glow {
        display: none;
    }
}