/* ============================================================================
   ZIPNATIONMOVIES — iOS 26 CRYSTAL-CLEAR LIQUID GLASS OS (100% TURIZM EDITION)
   Zero-blur Crystal Standard UI (0px) + Luminous 5px Modals & AI
   ============================================================================ */

/* ===== 1. CORE LAYER, VARIABLES & AMBIENT REFRACTION BACKDROP ===== */
:root {
    --zn-red: #E50914;
    --zn-red-deep: #B20710;
    --zn-amber: #F59E0B;
    --zn-sky: #38BDF8;
    --zn-ink-dark: #f1f5f9;
    --zn-ink-light: #0e1b2e;
    --zn-bg-dark: #0c162b;
    --zn-bg-light: #eef4fc;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
    background: transparent !important;
}

html {
    background-color: var(--zn-bg-dark) !important;
    scroll-behavior: smooth;
}

html[data-theme="light"] {
    background-color: var(--zn-bg-light) !important;
}

body {
    color: var(--zn-ink-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html[data-theme="light"] body {
    color: var(--zn-ink-light) !important;
}

#liquid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 14%, rgba(229, 9, 20, 0.20) 0%, transparent 44%),
        radial-gradient(circle at 88% 20%, rgba(56, 189, 248, 0.20) 0%, transparent 42%),
        radial-gradient(circle at 22% 76%, rgba(245, 158, 11, 0.13) 0%, transparent 44%),
        radial-gradient(circle at 82% 84%, rgba(16, 185, 129, 0.14) 0%, transparent 40%),
        linear-gradient(180deg, #0c162b 0%, #132546 52%, #0b1528 100%);
}

html[data-theme="light"] #liquid-bg {
    background:
        radial-gradient(circle at 12% 14%, rgba(37, 99, 235, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 88% 20%, rgba(16, 185, 129, 0.13) 0%, transparent 38%),
        radial-gradient(circle at 22% 72%, rgba(245, 158, 11, 0.13) 0%, transparent 42%),
        radial-gradient(circle at 80% 82%, rgba(229, 9, 20, 0.10) 0%, transparent 40%),
        linear-gradient(180deg, #f3f7fd 0%, #e8f1fb 50%, #f1f6fc 100%);
}

/* ===== 2. STRICT iOS 26 LIQUID GLASS — STANDARD UI (blur(0px) saturate(155%)) ===== */
.liquid-glass,
.jcard,
.zn-card,
.blog-home-card,
.continue-card,
.v2-glass-card,
.zn-funnel-strip,
.site-footer-card,
.catalog-filter-card,
.detail-section,
.tv-topbar,
.tv-prog-card,
.tv-epg-panel,
.tv-epg-card,
.tv-ad-booking-card,
.tv-vip-funnel-card,
.pricing-item,
.payment-form-container,
.settings-card,
.profile-form-card,
.and-stat-card,
.and-menu-item,
.wp-info-card,
.wp-create-card,
.admin-card,
.stat-card,
.admin-sidebar,
.admin-mobile-bar,
.zn-cat-pills.liquid-glass,
.watch-card,
.player-zipx-btn,
.player-dd-btn,
.player-dd-menu,
.ac-form,
.dnav-drop-panel,
.lang-dropdown-menu,
.schedule-days-card,
.hof-toolbar-card,
.quiz-card,
.wp-party-card,
.work-card,
.person-hero,
.collection-card,
.blog-card,
.auth-card,
.and-profile-banner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10) 0%, rgba(12, 24, 48, 0.42) 52%, rgba(255, 255, 255, 0.06) 100%) !important;
    backdrop-filter: blur(0px) saturate(155%) !important;
    -webkit-backdrop-filter: blur(0px) saturate(155%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.24) !important;
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 0.34),
        inset 0 -1.5px 2px rgba(56, 189, 248, 0.10),
        inset 1px 0 1px rgba(255, 255, 255, 0.16),
        0 18px 44px -12px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.dnav-drop-panel,
.lang-dropdown-menu {
    background: linear-gradient(145deg, rgba(9, 16, 32, 0.94) 0%, rgba(5, 11, 22, 0.90) 100%) !important;
}

html[data-theme="light"] .liquid-glass,
html[data-theme="light"] .jcard,
html[data-theme="light"] .zn-card,
html[data-theme="light"] .blog-home-card,
html[data-theme="light"] .continue-card,
html[data-theme="light"] .v2-glass-card,
html[data-theme="light"] .zn-funnel-strip,
html[data-theme="light"] .site-footer-card,
html[data-theme="light"] .catalog-filter-card,
html[data-theme="light"] .detail-section,
html[data-theme="light"] .tv-topbar,
html[data-theme="light"] .tv-prog-card,
html[data-theme="light"] .tv-epg-panel,
html[data-theme="light"] .tv-epg-card,
html[data-theme="light"] .tv-ad-booking-card,
html[data-theme="light"] .tv-vip-funnel-card,
html[data-theme="light"] .pricing-item,
html[data-theme="light"] .payment-form-container,
html[data-theme="light"] .settings-card,
html[data-theme="light"] .profile-form-card,
html[data-theme="light"] .and-stat-card,
html[data-theme="light"] .and-menu-item,
html[data-theme="light"] .wp-info-card,
html[data-theme="light"] .wp-create-card,
html[data-theme="light"] .admin-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .admin-sidebar,
html[data-theme="light"] .admin-mobile-bar,
html[data-theme="light"] .zn-cat-pills.liquid-glass,
html[data-theme="light"] .watch-card,
html[data-theme="light"] .player-zipx-btn,
html[data-theme="light"] .player-dd-btn,
html[data-theme="light"] .ac-form,
html[data-theme="light"] .schedule-days-card,
html[data-theme="light"] .hof-toolbar-card,
html[data-theme="light"] .quiz-card,
html[data-theme="light"] .wp-party-card,
html[data-theme="light"] .work-card,
html[data-theme="light"] .person-hero,
html[data-theme="light"] .collection-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .auth-card,
html[data-theme="light"] .and-profile-banner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0.44) 100%) !important;
    color: var(--zn-ink-light);
    border: 1.5px solid rgba(255, 255, 255, 0.90) !important;
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 0.96),
        inset 0 -1.5px 2px rgba(14, 42, 82, 0.08),
        inset 1.5px 0 1px rgba(255, 255, 255, 0.72),
        0 14px 38px -10px rgba(14, 42, 82, 0.14),
        0 0 0 1px rgba(14, 42, 82, 0.07) !important;
}

html[data-theme="light"] .dnav-drop-panel,
html[data-theme="light"] .lang-dropdown-menu {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 244, 252, 0.92) 100%) !important;
    color: var(--zn-ink-light) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 18px 42px -10px rgba(14, 42, 82, 0.22) !important;
}

/* ===== 3. TURIZM FLOATING PILL NAVBAR (CRISP CRYSTAL GLASS, NO JELLY OVERLAY) ===== */
.site-header {
    position: fixed !important;
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1400px, calc(100% - 24px)) !important;
    border-radius: 9999px !important;
    z-index: 1000 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, rgba(9, 16, 32, 0.80) 0%, rgba(6, 12, 24, 0.64) 100%) !important;
    backdrop-filter: blur(0px) saturate(155%) !important;
    -webkit-backdrop-filter: blur(0px) saturate(155%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.30) !important;
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, 0.40),
        inset 0 -1px 2px rgba(229, 9, 20, 0.14),
        0 16px 40px -8px rgba(0, 0, 0, 0.65) !important;
}

