/* 24BURN Custom Scrollytelling Styles */

/* Base & Typography Overrides */
:root {
    --burn-lime: #84cc16;
    /* Lime 500 */
    --burn-lime-glow: #bef264;
    /* Lime 300 for glows */
    --burn-dark: #0B0F19;
}

/* Scrollytelling Layout */
.scrolly-container {
    height: 400vh;
    /* 4x screen height for long scroll */
    position: relative;
    background-color: var(--burn-dark);
}

.scrolly-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video Background */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
    /* Slightly darker than LIV for better contrast with Lime */
    /* Hardware acceleration for smoothness */
    transform: translateZ(0);
    will-change: opacity;
}

/* Overlay Gradient to ensure text pop */
.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(11, 15, 25, 0.9) 90%);
    z-index: 2;
    pointer-events: none;
}

/* Text Content Wrapper */
.scrolly-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* Individual Scenes */
.scene {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Apple-style ease */
    pointer-events: none;
    /* Let clicks pass through inactive scenes */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scene.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Scene Typography */
.scene-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    /* Responsive giant text */
    font-weight: 700;
    line-height: 1;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.scene-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.neon-highlight {
    color: var(--burn-lime);
    text-shadow: 0 0 20px rgba(132, 204, 22, 0.4);
}

/* CTA Button Specifics */
.burn-cta {
    margin-top: 40px;
    padding: 20px 50px;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg, #65a30d 0%, #4d7c0f 100%);
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(101, 163, 13, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.burn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(101, 163, 13, 0.6);
    filter: brightness(1.1);
}

/* Indicator Logic */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 20;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}