/* ===================================================== */
/* CINEMATIC VSL SECTION */
/* ===================================================== */

/* ----------------------------------------------------- */
/* CONTAINER */
/* ----------------------------------------------------- */

.vsl-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* ----------------------------------------------------- */
/* BACKGROUND VIDEO */
/* ----------------------------------------------------- */

.vsl-bg-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    z-index: 0;
    /* Base layer */
}

/* ----------------------------------------------------- */
/* PRE-PLAY GRADIENT */
/* ----------------------------------------------------- */

.vsl-gradient {
    position: absolute;
    inset: 0;

    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;

    z-index: 1;
    /* Above video */

    background:
        linear-gradient(to bottom,
            rgba(var(--bg-soft-rgb), 1) 0%,
            rgba(var(--bg-hard-rgb), 0.1) 2%,
            rgba(var(--bg-hard-rgb), 0.2) 70%,
            rgba(var(--bg-hard-rgb), 0.1) 98%,
            rgba(var(--bg-soft-rgb), 1) 100%);
}

.vsl-gradient.hidden {
    opacity: 0;
}

/* ----------------------------------------------------- */
/* TEXT OVERLAY */
/* ----------------------------------------------------- */

.vsl-overlay {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #ffffff;

    padding: 2rem 2rem;
    max-width: 800px;

    transition: opacity 0.5s ease;

    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.vsl-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.vsl-overlay h2 {
    font-size: 4rem;
    font-weight: 600;
    margin-top: 15rem;
    margin-bottom: 1rem;
}

.vsl-overlay p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ----------------------------------------------------- */
/* PLAY BUTTON */
/* ----------------------------------------------------- */

.vsl-play-btn {
    background: rgba(var(--bg-soft-rgb), 0.85);
    border: none;

    width: 80px;
    height: 80px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vsl-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.vsl-play-icon {
    width: 28px;
    height: 28px;

    fill: var(--accent);
    /* 🎯 your brand color */
}

.vsl-play-btn {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    /* already flex for icon centering */
    margin: 0 auto;
    /* this centers it horizontally */
}

.vsl-play-btn-box {
    text-align: center;
}

.vsl-play-icon {
    transform: translateX(2px);
    width: 40px;
    height: 40px;
    fill: var(--accent);
}

/* ----------------------------------------------------- */
/* CTA LAYER (AFTER VIDEO ENDS) */
/* ----------------------------------------------------- */

.vsl-cta-layer {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 10;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.6s ease;
}

/* Backdrop */
.vsl-cta-layer::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.20)
    );

    pointer-events: none;

    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Make the anchor explicitly above backdrop */
.vsl-cta-layer a {
    position: relative;
    z-index: 2;
}

/* Active */
.vsl-cta-layer.active {
    opacity: 1;
    pointer-events: auto;
}

.vsl-cta-layer.active::before {
    opacity: 1;
}
/* ----------------------------------------------------- */
/* RESPONSIVE REFINEMENT */
/* ----------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
    .vsl-hero {
        min-height: 75vh;
    }

    .vsl-overlay h2 {
        font-size: 2.2rem;
    }

    .vsl-overlay p {
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .vsl-hero {
        min-height: 65vh;
    }

    .vsl-overlay {
        padding: 1.5rem;
    }

    .vsl-overlay h2 {
        font-size: 1.8rem;
    }

    .vsl-overlay p {
        font-size: 1rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .vsl-hero {
        min-height: 60vh;
    }

    .vsl-overlay h2 {
        font-size: 1.6rem;
    }

    .vsl-overlay p {
        font-size: 0.95rem;
    }
}