/* ═══════════════════════════════════════════════════
   CODEX CMS — KissKH-Inspired Modern Streaming UI v3
   Inspired by kiskhs.co — Clean, dark, content-first
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    color-scheme: dark;
    --bg: #0a0a0a;
    --bg-elevated: #141414;
    --surface: #1a1a1a;
    --surface-2: #222;
    --surface-hover: #2a2a2a;
    --text: #fff;
    --text-secondary: #ccc;
    --text-muted: #888;
    --brand: #ff2d55;
    --brand-hover: #ff4d6f;
    --brand-glow: rgba(255, 45, 85, .3);
    --green: #00c853;
    --gold: #f5c518;
    --blue: #2196f3;
    --line: rgba(255, 255, 255, .08);
    --line-hover: rgba(255, 255, 255, .15);
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow: 0 4px 20px rgba(0, 0, 0, .5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .6);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --transition: .2s var(--ease);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    padding-top: 65px;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

.hidden {
    display: none !important;
}

.sr-only,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 10px;
    z-index: 2101;
    padding: 6px 14px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11px;
    transform: translateY(-200%);
    transition: transform .2s;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(1280px, 100% - 32px);
    margin: 0 auto;
    padding: 20px 0 30px;
}

/* ═══════════════════════════════════════════════════
   HEADER — Sticky dark navbar (KissKH-style)
   ═══════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2100;
    width: 100%;
    height: 65px;
    background: rgba(10, 10, 10, .85);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px) saturate(1.3);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(1280px, 100% - 48px);
    height: 100%;
    margin: 0 auto;
}

/* Header Actions & Navigation */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.lang-toggle svg {
    opacity: 0.7;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.lang-switcher.active .lang-dropdown {
    display: grid;
}

.lang-dropdown a {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.2s;
    border: 1px solid transparent;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.lang-dropdown a.active {
    background: linear-gradient(135deg, var(--brand) 0%, #a29bfe 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.lang-code {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    margin-bottom: 2px;
}

.lang-name {
    font-size: 13px;
    font-weight: 600;
}

.lang-dropdown a.active .lang-code {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Header Search */
.site-search {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 0 6px 0 16px;
    height: 40px;
    width: 240px;
    transition: all 0.3s;
}

.site-search:focus-within {
    width: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.site-search input {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 100%;
    outline: none;
}

.site-search button {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s;
}

.site-search button:hover {
    color: #fff;
}

.user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
}

.user-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    transform: rotate(15deg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #fff;
    transition: all 0.2s;
}

@media (max-width: 980px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    margin-right: 40px;
}

.brand strong {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.03em;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
}

.brand .dot {
    display: inline-block;
    color: var(--brand);
    font-size: 32px;
    line-height: 0;
    margin-left: 1px;
}

/* Navigation Bar & Mobile Drawer */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    transition: all .3s var(--ease);
}

.nav-open .nav-overlay {
    visibility: visible;
    opacity: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.site-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.site-nav a svg {
    opacity: 0.5;
    stroke-width: 2.5;
    transition: all var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--brand);
    border-radius: 99px;
    box-shadow: 0 0 10px var(--brand);
}

.site-nav a:hover svg,
.site-nav a.active svg {
    opacity: 1;
    color: var(--brand);
}

/* Mobile Specifics Base */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--text);
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: all .3s;
}

.nav-open .line-mid {
    opacity: 0;
}

.nav-open .line-top {
    transform: translateY(6px) rotate(45deg);
    transform-origin: center;
}

.nav-open .line-bot {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: center;
}
/* Mobile-only language grid — hide on desktop */
.mobile-nav-bottom {
    display: none;
}

@media (max-width: 991px) {
    .lang-switcher {
        display: none;
    }

    .mobile-nav-bottom {
        display: block;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }
    
    .nav-label {
        font-size: 11px;
        text-transform: uppercase;
        color: var(--text-muted);
        letter-spacing: 0.1em;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .mobile-lang-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .mobile-lang-grid a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700;
        color: var(--text-secondary);
        padding: 0;
    }

    .mobile-lang-grid a:hover,
    .mobile-lang-grid a.active {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
        transform: scale(0.98);
    }
}

.mobile-search {
    display: none;
    width: 100%;
    margin-bottom: 24px;
}

.mobile-search input {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface-2);
    border: 1px solid var(--line-hover);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 15px;
    outline: none;
}