html[data-theme="light"] .site-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(240, 246, 255, 0.68) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 1),
        inset 0 -1px 2px rgba(14, 42, 82, 0.08),
        0 12px 32px -6px rgba(14, 42, 82, 0.16) !important;
}

.site-header .container.header-row {
    max-width: none !important;
    width: 100% !important;
    padding: 6px 12px !important;
    min-height: 52px;
    gap: 6px;
}

.site-header .logo-text {
    font-size: 1.02rem !important;
}

.site-header .desktop-cat-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 9999px;
    flex-shrink: 1;
    min-width: 0;
}

.desktop-nav-extras {
    flex-shrink: 1;
    min-width: 0;
}

.site-header .dnav-drop-btn,
.site-header #header-live-pill {
    white-space: nowrap !important;
    height: 36px;
    padding: 0 11px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
    border: 1px solid transparent !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.site-header #header-live-pill {
    color: #fca5a5 !important;
}

.site-header .nav-premium-btn {
    padding: 0 12px !important;
    height: 36px !important;
    font-size: 0.84rem !important;
    white-space: nowrap !important;
    flex-shrink: 0;
}

@media (min-width: 992px) and (max-width: 1440px) {
    .site-header .container.header-row {
        gap: 4px !important;
        padding: 5px 10px !important;
    }
    .site-header .dnav-drop-btn,
    .site-header #header-live-pill {
        padding: 0 8px !important;
        font-size: 0.79rem !important;
        gap: 4px !important;
    }
    .site-header #header-live-pill {
        margin-left: 2px !important;
    }
    .site-header .nav-premium-btn {
        padding: 0 10px !important;
        font-size: 0.79rem !important;
    }
    .site-header .logo-text {
        font-size: 0.94rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1220px) {
    .site-header .dnav-drop-btn svg:first-child {
        display: none !important;
    }
    .site-header .dnav-drop-btn {
        padding: 0 7px !important;
        font-size: 0.76rem !important;
    }
}

.site-header .dnav-drop-btn:hover,
.site-header .dnav-drop.is-open .dnav-drop-btn,
.site-header .dnav-drop-btn.is-active {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(229, 9, 20, 0.20)) !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 6px 16px -4px rgba(0, 0, 0, 0.45);
    color: #ffffff !important;
}

html[data-theme="light"] .site-header .dnav-drop-btn:hover,
html[data-theme="light"] .site-header .dnav-drop.is-open .dnav-drop-btn,
html[data-theme="light"] .site-header .dnav-drop-btn.is-active {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(229, 9, 20, 0.10)) !important;
    border-color: rgba(229, 9, 20, 0.28) !important;
    color: #0e1b2e !important;
    box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 1), 0 6px 16px -6px rgba(14, 42, 82, 0.18);
}

.profile-avatar-btn {
    background: linear-gradient(135deg, #E50914, #991B1B) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px -4px rgba(229, 9, 20, 0.45) !important;
}

.site-header .desktop-cat-nav > * {
    position: relative;
    z-index: 2;
}

.site-header .dnav-drop-btn,
.site-header .logo-zn,
.site-header .lang-btn {
    color: #f8fafc !important;
}

html[data-theme="light"] .site-header .dnav-drop-btn,
html[data-theme="light"] .site-header .logo-zn,
html[data-theme="light"] .site-header .lang-btn,
html[data-theme="light"] .site-header .header-icon-btn {
    color: #0e1b2e !important;
}

.header-controls-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 9999px;
}

.header-controls-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.22);
}

html[data-theme="light"] .header-controls-divider {
    background: rgba(14, 42, 82, 0.16);
}

/* Keep fixed floating pill navbar from overlapping top of non-hero pages */
body:not(.home-page):not(.page-admin):not(.detail-page):not(.page-watch) main,
.catalog-main,
.page-main,
.settings-page,
.tv-page-shell,
.payment-page-wrapper {
    padding-top: 88px !important;
}

/* ===== 4. BUTTONS & JELLY PHYSICS (blur(0px)) ===== */
@keyframes znLiquidJelly {
    0%   { transform: scale(1, 1); }
    28%  { transform: scale(1.06, 0.94); }
    52%  { transform: scale(0.97, 1.03); }
    74%  { transform: scale(1.02, 0.99); }
    100% { transform: scale(1.01, 1.01); }
}

.liquid-btn,
.liquid-pill,
.and-chip,
.zn-cat-pill,
.row-nav-btn,
.hero-nav-prev,
.hero-nav-next,
.hero-glass-btn,
.btn-hero-info,
.btn-hero-trailer,
.cat-tab,
.admin-tab,
.row-link,
.header-icon-btn,
.lang-btn,
.zn-scroll-top,
.v2-bottom-nav-inner,
.hero-thumbs {
    backdrop-filter: blur(0px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(0px) saturate(150%) !important;
}

.liquid-btn,
.liquid-pill,
.zn-cat-pill,
.row-nav-btn,
.hero-nav-prev,
.hero-nav-next,
.hero-glass-btn,
.btn-hero-info,
.btn-hero-trailer,
.cat-tab,
.admin-tab,
.row-link,
.zn-scroll-top {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(12, 24, 48, 0.34) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    color: #f8fafc;
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.38),
        inset 0 -1px 1px rgba(0, 0, 0, 0.25),
        0 8px 20px -6px rgba(0, 0, 0, 0.50);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease;
    will-change: transform;
}

html[data-theme="light"] .liquid-btn,
html[data-theme="light"] .liquid-pill,
html[data-theme="light"] .zn-cat-pill,
html[data-theme="light"] .row-nav-btn,
html[data-theme="light"] .cat-tab,
html[data-theme="light"] .admin-tab,
html[data-theme="light"] .row-link,
html[data-theme="light"] .zn-scroll-top {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.34) 100%) !important;
    color: var(--zn-ink-light) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.94) !important;
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.98),
        0 8px 20px -6px rgba(14, 42, 82, 0.14) !important;
}

