/* ================================================================
   APHIM SUPER — DESKTOP HERO CINEMATIC SHOWCASE (v125)
   Ultra-Premium Cinema Layout blending Mâm Phim + APhim
   Strictly hidden on Mobile (< 1024px)
   ================================================================ */

/* ── Hidden on Mobile & Tablet (< 1024px) ── */
@media (max-width: 1023px) {

    #desktopHeroShowcase,
    .desktop-hero-showcase,
    .hero-section {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
}

/* ── Desktop Show & Full-Bleed Cinema Layout ── */
@media (min-width: 1024px) {

    /* 1. Header Transparent on Top (Ảnh tràn lên trên thanh Header, chữ luôn sáng rõ) */
    body {
        padding-top: 0 !important;
    }

    #sofa-header:not(.scrolled),
    header#sofa-header:not(.scrolled),
    header:not(.scrolled),
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled),
    body:has(#desktopHeroShowcase) header#sofa-header:not(.scrolled),
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled),
    html.light-mode #sofa-header:not(.scrolled),
    html.light-mode header#sofa-header:not(.scrolled),
    html.light-mode header:not(.scrolled) {
        background: transparent !important;
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        transition: background 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease !important;
    }

    /* Đảm bảo toàn bộ menu nav links luôn màu trắng sáng khi header trong suốt (cả Dark và Light mode) - trừ Reels và Phim Ngắn */
    #sofa-header:not(.scrolled) .sofa-nav-item:not(.reels-nav-pill):not(.phim-ngan-nav-pill),
    header#sofa-header:not(.scrolled) .sofa-nav-item:not(.reels-nav-pill):not(.phim-ngan-nav-pill),
    html.light-mode #sofa-header:not(.scrolled) .sofa-nav-item:not(.reels-nav-pill):not(.phim-ngan-nav-pill),
    html.light-mode header#sofa-header:not(.scrolled) .sofa-nav-item:not(.reels-nav-pill):not(.phim-ngan-nav-pill),
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-nav-item:not(.reels-nav-pill):not(.phim-ngan-nav-pill),
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-nav-item:not(.reels-nav-pill):not(.phim-ngan-nav-pill) {
        color: #ffffff !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
        font-weight: 600 !important;
    }

    #sofa-header:not(.scrolled) .sofa-dropdown-arrow,
    header#sofa-header:not(.scrolled) .sofa-dropdown-arrow,
    html.light-mode #sofa-header:not(.scrolled) .sofa-dropdown-arrow,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-dropdown-arrow,
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-dropdown-arrow {
        fill: #ffffff !important;
    }

    #sofa-header:not(.scrolled) .sofa-menu-btn,
    #sofa-header:not(.scrolled) .sofa-menu-btn svg,
    header#sofa-header:not(.scrolled) .sofa-menu-btn,
    header#sofa-header:not(.scrolled) .sofa-menu-btn svg,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-menu-btn,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-menu-btn svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }

    @media (min-width: 1024px) {
        html.light-mode #sofa-header:not(.scrolled) .sofa-menu-btn,
        html.light-mode #sofa-header:not(.scrolled) .sofa-menu-btn svg,
        html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-menu-btn,
        html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-menu-btn svg {
            color: #ffffff !important;
            stroke: #ffffff !important;
        }
    }

    /* Thanh tìm kiếm trong suốt cao cấp khi ở đỉnh trang */
    #sofa-header:not(.scrolled) .sofa-desktop-search-form,
    header#sofa-header:not(.scrolled) .sofa-desktop-search-form,
    html.light-mode #sofa-header:not(.scrolled) .sofa-desktop-search-form,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-form,
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-form {
        background: rgba(255, 255, 255, 0.16) !important;
        border: 1px solid rgba(255, 255, 255, 0.26) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    }

    #sofa-header:not(.scrolled) .sofa-desktop-search-input,
    html.light-mode #sofa-header:not(.scrolled) .sofa-desktop-search-input,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-input,
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-input {
        color: #ffffff !important;
    }

    #sofa-header:not(.scrolled) .sofa-desktop-search-input::placeholder,
    html.light-mode #sofa-header:not(.scrolled) .sofa-desktop-search-input::placeholder,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-input::placeholder,
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-input::placeholder {
        color: rgba(255, 255, 255, 0.75) !important;
    }

    #sofa-header:not(.scrolled) .sofa-desktop-search-icon,
    html.light-mode #sofa-header:not(.scrolled) .sofa-desktop-search-icon,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-icon,
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-desktop-search-icon {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    #sofa-header:not(.scrolled) .sofa-inner-filter-btn,
    html.light-mode #sofa-header:not(.scrolled) .sofa-inner-filter-btn,
    body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-inner-filter-btn,
    html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-inner-filter-btn {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
    }

    @media (min-width: 1024px) {
        body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-icon-circle-btn,
        body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .nav-bell-trigger,
        body.has-desktop-hero #sofa-header:not(.scrolled) .sofa-icon-circle-btn,
        body.has-desktop-hero #sofa-header:not(.scrolled) .nav-bell-trigger,
        html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-icon-circle-btn,
        html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .nav-bell-trigger,
        html.light-mode body.has-desktop-hero #sofa-header:not(.scrolled) .sofa-icon-circle-btn,
        html.light-mode body.has-desktop-hero #sofa-header:not(.scrolled) .nav-bell-trigger {
            background-color: rgba(255, 255, 255, 0.16) !important;
            border-color: rgba(255, 255, 255, 0.28) !important;
            color: #ffffff !important;
        }

        body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-icon-circle-btn svg,
        body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .nav-bell-trigger svg,
        body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .nav-bell-icon,
        body.has-desktop-hero #sofa-header:not(.scrolled) .sofa-icon-circle-btn svg,
        body.has-desktop-hero #sofa-header:not(.scrolled) .nav-bell-trigger svg,
        body.has-desktop-hero #sofa-header:not(.scrolled) .nav-bell-icon,
        html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .sofa-icon-circle-btn svg,
        html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .nav-bell-trigger svg,
        html.light-mode body:has(#desktopHeroShowcase) #sofa-header:not(.scrolled) .nav-bell-icon,
        html.light-mode body.has-desktop-hero #sofa-header:not(.scrolled) .sofa-icon-circle-btn svg,
        html.light-mode body.has-desktop-hero #sofa-header:not(.scrolled) .nav-bell-trigger svg,
        html.light-mode body.has-desktop-hero #sofa-header:not(.scrolled) .nav-bell-icon {
            stroke: #ffffff !important;
            color: #ffffff !important;
            fill: none !important;
        }
    }

    /* Khi cuộn trang xuống (> 50px): Header đổi sang kính mờ sang trọng */
    #sofa-header.scrolled,
    header#sofa-header.scrolled {
        background: rgba(20, 24, 36, 0.95) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55) !important;
    }

    html.light-mode #sofa-header.scrolled,
    html.light-mode header#sofa-header.scrolled {
        background: rgba(245, 240, 230, 0.96) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border-bottom: 1px solid #e7e0d3 !important;
        box-shadow: 0 4px 20px rgba(78, 64, 45, 0.08) !important;
    }

    /* Banner quảng cáo Top nổi trên Hero (Không đẩy Hero Showcase xuống) */
    body.has-desktop-hero .aphim-ad-top-wrapper,
    body:has(#desktopHeroShowcase) .aphim-ad-top-wrapper {
        position: absolute !important;
        top: 72px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 60 !important;
        padding: 0 !important;
        margin: 0 auto !important;
        pointer-events: none !important;
    }

    body.has-desktop-hero .aphim-ad-top-wrapper .aphim-ad-top-box,
    body:has(#desktopHeroShowcase) .aphim-ad-top-wrapper .aphim-ad-top-box {
        pointer-events: auto !important;
        filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.7));
    }



    /* 2. Hero Container: 100vh TUYỆT ĐỐI, TỪ TOP 0 ĐẾN ĐÁY MÀN HÌNH ĐẦU TIÊN */
    #desktopHeroShowcase,
    .desktop-hero-showcase {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-x: clip !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
        background-color: transparent !important;
        background: transparent !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        z-index: 10 !important;
        cursor: grab !important;
    }

    #desktopHeroShowcase:active,
    #desktopHeroShowcase.is-dragging {
        cursor: grabbing !important;
    }

    /* Đảm bảo các phần tử tương tác vẫn giữ cursor pointer riêng biệt */
    #desktopHeroShowcase a,
    #desktopHeroShowcase button,
    #desktopHeroShowcase input,
    #desktopHeroShowcase .hero-thumb-item,
    #desktopHeroShowcase .hero-genre-pill,
    #desktopHeroShowcase .hero-play-circle-btn,
    #desktopHeroShowcase .hero-actions-pill,
    #desktopHeroShowcase .interests-section,
    #desktopHeroShowcase .interest-card {
        cursor: pointer !important;
    }

    /* 3. Ảnh nền Hero: Dual-Layer 60fps Cinema Crossfade & Smooth Slide (Không giật, Không chớp nhoáng) */
    #desktopHeroShowcase .hero-bg-layer,
    #desktopHeroShowcase #heroImage {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        object-position: center 20% !important;
        filter: brightness(1.02) contrast(1.02) !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transform: translateZ(0);
        will-change: opacity, transform;
        pointer-events: none !important;
        -webkit-user-drag: none !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }

    #desktopHeroShowcase #heroImageLayerA {
        z-index: 1;
    }

    #desktopHeroShowcase #heroImageLayerB {
        z-index: 2;
    }

    /* ── HIỆU ỨNG CHUYỂN NỘI DUNG BÊN TRÁI: MƯỢT MÀ TỪ TRÁI VÀO (CHUYỂN CẢNH ĐỒNG BỘ ĐIỆN ẢNH) ── */
    #desktopHeroShowcase .hero-info-col {
        will-change: opacity, transform;
        transform: translateZ(0) translateX(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Gradient bóng tối bên trái: Nổi bật chữ mà KHÔNG phủ sương mờ lên nhân vật */
    #desktopHeroShowcase .hero-left-blend {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
                rgba(8, 10, 18, 0.88) 0%,
                rgba(8, 10, 18, 0.65) 28%,
                rgba(8, 10, 18, 0.20) 48%,
                transparent 70%) !important;
        z-index: 2;
        pointer-events: none;
    }

    /* Gradient đỉnh: Tắt hoàn toàn để đỉnh ảnh trong trẻo sáng rõ nguyên bản */
    #desktopHeroShowcase .hero-top-blend {
        display: none !important;
    }


    /* Nền dynamic trong suốt 100% không để lại vệt màu */
    #desktopHeroShowcase .hero-bg-holder {
        background-color: transparent !important;
        background: transparent !important;
    }

    /* Gradient đáy: Hòa quyện mượt mà vào nền trang 100% không để lại vết ngăn cách (Dark Mode) */
    #desktopHeroShowcase .hero-bottom-blend {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 360px !important;
        background: linear-gradient(180deg,
                transparent 0%,
                rgba(31, 35, 49, 0.12) 20%,
                rgba(31, 35, 49, 0.45) 45%,
                rgba(31, 35, 49, 0.85) 75%,
                #1f2331 92%,
                #1f2331 100%) !important;
        z-index: 2;
        pointer-events: none;
    }

    /* 4. Khu vực nội dung phim chính (Căn lề đồng bộ chuẩn container 1540px) */
    #desktopHeroShowcase #heroContent {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 1540px !important;
        margin: 0 auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-top: 76px !important;
        /* Dưới header 64px + 12px thở */
        padding-bottom: 8px !important;
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    #desktopHeroShowcase .hero-main-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        width: 100%;
    }

    #desktopHeroShowcase .hero-info-col {
        max-width: 700px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    /* Fixed Bottom Baseline Title Box (Logo to sẽ tự động phát triển LÊN TRÊN, không xô lệch nội dung bên dưới) */
    #desktopHeroShowcase .hero-title-box {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        min-height: 125px !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
    }

    /* Title Logo Image (#heroTitleImg) — hiển thị logo phim nếu có */
    #heroTitleImg {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-height: 95px !important;
        max-width: 380px !important;
        object-fit: contain !important;
        object-position: bottom left !important;
        filter: drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.95)) !important;
        opacity: 1 !important;
        transition: opacity 0.3s ease;
        margin-bottom: 4px !important;
        margin-top: auto !important;
    }

    /* Fallback Calligraphy Title Typography (Exact Photo 1 layout) */
    #desktopHeroShowcase #heroTitle {
        font-family: 'Dancing Script', 'Playfair Display', cursive !important;
        font-weight: 700 !important;
        font-size: clamp(38px, 4vw, 56px) !important;
        color: #ffffff !important;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9) !important;
        letter-spacing: 0.01em;
        line-height: 1.15;
        margin-bottom: 3px;
        margin-top: auto !important;
    }

    #desktopHeroShowcase #heroSubtitle {
        color: #fcd576 !important;
        font-size: 14.5px !important;
        font-weight: 500 !important;
        letter-spacing: 0.02em;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
        margin-bottom: 0px !important;
        min-height: 18px !important;
        line-height: 1.2 !important;
    }

    /* Badges Bar (Chuẩn phong cách Ảnh Tham Khảo: Capsule Icons + IMDb Gold + Segmented Pastel Color Ribbon) */
    #heroBadges {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 7px !important;
        margin-bottom: 6px !important;
    }

    /* 1. Episode (Tập) & Year (Năm) Capsule Badges: Nền Trong Suốt Hòa Trộn Hoàn Hảo */
    .hero-badge-ep,
    .hero-badge-year {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 11.5px !important;
        padding: 4px 9px !important;
        height: 25px !important;
        box-sizing: border-box !important;
        border-radius: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.55) !important;
        box-shadow: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        line-height: 1 !important;
        letter-spacing: 0.1px !important;
        user-select: none !important;
    }

    .hero-badge-ep svg,
    .hero-badge-year svg {
        flex-shrink: 0 !important;
        color: #ffffff !important;
    }

    /* 2. IMDb Badge: Viền vàng kim tinh tế, nền trong suốt hòa trộn */
    .hero-badge-imdb {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid #facc15 !important;
        color: #ffffff !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        padding: 4px 9px !important;
        height: 25px !important;
        box-sizing: border-box !important;
        border-radius: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        box-shadow: none !important;
        line-height: 1 !important;
        user-select: none !important;
    }

    .hero-badge-imdb .hero-badge-imdb-label {
        color: #facc15 !important;
        font-weight: 800 !important;
        font-size: 11px !important;
        letter-spacing: 0.2px !important;
    }

    .hero-badge-imdb .hero-badge-imdb-val {
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 11.5px !important;
    }

    /* 3. Segmented Multi-Color Ribbon (Dải màu Pastel liền mạch: VS Xanh Mint | T13 Hồng | TM Tím | FHD Vàng) */
    .hero-feature-ribbon {
        display: inline-flex !important;
        align-items: stretch !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        height: 25px !important;
        box-sizing: border-box !important;
    }

    .hero-ribbon-seg {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 0 8.5px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.2px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        user-select: none !important;
        border: none !important;
    }

    .hero-ribbon-seg svg {
        flex-shrink: 0 !important;
        width: 12px !important;
        height: 12px !important;
        fill: currentColor !important;
    }

    /* Segment 1: Vietsub (VS) - Mint Green Pastel */
    .hero-seg-vs {
        background: #86efac !important;
        color: #064e3b !important;
    }

    /* Segment 2: Age / Song Ngữ (T13 / T18 / SN) - Rose Pink Pastel */
    .hero-seg-age,
    .hero-seg-sn {
        background: #fbcfe8 !important;
        color: #831843 !important;
    }

    /* Segment 3: Thuyết Minh (TM) - Lavender Purple Pastel */
    .hero-seg-tm {
        background: #c4b5fd !important;
        color: #4c1d95 !important;
    }

    /* Segment 4: Chất Lượng Video (FHD / 4K) - Warm Amber Gold Pastel */
    .hero-seg-fhd,
    .hero-seg-quality {
        background: #fde047 !important;
        color: #78350f !important;
    }

    /* Row 2: Category Tags (Siêu mỏng nhẹ, nền hòa trộn thấy luôn ảnh phía sau, padding rộng thoáng) */
    #heroGenres {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 7px !important;
        margin-top: 5px !important;
        padding-top: 0 !important;
    }

    .hero-genre-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 5.5px 14px !important;
        border-radius: 6px !important;
        font-size: 12px !important;
        font-weight: 450 !important;
        background: rgba(0, 0, 0, 0.18) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        color: rgba(255, 255, 255, 0.92) !important;
        cursor: pointer !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-decoration: none !important;
        user-select: none !important;
        box-shadow: none !important;
        line-height: 1.25 !important;
    }

    .hero-genre-pill:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
    }

    /* Description synopsis (Fixed 2 lines height so content never shifts) */
    #desktopHeroShowcase #heroDescription {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        line-height: 1.6 !important;
        font-size: 13.5px !important;
        font-weight: 400 !important;
        color: rgba(255, 255, 255, 0.88) !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
        margin-top: 10px !important;
        margin-bottom: 12px !important;
        max-width: 620px !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    /* Play Circle Button (Exact Photo 2: Ánh xạ vàng kim 3D gradient + Canh giữa quang học hoàn hảo) */
    .hero-play-circle-btn {
        width: 64px !important;
        height: 64px !important;
        border-radius: 50% !important;
        background: radial-gradient(circle at 35% 30%, #ffeb9c 0%, #fcd264 55%, #f5b938 100%) !important;
        box-shadow: 0 0 24px rgba(252, 210, 100, 0.42), 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-decoration: none !important;
        flex-shrink: 0 !important;
        border: none !important;
        position: relative !important;
    }

    .hero-play-circle-btn:hover {
        transform: scale(1.06) !important;
        background: radial-gradient(circle at 35% 30%, #fff0b2 0%, #fddb78 55%, #f7c34d 100%) !important;
        box-shadow: 0 0 32px rgba(252, 210, 100, 0.65), 0 6px 22px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
    }

    .hero-play-circle-btn svg {
        width: 32px !important;
        height: 32px !important;
        fill: #161922 !important;
        color: #161922 !important;
        margin-left: 0px !important;
        transform: translateX(0px) !important;
        display: block !important;
    }

    /* Integrated Capsule Glass Pill: Heart (Left) | Info (Right) (Exact Photo 2: Ultra Translucent Sheer Glass) */
    .hero-actions-pill {
        height: 48px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 9999px !important;
        display: inline-flex !important;
        align-items: center !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    .hero-actions-pill button#heroFavBtn,
    .hero-actions-pill a#heroInfoBtn {
        width: 56px !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        background: transparent !important;
        cursor: pointer !important;
        transition: background 0.2s, transform 0.2s !important;
        text-decoration: none !important;
        color: #ffffff !important;
        outline: none !important;
    }

    .hero-actions-pill button#heroFavBtn {
        border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    }

    .hero-actions-pill button#heroFavBtn:hover,
    .hero-actions-pill a#heroInfoBtn:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .hero-actions-pill svg {
        width: 19px !important;
        height: 19px !important;
        fill: #ffffff !important;
        color: #ffffff !important;
        transition: transform 0.2s ease !important;
    }

    .hero-actions-pill button#heroFavBtn:hover svg,
    .hero-actions-pill a#heroInfoBtn:hover svg {
        transform: scale(1.1) !important;
    }

    /* Action Buttons Container (Height 64px matching Play Button) */
    .hero-action-group {
        height: 64px !important;
        display: flex !important;
        align-items: center !important;
        margin-top: 14px !important;
        flex-shrink: 0 !important;
    }

    /* Thumbnail Carousel Strip (Cố định hiển thị vừa vặn 8 thumbnails, các thumbnail sau ẩn ra sau và lướt ngang mượt mà) */
    .hero-thumbnails-right-col {
        display: flex !important;
        align-items: center !important;
        height: 64px !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        align-self: flex-end !important;
        margin-bottom: 0px !important;
        width: 100% !important;
        max-width: 604px !important;
        /* Cố định chuẩn xác 8 thumbnails (8 x 68px + 7 x 8px + 4px = 604px) */
        position: relative !important;
        overflow: hidden !important;
    }

    #heroThumbnails {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        width: 100% !important;
        max-width: 604px !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 4px 2px !important;
        cursor: grab;
        touch-action: pan-x pan-y !important;
        scroll-snap-type: x proximity;
    }

    #heroThumbnails:active {
        cursor: grabbing;
    }

    #heroThumbnails::-webkit-scrollbar {
        display: none !important;
    }

    .hero-thumb-nav-btn {
        width: 24px !important;
        height: 38px !important;
        border-radius: 6px !important;
        background: rgba(15, 23, 42, 0.75) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        transition: all 0.2s ease !important;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    .hero-thumb-nav-btn:hover {
        background: rgba(245, 158, 11, 0.25) !important;
        border-color: #f59e0b !important;
        color: #f59e0b !important;
        transform: scale(1.06) !important;
    }

    .hero-thumb-nav-btn:active {
        transform: scale(0.95) !important;
    }

    .hero-thumb-item {
        width: 68px !important;
        min-width: 68px !important;
        max-width: 68px !important;
        height: 39px !important;
        border-radius: 7px !important;
        overflow: hidden !important;
        position: relative !important;
        border: 1.5px solid rgba(255, 255, 255, 0.32) !important;
        /* Viền trong suốt mờ tinh tế */
        transition: border-color 0.2s ease, opacity 0.2s ease !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        box-shadow: none !important;
        /* Loại bỏ hoàn toàn ánh xạ / bóng xám đổ xuống dưới */
        filter: none !important;
        -webkit-box-reflect: none !important;
        opacity: 0.9 !important;
        background: transparent !important;
        transform: none !important;
        scroll-snap-align: start;
    }

    .hero-thumb-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        pointer-events: none;
        filter: contrast(1.05) brightness(1.02) !important;
    }

    .hero-thumb-item:hover {
        opacity: 1 !important;
        border-color: rgba(255, 255, 255, 0.65) !important;
        box-shadow: none !important;
    }

    .hero-thumb-item.hero-thumb-active,
    .hero-thumb-item.active {
        opacity: 1 !important;
        border-color: #fcd576 !important;
        box-shadow: 0 0 6px rgba(252, 213, 118, 0.5) !important;
        /* Chỉ giữ ánh sáng vàng dịu bám sát viền */
        transform: none !important;
    }

    /* 5. Khu vực "Bạn đang quan tâm gì?" NẰM GỌN TRONG MÀN ĐẦU TIÊN (Above The Fold) */
    #desktopHeroShowcase .interests-section {
        position: relative !important;
        width: 100% !important;
        z-index: 20 !important;
        padding-top: 0px !important;
        padding-bottom: 6px !important;
        /* Sát xuống dưới cạnh đáy mượt mà thanh thoát */
        background: transparent !important;
        flex-shrink: 0;
        box-sizing: border-box;
        border: none !important;
        border-bottom: none !important;
    }

    #desktopHeroShowcase .interests-inner-wrap {
        width: 100% !important;
        max-width: 1540px !important;
        margin: 0 auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    @media (max-width: 1023px) {
        #desktopHeroShowcase .interests-inner-wrap {
            padding-left: 16px !important;
            padding-right: 16px !important;
        }
    }

    #desktopHeroShowcase .interests-section h3,
    #desktopHeroShowcase .interests-heading {
        font-size: 17.5px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
        margin-bottom: 8px !important;
        letter-spacing: -0.01em !important;
        display: block !important;
    }

    #desktopHeroShowcase .interests-wrapper {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: clamp(12px, 1.1vw, 16px) !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #desktopHeroShowcase .interest-card {
        height: 140px !important;
        /* Dẹp xuống 1 tý xíu thanh thoát theo yêu cầu */
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.38), 0 1px 4px rgba(0, 0, 0, 0.18) !important;
        position: relative !important;
        overflow: hidden !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: flex-end !important;
        padding: 11px 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        outline: none !important;
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease !important;
        box-sizing: border-box !important;
        background: #0f121d !important;
    }

    #desktopHeroShowcase .interest-card:hover {
        transform: translateY(-5px) scale(1.02) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(var(--card-rgb, 139, 92, 246), 0.35) !important;
        border-color: rgba(255, 255, 255, 0.28) !important;
    }

    #desktopHeroShowcase .interest-card.no-aura::before {
        display: none !important;
        content: none !important;
        background: none !important;
        opacity: 0 !important;
    }

    #desktopHeroShowcase .interest-card.no-aura .interest-bg-img {
        width: 100% !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    #desktopHeroShowcase .interest-card.no-aura:hover {
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75) !important;
    }



    #desktopHeroShowcase .interest-bg-img {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 78% !important;
        background-size: cover !important;
        background-position: center 20% !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.7) 18%, black 40%) !important;
        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.7) 18%, black 40%) !important;
        transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s ease !important;
        z-index: 1 !important;
        opacity: 1 !important;
        filter: brightness(1.02) contrast(1.05) !important;
    }

    #desktopHeroShowcase .interest-card:hover .interest-bg-img {
        transform: scale(1.07) !important;
        filter: brightness(1.08) contrast(1.08) !important;
    }

    /* ── Icon hiện đại không viền bọc tròn ── */
    #desktopHeroShowcase .interest-icon-circle {
        position: absolute !important;
        top: 12px !important;
        left: 14px !important;
        width: auto !important;
        height: auto !important;
        border-radius: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
        box-shadow: none !important;
        padding: 0 !important;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65)) !important;
        transition: transform 0.25s ease !important;
    }

    #desktopHeroShowcase .interest-card:hover .interest-icon-circle {
        transform: scale(1.12) translateY(-1px) !important;
    }

    #desktopHeroShowcase .interest-icon-circle svg {
        width: 24px !important;
        height: 24px !important;
        color: inherit !important;
        stroke: currentColor !important;
        stroke-width: 2.2px !important;
        display: block !important;
    }

    #desktopHeroShowcase .interest-content {
        position: relative !important;
        z-index: 10 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        max-width: 72% !important;
    }

    #desktopHeroShowcase .interest-title {
        font-size: 14.5px !important;
        font-weight: 600 !important;
        color: var(--card-text-color, #ffffff) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
    }

    #desktopHeroShowcase .interest-action {
        font-size: 10px !important;
        font-weight: 600 !important;
        letter-spacing: 0.4px !important;
        color: var(--card-text-color, rgba(255, 255, 255, 0.85)) !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        transition: gap 0.2s ease, color 0.2s ease !important;
    }

    #desktopHeroShowcase .interest-card:hover .interest-action {
        gap: 6px !important;
        color: #ffffff !important;
    }

    /* ── LIGHT MODE OVERRIDES: SÁNG RÕ KHÔNG PHỦ SƯƠNG ĐỤC & HÒA QUYỆN TUYỆT ĐỐI ── */
    html.light-mode #desktopHeroShowcase,
    html.light-mode .desktop-hero-showcase {
        background-color: #f5f0e6 !important;
        border: none !important;
        border-bottom: none !important;
    }

    html.light-mode #desktopHeroShowcase .hero-bg-holder {
        background-color: transparent !important;
        background: transparent !important;
    }

    html.light-mode #desktopHeroShowcase .hero-left-blend {
        background: linear-gradient(90deg,
                rgba(15, 18, 28, 0.78) 0%,
                rgba(15, 18, 28, 0.50) 28%,
                rgba(15, 18, 28, 0.15) 48%,
                transparent 68%) !important;
    }

    /* Gradient đáy nền sáng: Nâng cao nhẹ vừa vặn bao trọn cụm thẻ, chuyển màu siêu mượt */
    html.light-mode #desktopHeroShowcase .hero-bottom-blend {
        background: linear-gradient(180deg,
                transparent 0%,
                rgba(245, 240, 230, 0.08) 25%,
                rgba(245, 240, 230, 0.35) 50%,
                rgba(245, 240, 230, 0.75) 75%,
                #f5f0e6 92%,
                #f5f0e6 100%) !important;
        height: 220px !important;
    }

    html.light-mode #desktopHeroShowcase .hero-top-blend {
        display: none !important;
    }


    /* Thẻ trong Light Mode: Bóng đổ tự nhiên, không viền, không bị vệt đục cắt cụt */
    html.light-mode #desktopHeroShowcase .interest-card {
        box-shadow: 0 3px 12px rgba(78, 64, 45, 0.10), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        border: none !important;
        outline: none !important;
    }

    html.light-mode #desktopHeroShowcase .interest-card:hover {
        box-shadow: 0 12px 28px rgba(78, 64, 45, 0.18), 0 0 16px rgba(255, 255, 255, 0.5) !important;
        border: none !important;
        outline: none !important;
    }

    /* Chữ tiêu đề trên nền sáng: Sắc nét nổi bật */
    html.light-mode #desktopHeroShowcase #heroTitle {
        color: #ffffff !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
    }

    html.light-mode #desktopHeroShowcase #heroSubtitle {
        color: #fcd576 !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important;
    }

    html.light-mode #desktopHeroShowcase #heroDescription {
        color: rgba(255, 255, 255, 0.92) !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important;
    }

    html.light-mode #desktopHeroShowcase .interests-section h3 {
        color: #ffffff !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
    }

    /* Loại bỏ triệt để 100% mọi đường viền/gạch chia cắt giữa Hero và Nội dung bên dưới */
    #desktopHeroShowcase,
    .desktop-hero-showcase,
    #desktopHeroShowcase .interests-section,
    .interests-section,
    main,
    main.app-container {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        outline: none !important;
    }
}