@media (max-width: 991px) {
    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        padding: 80px 20px 40px;
        gap: 20px;
        z-index: 2000;
        transform: translateX(-100%);
        transition: transform .4s var(--ease);
        display: flex;
        border-right: 1px solid var(--line);
        box-shadow: 10px 0 50px rgba(0, 0, 0, 0.8);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-open .site-nav {
        transform: translateX(0);
    }

    .nav-open {
        overflow: hidden;
    }

    /* App-style grid buttons */
    .site-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: min-content;
        align-content: flex-start;
    }

    .site-nav .mobile-search,
    .site-nav .mobile-nav-bottom {
        grid-column: span 2;
    }

    .mobile-search {
        position: relative;
    }

    /* Search Suggestions */
    .search-suggestions {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 380px;
        max-width: calc(100vw - 32px);
        background: #141414;
        border: 1px solid var(--line-hover);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        z-index: 2500;
        overflow: hidden;
        display: none;
        backdrop-filter: blur(20px);
    }

    .search-suggestions.is-visible {
        display: block;
    }

    .suggestion-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--line);
        transition: all .2s;
    }

    .suggestion-item:last-child {
        border-bottom: none;
    }

    .suggestion-item:hover {
        background: var(--surface);
    }

    .suggestion-info h4 {
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 2px;
    }

    .suggestion-info span {
        font-size: 11px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .suggestion-empty {
        padding: 20px;
        text-align: center;
        color: var(--text-muted);
        font-size: 13px;
    }


    .site-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 24px 10px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        transition: all .2s;
    }

    .site-nav a svg {
        width: 24px;
        height: 24px;
        opacity: 1;
        color: var(--brand);
    }

    .site-nav a:hover,
    .site-nav a.active {
        background: var(--surface-2);
        border-color: var(--brand);
        transform: scale(0.98);
    }

    .mobile-menu-toggle {
        display: grid;
        position: relative;
        z-index: 2100;
    }

    .site-search {
        display: none !important;
    }

    .mobile-search {
        display: block;
    }

    .header-inner {
        justify-content: space-between;
    }

    .site-header,
    .header-inner {
        overflow: visible !important;
    }
}

@media (min-width: 992px) {
    .site-nav {
        transform: none !important;
    }

    .nav-overlay {
        display: none;
    }
}

/* Gutter Ads */
.gutter-ad {
    position: fixed;
    top: 80px;
    z-index: 50;
    width: 160px;
    display: none;
}

@media (min-width: 1600px) {
    .gutter-ad {
        display: block;
    }
}

.gutter-right {
    right: 20px;
}

.gutter-left {
    left: 20px;
}

transition: all var(--transition);
}

.hero-actions a:first-child {
    background: var(--brand);
    color: #fff;
}

.hero-actions a:first-child:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--brand-glow);
}

.hero-actions a:not(:first-child) {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid var(--line-hover);
}

.hero-actions a:not(:first-child):hover {
    background: rgba(255, 255, 255, .18);
}

/* ═══════════════════════════════════════════════════
   SECTIONS, GRIDS, CONTENT CARDS (KissKH-style)
   ═══════════════════════════════════════════════════ */

.home-section {
    margin-top: 24px;
    content-visibility: auto;
    contain-intrinsic-size: 400px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.section-head h2,
.watch-summary h2,
.server-panel h2,
.contact-form h2 {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

/* Red accent bar */
.section-head h2::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: var(--brand);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -20px;
    margin-bottom: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-view-all:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateX(4px);
}

.btn-view-all svg {
    transition: transform 0.3s;
}

.btn-view-all:hover svg {
    transform: translateX(2px);
}

/* Shared pill-button styles */
.blog-tabs a,
.pager a,
.pager span,
.back-link,
.episode-nav a,
.episode-nav span,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 18px;
    border: 1px solid var(--line-hover);
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.blog-tabs a:hover,
.blog-tabs a.active,
.pager a:hover,
.back-link:hover,
.episode-nav a:hover,
.primary-button:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ── Content Grid — Bulletproof Multi-Column ──── */
.container .content-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 0 40px !important;
    padding: 0 !important;
}