.liquid-btn-primary,
.btn-hero-play,
.nav-premium-btn,
.btn-primary,
.cat-tab.active,
.zn-cat-pill.active,
.admin-type-pill.active {
    background: linear-gradient(135deg, #E50914 0%, #B20710 100%) !important;
    backdrop-filter: blur(0px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(0px) saturate(150%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.44) !important;
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 0.45),
        inset 0 -1.5px 2px rgba(100, 0, 10, 0.45),
        0 10px 26px -6px rgba(229, 9, 20, 0.50) !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.liquid-btn:hover,
.liquid-btn-primary:hover,
.liquid-pill:hover,
.zn-cat-pill:hover,
.btn-hero-play:hover,
.btn-hero-info:hover,
.btn-hero-trailer:hover,
.row-nav-btn:hover,
.cat-tab:hover,
.row-link:hover,
.nav-premium-btn:hover,
#zn-scroll-top:hover {
    animation: znLiquidJelly 0.46s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.liquid-btn:active,
.liquid-btn-primary:active,
.btn-hero-play:active,
.btn-hero-info:active,
.zn-cat-pill:active,
.row-nav-btn:active {
    transform: scale(0.94, 1.06) !important;
    animation: none;
}

/* ===== 5. MODALS, DRAWERS, COOKIE BANNER & ZIP-X AI (STRICT blur(5px)) ===== */
.zipx-panel,
.zipx-fab,
.search-overlay,
.search-overlay-panel,
.search-modal,
.modal-box,
.modal-card,
.modal-backdrop,
.auth-modal,
.auth-modal-card,
.zn-lang-modal-sheet,
.zn-lang-modal-backdrop,
.zn-home-ad-card,
.zn-home-ad-backdrop,
.detail-trailer-modal-backdrop,
.detail-trailer-modal-inner,
.admin-modal-card,
.mobile-drawer-panel,
.mobile-drawer-backdrop,
.admin-drawer-panel,
.admin-drawer-backdrop,
.ep-action-panel,
.ep-action-backdrop,
.zn-unlock-panel,
.zn-paywall-card,
.player-settings-sheet,
.zn-cookie-banner,
html[data-theme] .zipx-panel,
html[data-theme] .zipx-fab,
html[data-theme] .search-overlay,
html[data-theme] .search-overlay-panel,
html[data-theme] .search-modal,
html[data-theme] .modal-box,
html[data-theme] .modal-card,
html[data-theme] .modal-backdrop,
html[data-theme] .auth-modal,
html[data-theme] .auth-modal-card,
html[data-theme] .zn-lang-modal-sheet,
html[data-theme] .zn-lang-modal-backdrop,
html[data-theme] .zn-home-ad-card,
html[data-theme] .zn-home-ad-backdrop,
html[data-theme] .detail-trailer-modal-backdrop,
html[data-theme] .detail-trailer-modal-inner,
html[data-theme] .admin-modal-card,
html[data-theme] .mobile-drawer-panel,
html[data-theme] .mobile-drawer-backdrop,
html[data-theme] .admin-drawer-panel,
html[data-theme] .admin-drawer-backdrop,
html[data-theme] .ep-action-panel,
html[data-theme] .ep-action-backdrop,
html[data-theme] .player-settings-sheet,
html[data-theme] .zn-cookie-banner {
    backdrop-filter: blur(5px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(5px) saturate(150%) !important;
}

.zipx-panel,
.search-overlay-panel,
.modal-card,
.auth-modal-card,
.zn-lang-modal-sheet,
.admin-modal-card,
.mobile-drawer-panel,
.admin-drawer-panel,
.ep-action-panel,
.zn-unlock-panel,
.zn-paywall-card,
.zn-cookie-banner {
    background: linear-gradient(145deg, rgba(12, 20, 38, 0.88) 0%, rgba(6, 12, 24, 0.82) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.30) !important;
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, 0.36),
        0 24px 56px -12px rgba(0, 0, 0, 0.78) !important;
}

html[data-theme="light"] .zipx-panel,
html[data-theme="light"] .search-overlay-panel,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .auth-modal-card,
html[data-theme="light"] .zn-lang-modal-sheet,
html[data-theme="light"] .admin-modal-card,
html[data-theme="light"] .mobile-drawer-panel,
html[data-theme="light"] .admin-drawer-panel,
html[data-theme="light"] .ep-action-panel,
html[data-theme="light"] .zn-unlock-panel,
html[data-theme="light"] .zn-paywall-card,
html[data-theme="light"] .zn-cookie-banner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 244, 252, 0.80) 100%) !important;
    color: var(--zn-ink-light) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 1),
        0 24px 52px -12px rgba(14, 42, 82, 0.24) !important;
}

/* Compact Cookie Consent Pill Card — bottom-left so it never overlaps ZIP-X FAB */
.zn-cookie-banner {
    position: fixed !important;
    left: 18px !important;
    right: auto !important;
    bottom: 20px !important;
    width: min(340px, calc(100vw - 24px)) !important;
    max-width: 340px !important;
    border-radius: 22px !important;
    padding: 14px 16px !important;
    z-index: 10050 !important;
}

html[data-theme="light"] .zn-cookie-title,
html[data-theme="light"] .zn-cookie-text,
html[data-theme="light"] .zn-cookie-btn-more,
html[data-theme="light"] .zn-cookie-btn-decline {
    color: #0e1b2e !important;
}

html[data-theme="light"] .zn-cookie-btn-decline {
    background: rgba(14, 42, 82, 0.08) !important;
    border-color: rgba(14, 42, 82, 0.22) !important;
}

.zn-cookie-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 0 !important;
}

.zn-cookie-text {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
}

.zn-cookie-actions {
    width: 100% !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

@media (max-width: 767px) {
    .zn-cookie-banner {
        left: 12px !important;
        right: 80px !important;
        bottom: calc(82px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* ===== 6. FROM-SCRATCH FULL-BLEED CINEMA HERO CAROUSEL ===== */
@keyframes znHeroZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.06); }
}

@keyframes znThumbProgress {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.hero-section {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #050b16 !important;
}

.hero-swiper,
.hero-slide {
    height: clamp(520px, 78dvh, 720px) !important;
    min-height: 490px !important;
}

.hero-slide:not(.swiper-slide-active) {
    pointer-events: none !important;
}

.hero-slide.swiper-slide-active {
    pointer-events: auto !important;
}

.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden;
    background-size: cover !important;
    background-position: center 22% !important;
    transform-origin: center center;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    transform-origin: center center;
}

.hero-slide.swiper-slide-active .hero-bg,
.hero-slide.swiper-slide-active .hero-bg-img {
    animation: znHeroZoom 9s ease-out forwards;
}

.hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    background:
        linear-gradient(to top, #0c162b 0%, rgba(12, 22, 43, 0.62) 22%, rgba(12, 22, 43, 0.10) 58%, rgba(12, 22, 43, 0.34) 100%),
        linear-gradient(to right, rgba(12, 22, 43, 0.86) 0%, rgba(12, 22, 43, 0.44) 44%, transparent 76%) !important;
}

html[data-theme="light"] .hero-overlay {
    background:
        linear-gradient(to top, #eef4fc 0%, rgba(5, 11, 22, 0.72) 16%, rgba(5, 11, 22, 0.14) 64%, rgba(5, 11, 22, 0.38) 100%),
        linear-gradient(to right, rgba(5, 11, 22, 0.88) 0%, rgba(5, 11, 22, 0.48) 46%, rgba(5, 11, 22, 0.10) 84%) !important;
}

.hero-inner {
    position: relative !important;
    z-index: 4 !important;
    box-sizing: border-box !important;
    height: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 90px 68px 46px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 24px !important;
}

.hero-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    max-width: min(600px, 56vw) !important;
    text-align: left !important;
}

/* Keep ALL Hero copy crisp white in BOTH Dark and Light themes */
.hero-slide .hero-title,
html[data-theme="light"] .hero-slide .hero-title {
    color: #ffffff !important;
    font-size: clamp(1.85rem, 3.8vw, 3.25rem) !important;
    font-weight: 900 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.025em !important;
    margin: 8px 0 10px !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75) !important;
}

.hero-slide .hero-desc,
html[data-theme="light"] .hero-slide .hero-desc {
    color: rgba(241, 245, 249, 0.88) !important;
    font-size: clamp(0.88rem, 1.18vw, 1.02rem) !important;
    line-height: 1.5 !important;
    max-width: 560px !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.88), rgba(185, 28, 28, 0.78));
    color: #ffffff !important;
    border: 1.25px solid rgba(255, 255, 255, 0.36);
}

.hero-badge.secondary,
.hero-chip,
.hero-meta-item,
.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.62) !important;
    color: #ffffff !important;
    border: 1.25px solid rgba(255, 255, 255, 0.28) !important;
}

.hero-rating {
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
}

.hero-chip--quality {
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
}

.hero-meta,
.hero-audio-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}

.hero-content .carousel-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 8px !important;
}

