/* Container for the content cards section */
.content-preview-container {
    padding: 0 15px;
    max-width: 100%;
    margin-bottom: 40px;
}

.content-preview-container h1 {
    font-size: 30px;
    margin: 20px 0;
    color: #fff;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
}

/* Flex container for the 3 main cards */
.content-cards-wrapper {
    display: flex;
    justify-content: center;
    /* Center on desktop */
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    flex-wrap: wrap;
    /* Wrap on smaller screens if needed, or scroll */
}

/* Individual Card Style */
.content-video-card {
    background-color: #141414;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    /* Fixed width for consistency */
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.content-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(229, 9, 20, 0.7);
}

/* Info Header above video */
.card-info-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #141414;
    gap: 10px;
    background: #141414;
    border-top: 1px solid #333;
}

.card-info-header h2 {
    margin: 0;
    color: #E50914;
    font-size: 24px;
    font-family: 'Bebas Neue', sans-serif;
}

.card-info-header span {
    color: #FFF;
    font-size: 16px;
    font-family: 'Bebas Neue', sans-serif;
}

/* Video Swiper Container (Horizontal Scroll) */
/* Video Swiper Container Wrapper (Holds scroller + buttons) */
.card-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
}

/* Video Swiper Scroller (Horizontal Scroll) */
.card-video-scroller {
    display: flex;
    overflow-x: hidden;
    /* Disable manual scroll */
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100%;
    /* Fill container */
    scroll-behavior: smooth;
}

/* Navigation Buttons */
.card-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s;
}

.card-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.card-nav-btn.prev {
    left: 10px;
}

.card-nav-btn.next {
    right: 10px;
}

.video-slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a0a0a;
}

/* When video has poster loaded */
.video-slide-item.has-poster {
    background: #000;
}

.video-slide-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    background-color: transparent;
}


/* Play Icon Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Let clicks pass through to video/container */
    opacity: 0.8;
    transition: opacity 0.3s;
}

.play-overlay i {
    font-size: 48px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hidden state for overlay */
.play-overlay.hidden {
    opacity: 0;
}

/* Swipe Indicator (optional hint) */
.swipe-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-cards-wrapper {
        justify-content: flex-start;
        /* Left align on mobile for scrolling */
        flex-wrap: nowrap;
        padding-left: 15px;
        /* Offset for scroll start */
    }

    /* Center single card layouts (like Trust Me) on mobile */
    .content-cards-wrapper:has(.content-video-card:only-child) {
        justify-content: center;
        padding-left: 0;
    }

    .content-video-card {
        width: 75vw;
        /* Slightly smaller on mobile */
        max-width: 300px;
    }
}