@media (max-width: 1200px) {
    .container .content-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .container .content-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 768px) {
    .container .content-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .container .content-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

/* ── Content Card — Premium Reference Style ───── */
.content-card {
    position: relative;
    width: 100%;
    min-width: 0;
    /* Important for grid */
    border-radius: 12px;
    overflow: hidden;
    background: #0d0d0d;
    transition: transform .3s var(--ease);
}

.content-card:hover {
    transform: translateY(-8px);
}

.poster-frame {
    position: relative;
    aspect-ratio: 2/3 !important;
    /* Strict Portrait */
    width: 100% !important;
    overflow: hidden;
    background: #1a1a1a;
}

.poster-img-container {
    width: 100%;
    height: 100%;
    transition: transform .5s var(--ease);
}

.content-card:hover .poster-img-container {
    transform: scale(1.1);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

.no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #222, #000);
    color: #444;
    font-size: 32px;
    font-weight: 800;
}

/* Badges */
.top-badges-left {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}

.top-badges-right {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.badge {
    height: 20px;
    padding: 0 10px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.badge-type {
    background: linear-gradient(135deg, #ff2d55 0%, #ff373b 100%);
}

.badge-quality {
    background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
}

.episode-float-badge {
    position: absolute;
    bottom: 40px;
    /* Above title overlay */
    right: 8px;
    z-index: 15;
    background: #00b894;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: transform 0.3s;
}

.content-card:hover .episode-float-badge {
    transform: translateY(-4px);
    background: #00d2a0;
}

.episode-float-badge.is-completed {
    background: #0984e3;
    /* Blue for completed */
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.4);
}

/* Overlay */
.card-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 70%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.card-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-bottom-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.meta-badge {
    height: 20px;
    padding: 0 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Badges moved to end of file for priority */

.episode-float-badge {
    display: none !important;
}

/* Hover Icon */
.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    z-index: 8;
}

.content-card:hover .card-hover-overlay {
    opacity: 1;
}

.play-icon {
    width: 40px;
    height: 40px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 15px var(--brand-glow);
    transform: scale(0.8);
    transition: transform .3s;
}

.content-card:hover .play-icon {
    transform: scale(1);
}

.play-icon svg {
    width: 20px;
    height: 20px;
}



/* ═══════════════════════════════════════════════════
   DETAIL PAGE (Movie/Series) — KissKH layout
   ═══════════════════════════════════════════════════ */
.detail-page,
.page-shell,
.static-page,
.blog-shell,
.blog-article,
.person-page {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.watch-page {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.detail-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
    padding: clamp(20px, 3vw, 32px);
    border-radius: var(--radius-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--line);
}

.detail-poster {
    min-height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-poster span {
    padding: 20px;
    text-align: center;
}

.detail-info {
    padding: 8px 0;
}

.detail-info h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    line-height: 1.05;
}

.original-title {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

/* Detail badges — KissKH uses colored pills */
.detail-badges {
    margin: 14px 0;
}

.detail-badges span {
    padding: 4px 12px !important;
    border-radius: var(--radius-xs) !important;
    font-size: 12px !important;
}

.detail-badges span:first-child {
    background: var(--brand) !important;
    color: #fff !important;
}

.detail-badges span:nth-child(2) {
    background: var(--green) !important;
    color: #fff !important;
}

.detail-summary {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
    margin-top: 16px;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0 0;
}

.detail-list div {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.detail-list dt {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.detail-list dd {
    margin: 4px 0 0;
    font-weight: 700;
    font-size: 14px;
}

.tag-row,
.people-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tag-row a,
.person-chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--line-hover);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.tag-row a:hover,
.person-chip:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(255, 45, 85, .06);
}

.person-chip {
    display: grid;
    min-width: 150px;
    border-radius: var(--radius-sm);
}

.person-chip span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   WATCH / EPISODE PAGE
   ═══════════════════════════════════════════════════ */
.watch-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.action-btn:hover {
    background: var(--surface-hover);
    color: var(--text);
    border-color: var(--line-hover);
}

.theater-mode .theater-toggle {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.watch-player {
    position: relative;
    width: 100%;
    min-height: clamp(260px, 56.25vw, 620px);
    background: #000;
    overflow: hidden;
    transition: all .4s var(--ease);
}



.watch-player iframe,
.player-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.player-poster {
    object-fit: cover;
    opacity: .7;
}

.watch-player.is-loaded::after,
.watch-player.is-loaded .player-poster {
    display: none;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .25);
    background: var(--brand);
    box-shadow: 0 0 40px var(--brand-glow);
    transition: transform .2s, background .2s;
}

.play-button::before {
    content: '';
    margin-left: 4px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid #fff;
}

.play-overlay:hover .play-button {
    background: var(--brand-hover);
    transform: translate(-50%, -50%) scale(1.08);
}

.play-text-group {
    position: absolute;
    top: calc(50% + 50px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    width: 100%;
    padding: 0 16px;
}

.play-overlay strong {
    font-size: 15px;
    font-weight: 800;
}

.play-overlay small {
    max-width: 260px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.player-unavailable {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    min-height: 280px;
    width: 100%;
}

/* ── Coming Soon Player UI ── */
.player-unavailable.coming-soon-player {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
    display: block;
}

.player-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.player-bg-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(40px) brightness(0.4);
    transform: scale(1.1);
    /* Prevent white edges */
}

.player-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}

.player-ui-center {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.live-indicator .dot {
    width: 9px;
    height: 9px;
    background: var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--brand);
    animation: playerPulse 2s infinite;
}

@keyframes playerPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.live-indicator .label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.upcoming-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.1;
}

.upcoming-desc {
    font-size: clamp(13px, 3vw, 15px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
    margin-bottom: 24px;
}

.release-timer {
    display: flex;
    gap: 12px;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.timer-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand);
}

.timer-lab {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

/* Mock Player UI */
.player-ui-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: clamp(10px, 4vw, 20px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5) 50%, transparent);
}

.player-progress-wrap {
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin-bottom: clamp(8px, 3vw, 12px);
    overflow: hidden;
}

.player-progress-bar {
    width: 20%;
    height: 100%;
    background: var(--brand);
    border-radius: 2px;
}

.player-controls-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.ctrl-left,
.ctrl-right {
    display: flex;
    align-items: center;
    gap: clamp(10px, 3vw, 16px);
}

.time-mock {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.quality-mock {
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.player-controls-mock svg {
    opacity: 0.8;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .player-ui-center {
        padding-bottom: 60px;
    }

    /* Space for bottom bar */
    .ctrl-left svg:nth-child(2),
    .ctrl-right svg:nth-child(2) {
        display: none;
    }

    .time-mock {
        font-size: 10px;
    }

    .upcoming-title {
        font-size: 24px;
    }

    .upcoming-desc {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .release-timer .timer-item {
        padding: 6px 14px;
    }

    .timer-val {
        font-size: 14px;
    }
}

/* Server panel */
.server-panel {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.server-panel h2::before {
    display: none;
}

.server-panel p {
    color: var(--text-muted);
    font-size: 12px;
}

.server-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.server-btn span {
    margin-left: 5px;
    color: var(--text-muted);
    font-size: 11px;
}

.server-btn.active,
.server-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.episode-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.episode-nav span {
    opacity: .35;
}

.comment-box,
.copy-card,
.watch-summary,
.contact-form {
    margin-top: 28px;
    padding: clamp(16px, 2.5vw, 24px);
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.watch-summary h2::before,
.contact-form h2::before {
    display: none;
}

.watch-summary p,
.comment-box p,
.copy-card {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   PAGES, BLOG, SEARCH, FOOTER
   ═══════════════════════════════════════════════════ */
.page-head {
    margin-bottom: 24px;
}

.page-head h1 {
    font-size: clamp(28px, 5vw, 48px);
    max-width: 700px;
}

.blog-head h1,
.article-head h1,
.error-page h1 {
    font-size: clamp(28px, 5vw, 48px);
}

.page-head p:not(.eyebrow),
.article-head p,
.error-page p,
.blog-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.blog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.blog-tabs,
.pager,
.pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pager,
.pagination-wrap {
    justify-content: center;
    margin-top: 32px;
}

.pagination-wrap nav {
    width: 100%;
}

.pagination-wrap nav>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
}

.pagination-wrap svg {
    width: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.blog-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.blog-card-media {
    aspect-ratio: 16/10;
}

.blog-card-media span {
    z-index: 1;
    color: var(--brand);
    font-size: 28px;
    font-weight: 800;
}

.back-link {
    margin-bottom: 18px;
}

.article-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
}

.byline {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.article-cover {
    margin: 24px 0;
}

.article-cover img {
    width: 100%;
    max-height: 440px;
    border-radius: var(--radius);
    object-fit: cover;
}

.article-body {
    max-width: 740px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.85;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    margin: 28px 0 12px;
}

.article-body blockquote {
    margin: 20px 0 20px 0;
    padding-left: 18px;
    border-left: 3px solid var(--brand);
    color: var(--text);
    font-weight: 600;
}

.article-body a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Search */
.search-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.search-panel input {
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
}

.search-panel input::placeholder {
    color: var(--text-muted);
}

.search-panel button {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    transition: background var(--transition);
}

.search-panel button:hover {
    background: var(--brand-hover);
}

.instant-results {
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 6px);
    z-index: 20;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.instant-results a {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all .15s;
}

.instant-results a:hover {
    background: var(--surface);
    color: var(--brand);
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}

.field span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.field input,
.field textarea {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    outline: none;
    transition: border-color var(--transition);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--brand);
}

.contact-form button {
    margin-top: 16px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    transition: all var(--transition);
}

.contact-form button:hover {
    background: var(--brand-hover);
}

.notice.success {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 200, 83, .2);
    background: rgba(0, 200, 83, .08);
    color: var(--green);
}

.empty-state {
    grid-column: 1/-1;
    padding: 40px;
    text-align: center;
    border: 1px dashed var(--line-hover);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
}

.error-page {
    display: grid;
    min-height: 50vh;
    place-items: center;
    text-align: center;
}

.error-page p:not(.eyebrow) {
    max-width: 460px;
    margin: 12px auto 24px;
}

/* ── Footer — KissKH-style ─────────── */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1280px;
    margin: 40px auto 0;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: flex-end;
    max-width: 600px;
}

.site-footer a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--brand);
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 980px) {

    .server-panel {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .watch-head,
    .site-footer,
    .blog-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-hero {
        display: flex;
        flex-direction: column;
    }

    .detail-info {
        display: contents;
    }

    .detail-info h1 {
        order: -3;
        text-align: center;
        margin-bottom: 4px;
        font-size: clamp(28px, 6vw, 36px);
    }

    .original-title {
        order: -2;
        text-align: center;
        margin-bottom: 16px;
        font-size: 14px;
        opacity: 0.7;
    }

    .detail-poster {
        order: -1;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 240px;
        aspect-ratio: 2/3;
        border-radius: var(--radius);
    }

    .detail-badges {
        order: 0;
        justify-content: center;
        margin-bottom: 16px;
    }

    .detail-summary,
    .detail-list,
    .tag-row {
        order: 1;
    }
}

@media (max-width: 640px) {

    .container,
    .site-footer {
        width: min(100% - 24px, 1280px);
    }

    .container {
        padding-top: 20px;
    }

    .home-hero,
    .detail-hero,
    .watch-player {
        border-radius: var(--radius);
    }

    .hero-copy h1,
    .page-head h1,
    .blog-head h1,
    .article-head h1,
    .watch-head h1,
    .error-page h1,
    .detail-info h1 {
        font-size: clamp(24px, 10vw, 36px);
    }

    .episode-grid,
    .blog-grid,
    .blog-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-list,
    .episode-nav,
    .form-grid,
    .search-panel {
        grid-template-columns: 1fr;
    }

    .content-card-body,
    .blog-card-body {
        padding: 10px;
    }

    .section-head h2 {
        font-size: 18px;
    }
}


/* ═══════════════════════════════════════════════════
   ADVERTISING SPACES
   ═══════════════════════════════════════════════════ */
.ad-container {
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 30px;
    transition: var(--transition);
}

.ad-placeholder,
.ad-placeholder-debug {
    width: 100%;
    border: 1px dashed var(--line-hover);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition);
}

.ad-placeholder:hover,
.ad-placeholder-debug:hover {
    background: rgba(255, 45, 85, 0.03);
    border-color: rgba(255, 45, 85, 0.2);
    color: var(--brand);
}

@media (max-width: 768px) {
    .ad-container {
        margin-top: 8px;
        margin-bottom: 8px;
    }
}

/* ═══════════════════════════════════════════════════
   GUTTER / SIDEBAR ADS (Skyscrapers)
   ═══════════════════════════════════════════════════ */
.gutter-ad {
    position: fixed;
    top: 150px;
    width: 160px;
    height: 600px;
    z-index: 40;
    display: none;
    margin: 0 !important;
}

.gutter-ad .ad-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

@media (min-width: 1640px) {
    .gutter-ad {
        display: flex;
    }

    .gutter-left {
        left: calc(50% - 640px - 180px);
    }

    .gutter-right {
        right: calc(50% - 640px - 180px);
    }
}

@media (max-width: 1639px) {
    .gutter-ad {
        display: none !important;
    }
}

/* ── Improvements ────────────────── */
.image-missing {
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100px;
}

.image-missing img {
    display: none !important;
}

.image-missing::after {
    content: "IMAGE UNAVAILABLE";
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.player-poster-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.watch-player.is-loaded .player-poster-wrap {
    display: none;
}

.server-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.server-switcher label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-right: 4px;
}

.server-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.server-btn:hover {
    border-color: var(--brand);
    color: var(--text);
}

.server-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.server-btn svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

/* ── Redesigned Watch Page Styles ── */
.watch-head {
    margin-bottom: 24px;
}

.watch-title-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-series-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
}

.btn-series-back:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

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

.badge-label {
    font-size: 12px;
    color: var(--text-muted);
}

.badge-label strong {
    color: var(--text-secondary);
    font-weight: 700;
    margin-left: 2px;
}

.watch-h1 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.watch-player {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ── High-Density Episode Grid ── */
.episode-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.ep-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    background: rgba(63, 145, 255, 0.08);
    border: 1px solid rgba(63, 145, 255, 0.25);
    border-radius: 8px;
    color: #7ab8ff;
    transition: all var(--transition);
    min-height: 44px;
    font-weight: 700;
}

.ep-btn:hover {
    border-color: #5ba3ff;
    color: #fff;
    background: linear-gradient(135deg, rgba(63, 145, 255, 0.25) 0%, rgba(0, 210, 255, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(63, 145, 255, 0.2);
}

.ep-btn.active {
    background: linear-gradient(135deg, #ff6b3d 0%, #ff855f 100%);
    border-color: #ff855f;
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 107, 61, 0.45);
    transform: scale(1.05);
}

.ep-btn strong {
    font-size: 13px;
    font-weight: 800;
}

.ep-btn small {
    font-size: 10px;
    opacity: 0.6;
    font-weight: 700;
    margin-bottom: 2px;
}

@media (max-width: 480px) {
    .episode-list-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .ep-btn {
        min-height: 40px;
        padding: 8px 2px;
    }

    .ep-btn strong {
        font-size: 11px;
    }
}

/* 2026 refresh overrides */
:root {
    --bg: #07111f;
    --bg-elevated: rgba(10, 19, 35, 0.9);
    --surface: rgba(15, 27, 49, 0.9);
    --surface-2: rgba(19, 36, 63, 0.95);
    --surface-hover: rgba(29, 53, 91, 0.95);
    --text: #f4f7fb;
    --text-secondary: #ced8e8;
    --text-muted: #88a0c0;
    --brand: #ff6b3d;
    --brand-hover: #ff855f;
    --brand-glow: rgba(255, 107, 61, 0.32);
    --line: rgba(140, 173, 220, 0.16);
    --line-hover: rgba(177, 206, 247, 0.28);
    --shadow: 0 24px 50px rgba(3, 8, 17, 0.32);
    --shadow-lg: 0 34px 80px rgba(3, 8, 17, 0.46);
    --font: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

html {
    background: #050d18;
}

body {
    position: relative;
    padding-top: 88px;
    background:
        radial-gradient(circle at top left, rgba(255, 107, 61, 0.18), transparent 26%),
        radial-gradient(circle at 85% 10%, rgba(63, 145, 255, 0.16), transparent 22%),
        linear-gradient(180deg, #09121f 0%, #060c16 42%, #040912 100%);
    color: var(--text);
    font-family: var(--font);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
}

body::before {
    top: -12vw;
    left: -10vw;
    background: rgba(255, 107, 61, 0.5);
}

body::after {
    top: 14vw;
    right: -14vw;
    background: rgba(60, 145, 255, 0.45);
}

.container {
    width: min(1320px, 100% - 32px);
    padding: 30px 0 48px;
}

.site-header {
    height: 82px;
    background: rgba(6, 13, 24, 0.72);
    border-bottom: 1px solid rgba(162, 193, 241, 0.12);
    box-shadow: 0 10px 40px rgba(4, 10, 19, 0.3);
    backdrop-filter: blur(22px) saturate(1.35);
}

.header-inner {
    width: min(1320px, 100% - 40px);
    gap: 18px;
}

.brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-right: 14px;
}

.brand strong {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: -0.08em;
}

.brand-tag {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand .dot {
    font-size: 36px;
}

.site-nav {
    gap: 10px;
}

.site-nav a {
    position: relative;
    border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(177, 206, 247, 0.14);
}

.site-nav a.active::after {
    display: none;
}

.site-search {
    position: relative;
    width: clamp(280px, 28vw, 360px);
    padding: 4px 6px 4px 18px;
    background: rgba(15, 26, 45, 0.78);
    border: 1px solid rgba(177, 206, 247, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-search:focus-within {
    border-color: rgba(255, 133, 95, 0.48);
    box-shadow: 0 0 0 4px rgba(255, 107, 61, 0.12);
}

.site-search input::placeholder,
.mobile-search input::placeholder,
.hero-search input::placeholder,
.search-panel input::placeholder {
    color: rgba(187, 207, 234, 0.58);
}

.site-search button,
.mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.04);
}

.nav-overlay {
    cursor: pointer;
    border: 0;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    display: none;
    background: rgba(10, 18, 33, 0.98);
    border: 1px solid rgba(177, 206, 247, 0.14);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.search-suggestions.is-visible {
    display: block;
}

.suggestion-item {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(177, 206, 247, 0.08);
}

.suggestion-item:last-child {
    border-bottom: 0;
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.suggestion-info {
    display: grid;
    gap: 4px;
}

.suggestion-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.suggestion-info span,
.suggestion-empty {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.suggestion-empty {
    padding: 16px;
}

.home-hero,
.page-head,
.blog-head,
.watch-head,
.detail-hero,
.watch-player {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(177, 206, 247, 0.13);
    box-shadow: var(--shadow);
}

.home-hero,
.page-head,
.blog-head,
.watch-head,
.detail-hero {
    background:
        radial-gradient(circle at top right, rgba(255, 107, 61, 0.16), transparent 26%),
        linear-gradient(155deg, rgba(12, 21, 37, 0.97), rgba(8, 14, 25, 0.92));
}

.page-shell,
.blog-shell,
.static-page,
.detail-page,
.watch-page {
    display: grid;
    gap: 26px;
}

.page-head,
.blog-head,
.watch-head {
    padding: clamp(24px, 4vw, 34px);
    border-radius: 28px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
    gap: 28px;
    min-height: 420px;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 30px;
}

.home-hero::before,
.page-head::before,
.blog-head::before,
.detail-hero::before,
.watch-head::before {
    content: "";
    position: absolute;
    inset: auto auto -80px -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 133, 95, 0.22), transparent 70%);
    pointer-events: none;
}

.hero-copy,
.hero-spotlight {
    position: relative;
    z-index: 1;
}

.hero-copy h1,
.page-head h1,
.blog-head h1,
.watch-head h1,
.detail-info h1,
.card-title,
.blog-card h2,
.hero-spotlight-body h2 {
    font-family: var(--font-display);
    letter-spacing: -0.05em;
}

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 0.95;
}

.hero-copy>p:not(.eyebrow) {
    max-width: 660px;
    color: var(--text-secondary);
    font-size: 15px;
}

.hero-search,
.search-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 22px;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(177, 206, 247, 0.14);
    background: rgba(10, 18, 32, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-search input,
.search-panel input {
    min-height: 50px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    outline: 0;
}

.hero-search button,
.search-panel button {
    min-width: 152px;
    padding: 0 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(255, 107, 61, 0.24);
}

.hero-actions {
    margin-top: 18px;
}

.hero-actions a {
    padding: 12px 22px;
    border-radius: 16px;
}

.hero-actions a:first-child {
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
}

.hero-actions a:not(:first-child) {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(177, 206, 247, 0.14);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.hero-stat-card,
.search-helper-grid a,
.hero-section-pills a {
    border: 1px solid rgba(177, 206, 247, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-stat-card {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 20px;
}

.hero-stat-card strong {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 30px);
}

.hero-stat-card span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-chip-row a,
.hero-section-pills a,
.tag-row a,
.person-chip {
    transition: all var(--transition);
}

.hero-chip-row a {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(177, 206, 247, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
}

.hero-chip-row a:hover,
.hero-section-pills a:hover,
.tag-row a:hover,
.person-chip:hover {
    border-color: rgba(255, 133, 95, 0.34);
    background: rgba(255, 107, 61, 0.08);
    color: var(--text);
}

.hero-spotlight {
    display: grid;
    align-content: start;
    gap: 14px;
}

.spotlight-label,
.section-kicker,
.page-head .eyebrow,
.blog-head .eyebrow,
.watch-head .eyebrow {
    color: #ffb59f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-spotlight-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(177, 206, 247, 0.12);
    background: rgba(8, 15, 27, 0.66);
}

.hero-spotlight-media {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(15, 26, 45, 0.98));
    aspect-ratio: 3 / 4;
}

.hero-spotlight-media img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-spotlight-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-size: 38px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-spotlight-body {
    display: grid;
    align-content: start;
    gap: 10px;
}

.hero-spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-spotlight-meta span,
.content-badges span,
.badge-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(177, 206, 247, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-spotlight-body p,
.page-head p,
.blog-card p,
.detail-summary,
.article-body,
.watch-summary p,
.copy-card,
.comment-box p,
.contact-form,
.search-helper-grid span {
    color: var(--text-secondary);
}

.hero-spotlight-cta {
    color: #ffb59f;
    font-size: 13px;
    font-weight: 800;
}

.hero-section-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-section-pills a {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
}

.hero-section-pills strong,
.search-helper-grid strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.hero-section-pills span,
.search-helper-grid span {
    font-size: 12px;
    line-height: 1.55;
}

.section-head {
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.section-head>div {
    display: grid;
    gap: 4px;
}

.section-head h2::before {
    width: 20px;
    height: 3px;
    margin-right: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), #ffc76f);
}

.section-head span,
.section-nav a,
.view-all-link {
    color: var(--text-muted);
}

.btn-view-all,
.view-all-link {
    border-color: rgba(177, 206, 247, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.btn-view-all:hover,
.view-all-link:hover {
    background: rgba(255, 107, 61, 0.08);
    border-color: rgba(255, 133, 95, 0.34);
    color: #fff;
}

.content-card,
.blog-card {
    border: 1px solid rgba(177, 206, 247, 0.1);
    background: rgba(8, 14, 24, 0.8);
    box-shadow: 0 20px 38px rgba(3, 8, 17, 0.28);
}

.content-card:hover {
    box-shadow: 0 26px 42px rgba(3, 8, 17, 0.36);
}

.poster-frame {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(7, 11, 19, 0.98));
}

.badge {
    min-height: 20px;
    padding: 0 10px;
    border-radius: 999px;
    letter-spacing: 0.08em;
}

.card-info-overlay {
    padding: 52px 14px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 5, 10, 0.08) 25%, rgba(2, 5, 10, 0.95) 100%);
}

.card-title {
    font-size: 16px;
    line-height: 1.2;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.06);
}

.blog-grid {
    gap: 20px;
}

.blog-card {
    overflow: hidden;
    border-radius: 24px;
}

.blog-card-media {
    background: linear-gradient(135deg, rgba(255, 107, 61, 0.18), rgba(63, 145, 255, 0.16));
}

.blog-card-body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.blog-card h2 {
    font-size: clamp(20px, 2.4vw, 24px);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-head p:not(.eyebrow),
.blog-head p,
.watch-head p {
    max-width: 60ch;
}

.search-helper-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.search-helper-grid a {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
}

.instant-results {
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 20;
    border: 1px solid rgba(177, 206, 247, 0.14);
    border-radius: 20px;
    background: rgba(9, 16, 28, 0.98);
}

.instant-results a {
    display: grid;
    gap: 4px;
    padding: 12px 16px;
}

.instant-results a strong {
    font-size: 14px;
}

.instant-results a span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 26px;
    padding: 28px;
    border-radius: 30px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
}

.detail-info {
    display: grid;
    align-content: start;
    gap: 14px;
}

.original-title {
    color: var(--text-muted);
}

.detail-summary,
.watch-summary,
.comment-box,
.copy-card,
.contact-form,
.server-switcher {
    border-color: rgba(177, 206, 247, 0.12);
    background: rgba(10, 18, 32, 0.72);
    box-shadow: var(--shadow);
}

.tag-row,
.people-strip {
    gap: 12px;
}

.tag-row a,
.person-chip {
    border: 1px solid rgba(177, 206, 247, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.watch-player {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(7, 12, 20, 0.72), rgba(3, 6, 12, 0.98));
}

.play-overlay {
    background: linear-gradient(180deg, rgba(4, 9, 17, 0.3), rgba(4, 9, 17, 0.78));
}

.play-text-group strong,
.watch-h1 {
    font-family: var(--font-display);
}

.server-switcher {
    padding: 14px;
    border-radius: 18px;
}

.site-footer {
    width: min(1320px, 100% - 40px);
    gap: 32px;
    padding: 36px 0 54px;
    border-top: 1px solid rgba(177, 206, 247, 0.12);
}

.site-footer strong {
    font-family: var(--font-display);
    color: #fff;
}

.footer-note {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

.site-footer nav {
    max-width: 560px;
    row-gap: 10px;
}

.site-footer a {
    color: var(--text-secondary);
}

.site-footer a:hover {
    color: #fff;
}

@media (max-width: 1100px) {

    .home-hero,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .hero-spotlight-card {
        grid-template-columns: 1fr;
    }

    .hero-spotlight-media {
        aspect-ratio: 16 / 10;
    }

    .hero-search button,
    .search-panel button {
        min-width: 132px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 76px;
    }

    .site-header {
        height: 72px;
    }

    .brand-tag {
        display: none;
    }

    .site-nav {
        background: rgba(7, 13, 24, 0.98);
        border-right-color: rgba(177, 206, 247, 0.12);
    }

    .site-nav a {
        background: rgba(255, 255, 255, 0.04);
    }

    .page-head,
    .blog-head,
    .watch-head,
    .home-hero {
        border-radius: 24px;
    }
}

@media (max-width: 720px) {
    .header-inner {
        width: min(100% - 24px, 1320px);
    }

    .container,
    .site-footer {
        width: min(100% - 24px, 1320px);
    }

    .home-hero,
    .page-head,
    .blog-head,
    .watch-head,
    .detail-hero {
        padding: 20px;
    }

    .hero-search,
    .search-panel,
    .hero-stats,
    .hero-section-pills,
    .search-helper-grid {
        grid-template-columns: 1fr;
    }

    .hero-search button,
    .search-panel button {
        width: 100%;
        min-height: 48px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .hero-chip-row,
    .content-badges,
    .watch-badges {
        gap: 8px;
    }
}

/* Episode Description Fallback UI */
.watch-summary.empty-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.watch-summary.empty-summary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.fallback-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.fallback-text h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.fallback-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.fallback-text strong {
    color: #a29bfe;
}

@media (max-width: 768px) {
    .watch-summary.empty-summary {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-brand-side {
    max-width: 500px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.footer-logo::after {
    content: '.';
    color: var(--brand);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: flex-end;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 0;
}

.footer-nav a:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 107, 0, 0.6);
}

@media (max-width: 860px) {
    .site-footer {
        padding: 40px 20px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }
    .footer-desc {
        margin: 0 auto 12px;
    }
    .footer-nav {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════
   FINAL OVERRIDES — Ensures Badges stay colored
   ═══════════════════════════════════════════════════ */
.meta-badge.badge-year {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%) !important;
    color: #fff !important;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.2);
}

.meta-badge.badge-episodes {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.35) !important;
    color: #fff !important;
    font-weight: 900;
    padding: 0 12px;
    height: 20px;
    font-size: 10px;
    letter-spacing: 0.05em;
    border-radius: 99px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.meta-badge.badge-episodes.is-completed {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.35) !important;
}