.btn-hero-play,
.hero-glass-btn,
.btn-hero-info,
.btn-hero-trailer {
    height: 48px !important;
    padding: 0 22px !important;
    border-radius: 16px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.hero-glass-btn,
.btn-hero-info,
.btn-hero-trailer,
html[data-theme="light"] .hero-glass-btn,
html[data-theme="light"] .hero-slide .btn-hero-info,
html[data-theme="light"] .hero-slide .btn-hero-trailer {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(15, 23, 42, 0.56)) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.36) !important;
}

.hero-nav-prev,
.hero-nav-next {
    width: 44px !important;
    height: 44px !important;
    border-radius: 9999px !important;
    background: rgba(9, 16, 32, 0.65) !important;
    color: #ffffff !important;
}

.hero-nav-prev { left: 14px !important; }
.hero-nav-next { right: 14px !important; }

@media (max-width: 1099px) {
    .hero-nav-prev,
    .hero-nav-next {
        display: none !important;
    }
}

.hero-nav-prev::after,
.hero-nav-next::after {
    font-size: 16px !important;
    font-weight: 800;
}

.hero-thumbs {
    display: none;
}

@media (min-width: 1024px) {
    .hero-pagination {
        display: none !important;
    }

    .hero-thumbs {
        position: absolute !important;
        right: 36px !important;
        bottom: 42px !important;
        z-index: 25 !important;
        display: flex !important;
        gap: 10px !important;
        padding: 8px !important;
        border-radius: 22px !important;
        background: linear-gradient(145deg, rgba(8, 14, 28, 0.72), rgba(14, 24, 46, 0.48)) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
        max-width: min(540px, 39vw) !important;
        overflow-x: auto !important;
        scrollbar-width: none;
    }

    .hero-thumb {
        position: relative;
        width: 124px;
        height: 68px;
        border-radius: 14px;
        overflow: hidden;
        border: 1.5px solid rgba(255, 255, 255, 0.24);
        padding: 0;
        cursor: pointer;
        background: #0b1120;
        opacity: 0.72;
        flex-shrink: 0;
        text-align: left;
        transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
    }

    .hero-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .hero-thumb-scrim {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(5, 11, 22, 0.92) 0%, rgba(5, 11, 22, 0.15) 65%);
    }

    .hero-thumb-title {
        position: absolute;
        left: 8px;
        right: 8px;
        bottom: 7px;
        color: #ffffff;
        font-size: 0.68rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    }

    .hero-thumb-progress {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: #E50914;
        transform-origin: left center;
        transform: scaleX(0);
    }

    .hero-thumb:hover,
    .hero-thumb.is-active {
        opacity: 1;
        transform: translateY(-3px) scale(1.03);
        border-color: #E50914;
        box-shadow: 0 8px 20px -4px rgba(229, 9, 20, 0.45);
    }

    .hero-thumb.is-active .hero-thumb-progress {
        animation: znThumbProgress 5.5s linear forwards;
    }
}

/* ===== 7. CLEAN CATEGORY STRIP BELOW HERO (SEARCH LIVES IN HEADER & MOBILE DOCK) ===== */
.zn-cat-bar-wrap {
    position: relative;
    z-index: 25;
    margin: 18px auto 22px;
}

.zn-cat-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 14px !important;
    border-radius: 9999px !important;
}

.zn-cat-pills::-webkit-scrollbar {
    display: none;
}

.zn-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.zn-cat-pill--live {
    color: #ff6b6b !important;
    border-color: rgba(229, 9, 20, 0.45) !important;
}

.zn-cat-pill--vip {
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
}

html[data-theme="light"] .zn-cat-pill--vip {
    color: #b45309 !important;
}

@media (max-width: 767px) {
    .zn-cat-bar-wrap {
        margin: 14px auto 16px;
    }
    .zn-cat-pills {
        border-radius: 20px !important;
        padding: 8px 10px !important;
    }
}

/* ===== 8. ZERO-CLUTTER CINEMA CARDS & ROW HEADERS ===== */
.home-sections,
.catalog-main {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.content-row {
    margin-bottom: 34px !important;
}

.row-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

.row-head h2 {
    position: relative;
    padding-left: 14px;
    font-size: clamp(1.12rem, 1.8vw, 1.42rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin: 0 !important;
}

.row-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    border-radius: 9999px;
    background: linear-gradient(180deg, #E50914, #F59E0B);
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.55);
}

.row-link {
    padding: 7px 14px !important;
    border-radius: 9999px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.row-nav-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9999px !important;
}

.jcard.zn-card {
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    padding: 0 !important;
}

.jcard.zn-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 9, 20, 0.55) !important;
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 0.45),
        0 20px 44px -10px rgba(229, 9, 20, 0.30) !important;
}

.jcard-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #091122;
}

.jcard-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.jcard.zn-card:hover .jcard-poster-img {
    transform: scale(1.06);
}

.jcard-fallback-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    background: linear-gradient(160deg, rgba(5, 11, 22, 0.55), rgba(5, 11, 22, 0.85));
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
}

.jcard-top-bar {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}

.jcard-bottom-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 9px 9px;
    background: linear-gradient(to top, rgba(5, 11, 22, 0.94) 0%, rgba(5, 11, 22, 0.55) 55%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}

.jcard-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(5, 11, 22, 0.78);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    white-space: nowrap;
}

.jcard-pill--qual {
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.55);
}

.jcard-pill--rating {
    color: #fbbf24;
    background: rgba(5, 11, 22, 0.84);
}

.jcard-pill--type {
    background: rgba(229, 9, 20, 0.88);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.30);
}

.jcard-pill--meta {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.jcard-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 11, 22, 0.30);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
    pointer-events: none;
}

.jcard.zn-card:hover .jcard-play-overlay {
    opacity: 1;
}

.jcard-play-circle {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: rgba(229, 9, 20, 0.90);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(229, 9, 20, 0.55);
}

.jcard-body {
    padding: 10px 12px 12px !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 62px;
}

.jcard-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.90rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jcard-meta {
    font-size: 0.74rem;
    font-weight: 600;
    opacity: 0.72;
}

/* ===== 9. VIP CONVERSION STRIP & FOOTER ===== */
.zn-funnel-strip {
    border-radius: 26px !important;
    padding: 24px 28px !important;
    background-image:
        linear-gradient(125deg, rgba(10, 18, 36, 0.84), rgba(229, 9, 20, 0.22)),
        url('/static/img/generated/vip-glass-banner.png') !important;
    background-size: cover !important;
    background-position: center !important;
}

html[data-theme="light"] .zn-funnel-strip {
    background-image:
        linear-gradient(125deg, rgba(255, 255, 255, 0.88), rgba(238, 244, 252, 0.78)),
        url('/static/img/generated/vip-glass-banner.png') !important;
}

.zn-footer {
    margin-top: 32px !important;
    padding: 0 0 28px !important;
    background: transparent !important;
}

.site-footer-card {
    border-radius: 28px !important;
    padding: 28px !important;
}

/* ===== 10. MOBILE & TABLET RESPONSIVE + SINGLE-PILL LIQUID GLASS BOTTOM DOCK ===== */
.v2-bottom-nav,
html[data-theme="light"] .v2-bottom-nav {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    left: 10px !important;
    right: 10px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    z-index: 1020 !important;
}