/* Focus Mode - Blur Inactive Cards */
.content-cards-wrapper.has-active-card .content-video-card {
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.content-cards-wrapper.has-active-card .content-video-card:not(.active-card) {
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
    /* Prevent interaction with blurred cards */
}

.content-video-card.active-card {
    filter: blur(0);
    opacity: 1;
    z-index: 10;
    transform: scale(1.02);
    /* Slight scale up for focus */
}

/* Mute Toggle Button */
.mute-control {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.mute-control:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mute-control i {
    font-size: 16px;
}

/* ==========================================================================
   NEW: Grid Layout (Vimeo/YouTube style) for Our Content Previews
   ========================================================================== */

.content-preview-container .video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 16px;
    width: 100%;
    margin-top: 24px;
}

/* Video Card (Grid Version) */
.video-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.video-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-thumb-container:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.video-thumb-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Duration Badge */
.duration-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

/* Metadata */
.video-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.video-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-stats {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Paywall CTA */
.content-grid-paywall {
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}

.show-more-btn {
    order: 1;
    /* Renders after .locked-row (bottom of the flex column) */
    width: 100%;
    max-width: 600px;
    padding: 12px;
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.show-more-btn:hover {
    background: #333;
}

/* Locked Row */
.content-preview-container .locked-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    width: 100%;
    opacity: 0.8;
    /* Increased for better thumbnail visibility */
    cursor: pointer;
    /* Signify interactivity */
    /* Signify interactivity */
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    height: 120px;
}

.locked-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.locked-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.locked-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.locked-overlay {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark restricted overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 2;
}

.locked-overlay i {
    font-size: 18px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.locked-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-teaser-card {
    display: none;
}

/* Responsive Breakpoints (Grid) */
@media (max-width: 1200px) {
    .content-preview-container .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .content-preview-container .locked-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .locked-card:nth-child(5) {
        display: none;
    }
}

@media (max-width: 900px) {
    .content-preview-container .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-preview-container .locked-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .locked-card:nth-child(4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .content-preview-container {
        padding: 0;
        margin-top: 20px;
        overflow-x: hidden;
        /* Prevent horizontal scroll leak */
    }

    .content-preview-container h1 {
        padding-left: 16px;
        font-size: 24px;
        margin-bottom: 20px;
        text-align: left;
        /* YouTube mobile style */
    }

    .content-preview-container .video-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        /* Comfortable spacing like YouTube */
        margin-top: 0;
    }

    .content-preview-container .video-card {
        gap: 12px;
        width: calc(100% - 32px);
        margin: 0 auto;
        /* Centralize the card */
        border: 1px solid rgba(255, 255, 255, 0.1);
        /* Add borders */
        border-radius: 16px;
        background: #15171A;
        padding-bottom: 16px;
        overflow: hidden;
    }

    .content-preview-container .video-thumb-container {
        border-radius: 0;
        /* Thumb takes full width of the card now */
        margin: 0;
        aspect-ratio: 16 / 9;
    }

    .content-preview-container .video-meta {
        padding: 0 16px;
    }

    .content-preview-container .video-title {
        font-size: 15px;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }

    .content-preview-container .video-stats {
        font-size: 13px;
        margin-top: 4px;
    }

    .content-grid-paywall {
        padding: 24px 0;
        /* Full width mobile */
    }

    .show-more-btn,
    .content-preview-container .locked-row {
        display: none !important;
    }

    .mobile-teaser-card {
        display: block;
        width: 100%;
        cursor: pointer;
    }

    .teaser-thumb-container {
        position: relative;
        width: calc(100% - 24px);
        /* Match free previews horizontal margin */
        margin: 0 12px;
        height: 180px;
        /* Increased to show more image clearly */
        border-radius: 12px;
        overflow: hidden;
        background: #000;
        border: none;
    }

    .teaser-thumb-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
        display: block;
    }

    /* Strong dark gradient overlay to make CTA pop */
    .teaser-thumb-container::after {
        display: none;
    }

    /* Small badge style like requested */
    .teaser-lock-badge {
        display: none;
    }

    .teaser-lock-badge i {
        color: #fff;
        font-size: 14px;
    }

    /* Centered CTA Button Container */
    .teaser-cta-container {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-end;
        /* Position near bottom */
        justify-content: center;
        padding-bottom: 24px;
        /* Space from bottom edge */
        z-index: 3;
    }

    /* Match Desktop Pill Button exactly */
    .teaser-pill-btn {
        width: 90%;
        max-width: 340px;
        padding: 12px;
        background: #1f1f1f;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        color: #fff;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        /* Slightly smaller for mobile pill */
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
}


/* =========================================
   WATCH VIEW OVERLAY STYLES
   ========================================= */

.watch-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.watch-view-overlay.hidden {
    display: none;
}

/* Header */
.watch-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 200;
    /* high enough to stay above comments panel and any flex children */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.close-watch-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.watch-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: #fff;
}

.watch-view-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Top Banner inside Watch View */
.watch-ads-banner {
    width: 100%;
    background: #111;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.watch-ads-banner img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Main Grid: Player + Sidebar */
.watch-main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    /* Player takes rest, Sidebar fixed 300px */
    gap: 24px;
    margin-bottom: 40px;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Custom Remaining Time Display */
.remaining-time-display {
    position: absolute;
    bottom: 60px;
    /* Position above native controls area */
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    pointer-events: none;
    transition: opacity 0.3s;
}

.watch-video-info {
    margin-top: 16px;
}

.watch-video-info h2 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.watch-video-meta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #aaa;
}

/* Sidebar */
.sidebar-ad-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: #1a1a1a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    border: 1px dashed #333;
}

.sidebar-ad-placeholder img {
    max-width: 100%;
    border-radius: 8px;
}

/* Related Videos — Desktop Vertical Grid */
.watch-related-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: 16px;
    color: #fff;
}

.watch-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    /* No overflow-x — vertical scroll only */
}

.related-card {
    /* no fixed min-width — fills grid column */
    width: 100%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.related-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.related-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 11px;
    padding: 2px 4px;
    border-radius: 4px;
}

.related-info {
    padding: 10px;
}

.related-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-views {
    font-size: 12px;
    color: #aaa;
}

/* ── Ad-filler card (9th slot when comments closed) ── */
.related-card--ad {
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.related-card--ad:hover {
    filter: brightness(1.12);
}

.related-card--ad:active {
    transform: scale(0.98);
}

.ad-thumb-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #0f0f0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    /* card already clips via overflow:hidden */
}

.ad-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    user-select: none;
}

