/* ==========================================================================
           14. CINEMATIC VIDEO CARD SHOWCASE SECTION (FULL PRODUCTION CSS)
           ========================================================================== */

.cinematic-video-reveal-section {
    position: relative;
    width: 100%;
    /* height is set dynamically in JS — it depends on viewport height,
       so it can't be a fixed CSS value */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #050505;
    z-index: 1;
}

.video-section-overlay {
    position: sticky;   /* intentional here — this is the ONLY sticky/pin
                            mechanism controlling this section now, so
                            there's nothing left for it to conflict with */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

        /* Card Panel Container */
        .video-static-card-container {
            position: relative;
            width: 300px;   
            height: 400px;  
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transform-origin: center center;
            will-change: transform, border-radius;
            transition: border-radius 0.1s ease-out;
        }

        /* Background running HTML5 Video Track Configuration */
        .card-embedded-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; 
            z-index: 1;
            background-color: #000000;
        }

		.video-text-content-mobile {display:none}
        /* Core textual typography layouts overlaying the running video inside the card */
        .video-text-content {
            position: absolute;
            z-index: 5;
            text-align: center;
            color: #ffffff;
            pointer-events: none; 
            width: 100%;
            padding: 0 20px;
            will-change: opacity;
        }

        .video-card-main-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin: 0;
            letter-spacing: -0.5px;
            font-family: sans-serif;
        }

        .video-card-subtitle {
            font-size: 2.8rem;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin: -5px 0 0 -17px;
            font-family: sans-serif;
        }

        /* DYNAMIC SPLIT TEXT STYLING ("Experience E-Motorcycles") */
        .split-text-container {
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            padding: 0 10%;
            z-index: 20;
            pointer-events: none;
            opacity: 0;
            will-change: opacity;
        }

        .split-text {
            color: #ffffff;
            font-size: 3.5rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: -1px;
            font-family: "Inter", sans-serif;
            will-change: transform;
        }

        /* FIXED LAYER POSITIONING FOR THE UNDER-VIDEO TEXT GUIDE */
        .vid_text_under {
            position: absolute !important;
            bottom: 5% !important;
            left: 50% !important;
            transform: translateX(-50%) translateZ(0) !important; 
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            width: 100% !important;
            max-width: 320px !important;
            color: #BEDBFF !important;
            font-weight: 500 !important;
            font-size: 16px !important;
            font-family: "Inter", sans-serif !important;
            z-index: 15;
            will-change: opacity;
        }

        .vid_text_under span:first-child {
            text-transform: uppercase !important;
            letter-spacing: 2px !important;
            font-size: 13px !important;
            opacity: 0.8 !important;
            margin-bottom: 6px !important;
        }

        .vid_text_under span:last-child {
            font-size: 16px !important;
            opacity: 1 !important;
        }

        /* Responsive Optimization Controls */
        @media (max-width: 768px) {
            .split-text { font-size: 1.8rem; }
            .split-text-container { padding: 0 5%; }
        }

        @media (max-width: 575.98px) {
            .video-static-card-container {
                width: 280px;
                height: 420px;
            }
            .vid_text_under {
                bottom: 3% !important;
            }
            .vid_text_under span:last-child {
                font-size: 14px !important;
            }
        }

/* ------------------------------------------ */
@media (max-width: 768px) {
    .cinematic-video-reveal-section {
        height: auto !important;
    }
    .video-section-overlay {
        position: relative;
        height: auto;
        padding: 60px 0;
    }
    .video-static-card-container {
        transform: none !important;
        border-radius: 28px !important;
    }
    .split-text-container {
        display: none !important;
    }
    .video-text-content {
        display: none;
    }
    .video-text-content-mobile {
        display: block;
        position: absolute;
        opacity: 1 !important;
        margin-top: 20px;
        background: transparent;
        color: #fff;
    }
    .vid_text_under {
        display: none !important;
    }
}