/* Hide bottom tabbar completely on Watch, Detail, Settings & Fullscreen in Browser + Telegram WebApp + Android APK */
body.page-watch .v2-bottom-nav,
body.page-watch #v2-bottom-nav,
body.detail-page .v2-bottom-nav,
body.detail-page #v2-bottom-nav,
body.page-settings .v2-bottom-nav,
body.page-settings #v2-bottom-nav,
body.player-mobile-fs .v2-bottom-nav,
body.player-mobile-fs #v2-bottom-nav,
html.in-telegram body.page-watch .v2-bottom-nav,
html.in-telegram body.detail-page .v2-bottom-nav,
html.in-telegram body.page-settings .v2-bottom-nav,
body.tg-webapp.page-watch .v2-bottom-nav,
body.tg-webapp.detail-page .v2-bottom-nav,
body.tg-webapp.page-settings .v2-bottom-nav,
html.is-android-app body.page-watch .v2-bottom-nav,
html.is-android-app body.detail-page .v2-bottom-nav,
html.is-android-app body.page-settings .v2-bottom-nav,
html.zn-android-native body.page-watch .v2-bottom-nav,
html.zn-android-native body.detail-page .v2-bottom-nav,
html.zn-android-native body.page-settings .v2-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Scroll-to-Top Floating Glass Button — cleanly above ZIP-X on Desktop, bottom-left on Mobile */
#zn-scroll-top,
.zn-scroll-top {
    position: fixed !important;
    right: 24px !important;
    left: auto !important;
    bottom: 148px !important;
    z-index: 945 !important;
}

@media (max-width: 767px) {
    #zn-scroll-top,
    .zn-scroll-top {
        left: 14px !important;
        right: auto !important;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.page-watch #zn-scroll-top,
    body.detail-page #zn-scroll-top,
    body.page-settings #zn-scroll-top {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Telegram WebApp safe-area & viewport polish */
html.in-telegram .site-header,
body.tg-webapp .site-header {
    top: max(8px, var(--tg-content-safe-area-inset-top, 8px)) !important;
}

@media (min-width: 992px) {
    .v2-bottom-nav {
        display: none !important;
    }
}

.v2-bottom-nav-inner {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    border-radius: 9999px !important;
    backdrop-filter: blur(0px) saturate(155%) !important;
    -webkit-backdrop-filter: blur(0px) saturate(155%) !important;
    background: linear-gradient(135deg, rgba(10, 18, 36, 0.88), rgba(6, 12, 24, 0.74)) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.30) !important;
    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, 0.38),
        0 14px 36px -6px rgba(0, 0, 0, 0.72) !important;
}

html[data-theme="light"] .v2-bottom-nav-inner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(240, 246, 255, 0.78)) !important;
    border-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 1),
        0 12px 32px -6px rgba(14, 42, 82, 0.18) !important;
}

.v2-bnav-item span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100%;
    font-size: 10px !important;
    line-height: 1.15 !important;
}

.v2-bnav-item.active,
.v2-bnav-item[aria-current="page"] {
    color: #E50914 !important;
}