.ad-title-placeholder {
    /* Empty shimmer bar — subtle, not jarring */
    height: 12px;
    width: 70%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

@media (min-width: 1024px) {

    /* Also explicitly hide when split-active (belt-and-suspenders with nth-child rule) */
    .watch-below-player.split-active .related-card--ad {
        display: none !important;
    }
}


.watch-locked-teaser {
    display: none;
    /* Hidden on desktop */
}

/* Scroll arrows wrapper (desktop related videos) */
.watch-related-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-scroll-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.related-scroll-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Desktop Locked Section */
.watch-locked-desktop {
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
}

/* Locked cards container: relative for gradient overlay */
.watch-locked-cards {
    position: relative;
}

/* Gradient overlay + CTA pill on top of locked cards */
.watch-locked-cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.92) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    pointer-events: none;
    z-index: 5;
}

.watch-locked-cta-btn {
    pointer-events: all;
    padding: 14px 32px;
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: background 0.2s, transform 0.15s;
}

.watch-locked-cta-btn:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
}

.watch-locked-header {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #888;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.watch-locked-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.watch-locked-card-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
}

.watch-locked-card-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.watch-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watch-locked-badge {
    display: none;
}

/* Gradient CTA overlay: bottom ~30% of locked teaser, pill centered */
.watch-locked-cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 14px;
    pointer-events: none;
    z-index: 5;
}

.watch-locked-cta-btn {
    pointer-events: all;
    padding: 12px 28px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
    transition: background 0.2s, transform 0.15s;
}

.watch-locked-cta-btn:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
}

/* =========================================
   MOBILE RESPONSIVENESS (<768px)
   ========================================= */
@media (max-width: 768px) {
    .watch-view-content {
        padding: 0;
    }

    .watch-main-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 24px;
    }

    /* Player full width */
    .video-player-wrapper {
        border-radius: 0;
        /* Full bleed on mobile */
    }

    .watch-video-info {
        padding: 0 16px;
    }

    /* Ads below info */
    .watch-sidebar {
        padding: 16px;
        order: -1;
        /* Move sidebar UP if you want, or keep below player. 
                      User requested: Ads banner top -> Player -> Related -> Locked.
                      The 'sidebar' here acts as a secondary ad slot. Let's hide it or style it as banners. */
        display: none;
        /* Hiding sidebar on mobile to follow strict layout request: Top Ad -> Player -> Related */
    }

    /* Watch Top Banner */
    .watch-ads-banner {
        border-radius: 0;
        margin-bottom: 0;
    }

    /* Related Videos — 2-column grid on mobile */
    .watch-related-section {
        padding: 0 12px;
    }

    .watch-related-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 equal columns */
        gap: 12px;
        overflow-x: visible;
    }

    /* Card: thumbnail on top, info below — standard card style */
    .related-card {
        width: 100%;
        display: block;
        /* override desktop flex-row */
        gap: 0;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        overflow: hidden;
        padding-bottom: 0;
        border-bottom: none;
    }

    .related-thumb {
        width: 100%;
        /* full card width */
        min-width: unset;
        aspect-ratio: 16 / 9;
        border-radius: 0;
        /* corners handled by .related-card */
        overflow: hidden;
    }

    .related-info {
        padding: 8px;
        display: block;
        /* reset from flex on desktop */
    }

    .related-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* 1 line with "..." */
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        font-size: 13px;
        margin-bottom: 2px;
    }

    /* Mobile locked cards (inside .watch-locked-teaser area) */
    .mobile-locked-cards-row {
        display: flex;
        flex-direction: row;
        gap: 12px;
        margin-bottom: 16px;
    }

    .mobile-locked-card {
        flex: 1 1 0;
        min-width: 0;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
    }

    .mobile-locked-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        display: block;
        mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    }

    .mobile-locked-card-badge {
        display: none;
    }

    /* Mobile Locked Teaser */
    .watch-locked-teaser {
        display: block;
        /* Show on mobile */
        padding: 0 16px 48px;
        margin-top: 24px;
    }

    /* Hide the big static teaser card inside Watch View — 2-card JS grid replaces it */
    .watch-view-overlay .watch-locked-teaser .mobile-teaser-card {
        display: none !important;
    }

    /* The 2-card locked mini-grid row: position relative for overlay */
    .mobile-locked-cards-row {
        position: relative;
    }

    /* Gradient overlay: bottom ~30% of the cards row */
    .mobile-locked-cta-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 12px;
        pointer-events: none;
        z-index: 5;
    }

    .mobile-locked-cta-btn {
        pointer-events: all;
        padding: 11px 24px;
        background: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        color: #fff;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
        white-space: nowrap;
    }

    /* Hide desktop-only elements on mobile */
    .watch-locked-desktop {
        display: none;
    }

    .related-scroll-btn {
        display: none;
    }

    .watch-related-wrapper {
        display: block;
    }
}