button.v2-bnav-item {
    background: transparent !important;
    border: none !important;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

@media (max-width: 991px) {
    .zn-cookie-banner {
        left: 12px !important;
        right: auto !important;
        bottom: 84px !important;
        width: min(300px, calc(100vw - 88px)) !important;
    }

    #desktop-cat-nav,
    #desktop-nav-extras,
    .nav-premium-btn,
    #header-search-btn,
    #lang-switcher-wrap,
    .header-controls-divider,
    .site-header .header-controls-pill {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    .site-header {
        top: 8px !important;
        width: calc(100% - 16px) !important;
    }

    .site-header .container.header-row {
        padding: 5px 10px !important;
        min-height: 48px !important;
    }

    .site-header .logo-text {
        font-size: 0.96rem !important;
    }

    .zn-footer {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.page-watch .zn-footer,
    body.detail-page .zn-footer,
    body.page-settings .zn-footer,
    body.page-watch .watch-main,
    body.detail-page .detail-main {
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (max-width: 767px) {
    .hero-swiper,
    .hero-slide {
        height: auto !important;
        min-height: 520px !important;
    }

    .hero-inner {
        padding: 84px 16px 80px !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-badges,
    .hero-meta,
    .hero-audio-pills {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-slide .hero-title {
        font-size: clamp(1.65rem, 6.8vw, 2.25rem) !important;
    }

    .hero-content .carousel-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
    }

    .hero-content .btn-hero-play {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .hero-content .btn-hero-info,
    .hero-content .btn-hero-trailer {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 0 12px !important;
    }

    .hero-pagination {
        bottom: 24px !important;
    }

    .hero-nav-prev,
    .hero-nav-next {
        display: none !important;
    }

    .row-nav-btn,
    .header-icon-btn,
    .apk-action-btn,
    .apk-lang-pill {
        min-height: 44px;
        min-width: 44px;
    }

    .home-sections,
    .catalog-main {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Narrow phones & 340dp mobile polish (<= 420px & <= 360px) */
@media (max-width: 420px) {
    .site-header {
        top: 6px !important;
        width: calc(100% - 12px) !important;
    }
    .site-header .container.header-row {
        padding: 4px 8px !important;
        min-height: 44px !important;
        gap: 4px !important;
    }
    .site-header .logo-icon-wrap {
        width: 28px !important;
        height: 28px !important;
    }
    .site-header .logo-zn-icon {
        width: 22px !important;
        height: 22px !important;
    }
    .site-header .logo-text {
        font-size: 0.88rem !important;
    }
    .header-controls-pill {
        padding: 2px 4px !important;
        gap: 2px !important;
    }
    .header-icon-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }
    .profile-avatar-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem !important;
    }
    .v2-bottom-nav {
        left: 6px !important;
        right: 6px !important;
    }
    .v2-bottom-nav-inner {
        padding: 4px !important;
    }
    .v2-bnav-item {
        padding: 4px 2px !important;
    }
    .v2-bnav-item span {
        font-size: 9px !important;
    }
    .hero-swiper,
    .hero-slide {
        min-height: 455px !important;
    }
    .hero-inner {
        padding: 72px 12px 58px !important;
    }
    .hero-slide .hero-title {
        font-size: clamp(1.42rem, 6.2vw, 1.9rem) !important;
    }
    .hero-badge,
    .hero-chip,
    .hero-meta-item,
    .hero-rating {
        padding: 3px 8px !important;
        font-size: 0.68rem !important;
    }
    .hero-slide .hero-desc {
        font-size: 0.82rem !important;
        margin-bottom: 10px !important;
    }
    .btn-hero-play,
    .btn-hero-info,
    .btn-hero-trailer {
        height: 42px !important;
        font-size: 0.80rem !important;
        padding: 0 10px !important;
        border-radius: 13px !important;
    }
    .home-sections,
    .catalog-main {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .catalog-grid,
    .catalog-grid-pro {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .jcard-body {
        padding: 8px !important;
        min-height: 52px !important;
    }
    .jcard-title {
        font-size: 0.80rem !important;
    }
    .jcard-pill {
        padding: 2px 6px !important;
        font-size: 0.60rem !important;
    }
    .zn-top10-rank {
        flex: 0 0 38px !important;
        margin-right: -10px !important;
    }
    .zn-top10-num {
        font-size: 3.35rem !important;
    }
    .zn-funnel-strip {
        padding: 16px 14px !important;
        border-radius: 20px !important;
    }
    .site-footer-card {
        padding: 18px 14px !important;
        border-radius: 20px !important;
    }
    .watch-card {
        padding: 12px !important;
        border-radius: 18px !important;
    }
    .episodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
        gap: 6px !important;
    }
    .settings-switch-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .settings-select {
        width: 100%;
        font-size: 16px;
    }
    .zn-cookie-banner {
        left: 8px !important;
        right: 76px !important;
        width: auto !important;
        max-width: none !important;
        padding: 10px 12px !important;
    }
}

@media (max-width: 360px) {
    .site-header .logo-text {
        font-size: 0.78rem !important;
    }
    .site-header .logo-tld {
        padding: 1px 4px !important;
        font-size: 0.62rem !important;
    }
    .zn-cat-pill {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    .hero-content .carousel-nav {
        gap: 6px !important;
    }
}

/* ===== 11. TURIZM SCROLL-REVEAL & ADMIN PILLS ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-slide.swiper-slide-active .hero-bg,
    .hero-thumb.is-active .hero-thumb-progress {
        animation: none !important;
    }
}

.admin-type-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.admin-type-pill {
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

html[data-theme="light"] .admin-type-pill {
    border-color: rgba(14, 42, 82, 0.16);
    background: rgba(255, 255, 255, 0.68);
    color: var(--zn-ink-light);
}

.admin-type-pill.active {
    background: linear-gradient(135deg, #E50914, #B91C1C) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.36) !important;
    box-shadow: 0 6px 18px -4px rgba(229, 9, 20, 0.45);
}

/* ===== 12. MOBILE DRAWER (LIQUID GLASS blur(5px)) ===== */
.mobile-drawer-panel {
    width: min(330px, 86vw) !important;
    border-top-right-radius: 26px;
    border-bottom-right-radius: 26px;
}

.mobile-drawer-header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .mobile-drawer-header {
    border-bottom-color: rgba(14, 42, 82, 0.10);
}

.drawer-acc {
    border-radius: 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

html[data-theme="light"] .drawer-acc {
    background: rgba(255, 255, 255, 0.56);
    border-color: rgba(14, 42, 82, 0.10);
}

.drawer-acc-btn {
    padding: 12px 14px;
    font-weight: 700;
}

.drawer-lang-btn {
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding: 7px 12px !important;
}

.drawer-lang-btn.active {
    background: linear-gradient(135deg, #E50914, #B91C1C) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
}

/* ===== 13. WATCH / FILM ABOUT PAGE, SPLIT EPISODES & COMMENTS ===== */
.watch-detail-hero {
    padding-top: 86px !important;
}

.watch-main {
    padding-bottom: 100px;
}

.watch-card {
    border-radius: 24px !important;
    padding: 20px !important;
}

.watch-player-block .player-toolbar-row {
    gap: 10px;
    margin-bottom: 12px;
}

.player-zipx-btn,
.player-dd-btn {
    border-radius: 9999px !important;
    height: 40px;
    padding: 0 16px !important;
    font-weight: 700;
    color: #f8fafc !important;
}

html[data-theme="light"] .player-zipx-btn,
html[data-theme="light"] .player-dd-btn {
    color: var(--zn-ink-light) !important;
}

.player-wrap {
    border-radius: 22px !important;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 24px 60px -14px rgba(0, 0, 0, 0.80);
}

.episodes-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.episode-lang-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ep-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 0.80rem;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

html[data-theme="light"] .ep-lang-pill {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(14, 42, 82, 0.14);
    color: var(--zn-ink-light);
}

.ep-lang-pill.is-active {
    background: linear-gradient(135deg, #E50914, #B91C1C) !important;
    border-color: rgba(255, 255, 255, 0.44) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px -4px rgba(229, 9, 20, 0.45);
}

.ep-btn {
    border-radius: 16px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f8fafc !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px;
    padding: 10px 8px !important;
    min-height: 54px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

html[data-theme="light"] .ep-btn {
    background: rgba(255, 255, 255, 0.68) !important;
    border-color: rgba(14, 42, 82, 0.14) !important;
    color: var(--zn-ink-light) !important;
}

.ep-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 9, 20, 0.55) !important;
}

.ep-btn.active {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.88), rgba(153, 27, 27, 0.84)) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px -6px rgba(229, 9, 20, 0.55);
}

.ep-btn-num {
    font-weight: 800;
    font-size: 0.90rem;
    line-height: 1.1;
}

.ep-btn-map {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.38);
    line-height: 1.15;
    white-space: nowrap;
}

html[data-theme="light"] .ep-btn-map {
    color: #92400e;
    background: rgba(245, 158, 11, 0.16);
}

.ep-btn.active .ep-btn-map {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Comments & Auth Compose Form */
.ac-form,
.zn-comment-compose {
    border-radius: 20px !important;
    padding: 14px 16px !important;
}

.zn-comment-input-row textarea,
.watch-comments-card .comment-form textarea {
    border-radius: 16px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.20) !important;
    background: rgba(6, 12, 24, 0.56) !important;
    color: #f8fafc !important;
    padding: 12px 14px !important;
}

html[data-theme="light"] .zn-comment-input-row textarea,
html[data-theme="light"] .watch-comments-card .comment-form textarea {
    background: rgba(255, 255, 255, 0.80) !important;
    border-color: rgba(14, 42, 82, 0.14) !important;
    color: var(--zn-ink-light) !important;
}

.zn-comment-send {
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #E50914, #B91C1C) !important;
    color: #ffffff !important;
    border: 1.25px solid rgba(255, 255, 255, 0.36) !important;
}

/* ===== 14. ADMIN CMS LIQUID GLASS REDESIGN (DARK & LIGHT) ===== */
.admin-cms-app {
    min-height: 100vh;
}

.admin-sidebar {
    border-radius: 0 24px 24px 0 !important;
}

.admin-nav-item {
    border-radius: 14px !important;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.admin-nav-item.active {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.88), rgba(153, 27, 27, 0.82)) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 8px 20px -6px rgba(229, 9, 20, 0.45);
}

.stat-card,
.admin-card {
    border-radius: 22px !important;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    border-radius: 14px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(6, 12, 24, 0.56) !important;
    color: #f8fafc !important;
    padding: 10px 14px !important;
}

html[data-theme="light"] .admin-form input,
html[data-theme="light"] .admin-form select,
html[data-theme="light"] .admin-form textarea {
    background: rgba(255, 255, 255, 0.82) !important;
    border-color: rgba(14, 42, 82, 0.16) !important;
    color: var(--zn-ink-light) !important;
}

.admin-form .btn-primary {
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #E50914, #B91C1C) !important;
    border: 1.25px solid rgba(255, 255, 255, 0.34) !important;
    color: #ffffff !important;
}

/* ===== 15. NETFLIX × APPLE TV+ TOP-10 RANK ROW, HOVER REVEAL & HYBRID PPV PAYWALL ===== */
.zn-top10-card {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
}

.zn-top10-rank {
    flex: 0 0 54px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 18px;
    margin-right: -14px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.zn-top10-num {
    font-size: clamp(4.8rem, 7vw, 6.8rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.04);
    -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.62);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] .zn-top10-num {
    color: rgba(14, 42, 82, 0.06);
    -webkit-text-stroke: 2.5px rgba(14, 42, 82, 0.52);
    text-shadow: none;
}

.zn-top10-poster {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.jcard-hover-cta {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 42px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 4;
}

@media (hover: hover) {
    .jcard:hover .jcard-hover-cta {
        opacity: 1;
        transform: translateY(0);
    }
}

.jcard-hover-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E50914, #B91C1C);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}

.zn-access-badge--ppv {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(180, 83, 9, 0.88)) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
}

.zn-access-badge--vip {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.92), rgba(153, 27, 27, 0.88)) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
}

.zn-access-badge--free {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.90), rgba(5, 150, 105, 0.85)) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
}

.ep-btn--locked {
    border-color: rgba(245, 158, 11, 0.42) !important;
    opacity: 0.94;
}

.ep-btn-access {
    font-size: 0.64rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 9999px;
    line-height: 1.15;
    white-space: nowrap;
}

.ep-btn-access--locked {
    background: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.42);
}

.ep-btn-access--free {
    background: rgba(16, 185, 129, 0.20);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.36);
}

.ep-btn-access--owned {
    background: rgba(56, 189, 248, 0.20);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.36);
}

.zn-paywall-overlay {
    position: absolute;
    inset: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 11, 22, 0.72);
    backdrop-filter: blur(5px) saturate(145%);
    -webkit-backdrop-filter: blur(5px) saturate(145%);
}

.zn-paywall-overlay.hidden {
    display: none !important;
}

.zn-paywall-card {
    max-width: 440px;
    width: 100%;
    border-radius: 24px !important;
    padding: 24px 20px !important;
    text-align: center;
}

.zn-paywall-icon {
    font-size: 2.1rem;
    margin-bottom: 8px;
}

.zn-paywall-title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 800;
}

.zn-paywall-desc {
    margin: 0 0 16px;
    font-size: 0.88rem;
    opacity: 0.84;
}

.zn-paywall-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.zn-unlock-scopes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.zn-unlock-scope-btn {
    padding: 10px 12px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.82rem;
}

.zn-unlock-scope-btn.active {
    border-color: #E50914;
    background: rgba(229, 9, 20, 0.22);
}

.zn-unlock-card-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 12px;
    font-size: 0.84rem;
}

.zn-unlock-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zn-unlock-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 12, 24, 0.56);
    color: inherit;
}

.zn-unlock-status {
    margin: 4px 0 0;
    font-size: 0.84rem;
    font-weight: 600;
}

/* ===== 16. UNIFIED IN-PLAYER AD ENGINE (WATCH + LIVE TV + WATCH PARTY) ===== */
.zn-inplayer-ad {
    position: absolute;
    inset: 0;
    z-index: 65;
    background: #030712;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zn-inplayer-ad-media,
.zn-inplayer-ad-img,
.zn-inplayer-ad-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.zn-inplayer-ad-media,
.zn-inplayer-ad-img {
    object-fit: contain;
    background: #000;
}

.zn-inplayer-ad-link {
    width: 100%;
    height: 100%;
    display: block;
}

.zn-inplayer-ad-hud {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
}

.zn-inplayer-ad-pill {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(9, 16, 32, 0.78);
    backdrop-filter: blur(5px) saturate(145%);
    -webkit-backdrop-filter: blur(5px) saturate(145%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
}

.zn-inplayer-ad-actions {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zn-inplayer-ad-mute,
.zn-inplayer-ad-cta {
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(9, 16, 32, 0.80);
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.zn-inplayer-ad-cta {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(217, 119, 6, 0.88));
}

.zn-inplayer-ad-skip {
    position: absolute;
    right: 16px;
    bottom: 22px;
    z-index: 4;
    padding: 9px 16px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 800;
    border: 1.5px solid rgba(255, 255, 255, 0.34);
    background: rgba(9, 16, 32, 0.84);
    backdrop-filter: blur(5px) saturate(145%);
    -webkit-backdrop-filter: blur(5px) saturate(145%);
    color: rgba(248, 250, 252, 0.86);
    cursor: not-allowed;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.zn-inplayer-ad-skip.is-ready {
    background: linear-gradient(135deg, #E50914, #B91C1C);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.55);
}

.zn-inplayer-ad-skip.is-ready:hover {
    transform: translateY(-2px) scale(1.03);
}

.zn-inplayer-ad-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.16);
    z-index: 4;
}

.zn-inplayer-ad-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #F59E0B, #E50914);
    transition: width 0.25s linear;
}

/* ===== 17. SEASONAL ATMOSPHERE: WINTER & NEW YEAR (DEC 24 AUTO + TEST TOGGLE) ===== */
body.zn-season-winter #liquid-bg {
    background:
        radial-gradient(circle at 12% 14%, rgba(56, 189, 248, 0.28) 0%, transparent 46%),
        radial-gradient(circle at 86% 18%, rgba(186, 230, 253, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 20% 78%, rgba(229, 9, 20, 0.14) 0%, transparent 44%),
        radial-gradient(circle at 82% 84%, rgba(14, 165, 233, 0.18) 0%, transparent 42%),
        linear-gradient(180deg, #0b1830 0%, #153159 52%, #0c1b36 100%);
}

html[data-theme="light"] body.zn-season-winter #liquid-bg {
    background:
        radial-gradient(circle at 14% 12%, rgba(56, 189, 248, 0.24) 0%, transparent 44%),
        radial-gradient(circle at 86% 20%, rgba(37, 99, 235, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 25% 75%, rgba(14, 165, 233, 0.14) 0%, transparent 42%),
        linear-gradient(180deg, #eef6ff 0%, #e1effe 50%, #f1f7ff 100%);
}

body.zn-season-newyear #liquid-bg {
    background:
        radial-gradient(circle at 14% 12%, rgba(229, 9, 20, 0.26) 0%, transparent 46%),
        radial-gradient(circle at 85% 16%, rgba(245, 158, 11, 0.24) 0%, transparent 42%),
        radial-gradient(circle at 24% 80%, rgba(16, 185, 129, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 82% 82%, rgba(56, 189, 248, 0.16) 0%, transparent 40%),
        linear-gradient(180deg, #101830 0%, #18274a 52%, #0d172e 100%);
}

html[data-theme="light"] body.zn-season-newyear #liquid-bg {
    background:
        radial-gradient(circle at 14% 12%, rgba(229, 9, 20, 0.14) 0%, transparent 44%),
        radial-gradient(circle at 86% 18%, rgba(245, 158, 11, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 24% 78%, rgba(16, 185, 129, 0.14) 0%, transparent 42%),
        linear-gradient(180deg, #f8f6f2 0%, #edf4fc 50%, #f5f3f9 100%);
}

.zn-snow-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    pointer-events: none;
}

.drawer-season-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.drawer-season-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0px) saturate(150%);
    -webkit-backdrop-filter: blur(0px) saturate(150%);
    color: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

html[data-theme="light"] .drawer-season-pill {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(14, 42, 82, 0.14);
    color: var(--zn-ink-light);
}

.drawer-season-pill.active {
    background: linear-gradient(135deg, #E50914, #B20710) !important;
    border-color: rgba(255, 255, 255, 0.44) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px -4px rgba(229, 9, 20, 0.50);
}

.zn-ny-banner {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 940;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 20px);
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fef3c7 !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.zn-ny-banner.is-scrolled-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, -14px) !important;
}

html[data-theme="light"] .zn-ny-banner {
    color: #92400e !important;
    border-color: rgba(245, 158, 11, 0.65) !important;
}

.zn-ny-banner-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zn-ny-banner-close {
    background: rgba(255, 255, 255, 0.16);
    border: none;
    color: inherit;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
}

.zn-season-btn {
    font-size: 0.96rem !important;
    line-height: 1 !important;
}

.zn-season-btn.is-newyear {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(245, 158, 11, 0.28)) !important;
    border: 1px solid rgba(251, 191, 36, 0.55) !important;
    border-radius: 9999px !important;
}

.zn-season-btn.is-winter {
    background: rgba(56, 189, 248, 0.16) !important;
    border: 1px solid rgba(125, 211, 252, 0.4) !important;
    border-radius: 9999px !important;
}

.zn-season-toast {
    position: fixed;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%) translateY(16px);
    z-index: 1200;
    padding: 9px 18px;
    border-radius: 9999px;
    background: rgba(9, 16, 32, 0.88);
    backdrop-filter: blur(5px) saturate(150%);
    -webkit-backdrop-filter: blur(5px) saturate(150%);
    border: 1.5px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.zn-season-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.zn-ico,
.zn-inline-ico,
.zn-flag-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.15em;
    flex-shrink: 0;
}

.zn-flag-svg {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.zn-season-btn,
.drawer-season-pill,
.drawer-lang-btn,
.lang-option,
.zn-cat-pill {
    gap: 6px;
}

@media (max-width: 767px) {
    .zn-ny-banner {
        top: 60px;
        font-size: 0.70rem;
        padding: 5px 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zn-season-flake,
    .zn-ny-bulb {
        animation: none !important;
    }
}

/* ===== TRANSPARENT CONTENT WRAPPERS (UNINTERRUPTED LIQUID GLASS BACKDROP) ===== */
html[data-theme="dark"] body,
html[data-theme="light"] body,
body.theme-light,
main,
.site-main,
.home-main,
.home-sections,
.content-row,
.zn-cat-bar-wrap,
.catalog-main,
.page-section,
.watch-main,
.detail-main,
.detail-body,
.tv-page,
.wp-page,
.profile-page-zn,
.settings-page,
.hero-placeholder-slide {
    background: transparent !important;
    background-color: transparent !important;
}

.hero-overlay {
    background:
        linear-gradient(to top, rgba(12, 22, 43, 0.85) 0%, rgba(12, 22, 43, 0.42) 26%, rgba(12, 22, 43, 0.08) 60%, rgba(12, 22, 43, 0.30) 100%),
        linear-gradient(to right, rgba(12, 22, 43, 0.86) 0%, rgba(12, 22, 43, 0.44) 44%, transparent 76%) !important;
}

html[data-theme="light"] .hero-overlay {
    background:
        linear-gradient(to top, rgba(232, 241, 251, 0.88) 0%, rgba(5, 11, 22, 0.62) 20%, rgba(5, 11, 22, 0.14) 64%, rgba(5, 11, 22, 0.34) 100%),
        linear-gradient(to right, rgba(5, 11, 22, 0.86) 0%, rgba(5, 11, 22, 0.44) 46%, rgba(5, 11, 22, 0.08) 84%) !important;
}

html[data-theme="light"] .detail-hero-overlay,
[data-theme="light"] .detail-hero-overlay {
    background: linear-gradient(0deg, rgba(238, 244, 252, 0.92) 0%, transparent 34%) !important;
}

/* Liquid Glass Skeleton Slots (shown cleanly before /api/home hydrates) */
.zn-skel-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.zn-skel-card {
    aspect-ratio: 2 / 3;
    min-height: 170px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10) 0%, rgba(12, 24, 48, 0.28) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

html[data-theme="light"] .zn-skel-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.28) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.82);
}

@media (max-width: 1023px) {
    .zn-skel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .zn-skel-card:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 479px) {
    .zn-skel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .zn-skel-card:nth-child(n+3) {
        display: none;
    }
}

/* ===== TELEGRAM WEBAPP / MOBILE WATCH FULLSCREEN ROTATION & CLEAN CHROME ===== */
body.page-watch #zipx-fab,
body.page-watch .zipx-fab {
    display: none !important;
}

body.player-mobile-fs #watch-hero-section,
body.player-mobile-fs .watch-detail-hero,
body.player-mobile-fs .detail-hero,
body.player-desktop-fs #watch-hero-section,
body.player-desktop-fs .watch-detail-hero,
html.tg-player-fs #watch-hero-section,
html.tg-player-fs .watch-detail-hero,
body.player-mobile-fs #zn-scroll-top,
body.player-mobile-fs .zn-scroll-top,
body.player-mobile-fs #zipx-root,
body.player-mobile-fs .zipx-root,
body.player-mobile-fs #zipx-fab,
body.player-mobile-fs .zipx-fab,
body.player-mobile-fs #zipx-panel,
body.player-mobile-fs .zipx-panel,
body.player-mobile-fs #zn-ny-banner,
body.player-mobile-fs .zn-ny-banner,
body.player-mobile-fs #zn-snow-canvas,
body.player-mobile-fs #zn-cookie-banner,
body.player-mobile-fs .zn-cookie-banner,
body.player-mobile-fs .cookie-banner,
body.player-desktop-fs #zn-scroll-top,
body.player-desktop-fs .zn-scroll-top,
body.player-desktop-fs #zipx-root,
body.player-desktop-fs .zipx-root,
body.player-desktop-fs #zn-ny-banner,
body.player-desktop-fs #zn-snow-canvas,
body.player-desktop-fs #zn-cookie-banner,
html.tg-player-fs #zn-scroll-top,
html.tg-player-fs #zipx-root,
html.tg-player-fs .zipx-fab,
html.tg-player-fs #zn-ny-banner,
html.tg-player-fs #zn-snow-canvas,
html.tg-player-fs #zn-cookie-banner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#player-rotate-btn,
.zn-ctrl-rotate {
    display: none;
}

body.player-mobile-fs #player-rotate-btn,
body.player-mobile-fs .zn-ctrl-rotate {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Safe-area offset for watermarks & title inside portrait/Telegram WebApp fullscreen */
body.player-mobile-fs:not(.player-mobile-fs-rotated) .zn-player-brand-watermark,
body.player-mobile-fs:not(.player-mobile-fs-rotated) .player-user-tag {
    top: calc(var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px)) + var(--tg-content-safe-area-inset-top, 52px) + 10px) !important;
}

body.player-mobile-fs:not(.player-mobile-fs-rotated) .zn-player-title {
    padding-top: calc(var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px)) + var(--tg-content-safe-area-inset-top, 48px) + 6px) !important;
}

/* 90-degree CSS Landscape Rotation when native orientation.lock is unsupported (Telegram WebApp / iOS) */
html.tg-player-fs {
    scroll-behavior: auto !important;
    overflow: hidden !important;
    height: 100% !important;
}

body.player-mobile-fs .watch-page,
body.player-mobile-fs .watch-after-hero,
body.player-mobile-fs .watch-stack,
body.player-mobile-fs .watch-player-block {
    z-index: 20000 !important;
}

body.player-mobile-fs.player-mobile-fs-rotated #player-shell {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100vh;
    height: 100vw;
    width: 100dvh !important;
    height: 100dvw !important;
    max-width: none !important;
    max-height: none !important;
    transform-origin: top left !important;
    transform: translateX(100vw) rotate(90deg) !important;
    z-index: 20000 !important;
    background: #000 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

body.player-mobile-fs.player-mobile-fs-rotated .zn-player-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

body.player-mobile-fs.player-mobile-fs-rotated #player-shell video,
body.player-mobile-fs.player-mobile-fs-rotated #player-shell .plyr,
body.player-mobile-fs.player-mobile-fs-rotated #player-shell .plyr__video-wrapper {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}

body.player-mobile-fs.player-mobile-fs-rotated #player-shell video {
    object-fit: contain !important;
}

body.player-mobile-fs.player-mobile-fs-rotated .zn-player-controls {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 8px)) !important;
    z-index: 10010 !important;
}

body.player-mobile-fs.player-mobile-fs-rotated .zn-player-title {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding-top: 10px !important;
    z-index: 10009 !important;
}

body.player-mobile-fs.player-mobile-fs-rotated .zn-play-large {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

body.player-mobile-fs.player-mobile-fs-rotated .zn-player-brand-watermark {
    top: 14px !important;
    right: 16px !important;
}

body.player-mobile-fs.player-mobile-fs-rotated .player-user-tag {
    top: 14px !important;
    left: 16px !important;
}
