/* Turkish123 - Flagship Light-Green & Emerald Streaming UI (LTR + Light/Night Mode) */
:root {
 --brand: #79c142;
 --brand-hover: #89d151;
 --brand-dark: #4f8c21;
 --brand-deep: #134627;
 --brand-darker: #082011;
 --brand-soft: #eef8e6;
 --brand-border: #c5e5ae;
 --ink: #0f1f15;
 --muted: #52665a;
 --line: #dfece3;
 --bg: #f5faf7;
 --bg-card: #ffffff;
 --bg-soft: #ebf3ee;
 --radius: 14px;
 --shadow: 0 4px 16px rgba(10, 38, 21, .06);
 --shadow-hover: 0 12px 28px rgba(10, 38, 21, .15);
}

body.dark-mode {
 --ink: #ecf7ef;
 --muted: #96b5a1;
 --line: #193825;
 --bg: #07130c;
 --bg-card: #0d2115;
 --bg-soft: #122b1c;
 --brand-soft: #153521;
 --brand-border: #255837;
 --shadow: 0 6px 20px rgba(0, 0, 0, .38);
 --shadow-hover: 0 14px 32px rgba(0, 0, 0, .58);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
 margin: 0;
 overflow-x: hidden;
 font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
 background: var(--bg);
 color: var(--ink);
 line-height: 1.65;
 font-size: 15.5px;
 transition: background-color .2s ease, color .2s ease;
}
body.cinema-dim {
 background: #030905 !important;
 color: #e4f2e8 !important;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; transition: color .15s ease; }
body.dark-mode a { color: var(--brand); }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; letter-spacing: -0.015em; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 18px; }
main.container { padding-top: 12px; padding-bottom: 48px; min-height: 68vh; }

/* ==========================================================================
 HEADER & NAVIGATION
 ========================================================================== */
.site-header {
 background: linear-gradient(135deg, #092213 0%, #124024 55%, #1a5832 100%);
 border-bottom: 3px solid var(--brand);
 color: #fff;
 box-shadow: 0 4px 20px rgba(7, 22, 13, .28);
 position: sticky;
 top: 0;
 z-index: 100;
}
.header-in {
 display: flex;
 align-items: center;
 gap: 14px;
 flex-wrap: wrap;
 padding-top: 11px;
 padding-bottom: 11px;
}
.logo {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 color: #fff !important;
 text-decoration: none !important;
 flex-shrink: 0;
}
.logo-icon {
 width: 38px;
 height: 38px;
 border-radius: 50%;
 flex-shrink: 0;
 object-fit: contain;
 filter: drop-shadow(0 2px 8px rgba(121, 193, 66, .38));
}
.logo-mark {
 width: 38px;
 height: 38px;
 border-radius: 10px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 3px 12px rgba(121, 193, 66, .38);
 flex-shrink: 0;
}
.logo-mark svg { display: block; }
.logo-wordmark {
 display: flex;
 flex-direction: column;
 line-height: 1.05;
}
.logo-text {
 font-size: 23px;
 font-weight: 800;
 letter-spacing: -0.03em;
 color: #fff;
 white-space: nowrap;
}
.logo-accent {
 color: var(--brand);
 font-weight: 900;
}
.logo-sub {
 font-size: 9.5px;
 font-weight: 800;
 letter-spacing: 0.14em;
 color: #b7e892;
 margin-top: 2px;
}

.main-nav {
 display: flex;
 align-items: center;
 gap: 4px;
 flex-wrap: wrap;
}
.main-nav > a, .nav-drop-btn {
 color: rgba(255, 255, 255, .92);
 font-weight: 700;
 font-size: 14px;
 padding: 8px 12px;
 border-radius: 9px;
 background: transparent;
 border: 0;
 cursor: pointer;
 font-family: inherit;
 white-space: nowrap;
 transition: background .15s ease, color .15s ease;
}
.main-nav > a:hover, .nav-drop-btn:hover {
 background: rgba(121, 193, 66, .22);
 color: #fff;
 text-decoration: none;
}
.nav-drop { position: relative; }
.nav-drop-menu {
 display: none;
 position: absolute;
 top: calc(100% + 6px);
 left: 0;
 min-width: 260px;
 grid-template-columns: repeat(2, 1fr);
 gap: 4px;
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: 12px;
 box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
 padding: 8px;
 z-index: 120;
}
.nav-drop-menu.year-menu {
 min-width: 240px;
 grid-template-columns: repeat(3, 1fr);
}
.nav-drop-menu a {
 display: block;
 padding: 7px 10px;
 border-radius: 8px;
 color: var(--ink);
 font-weight: 600;
 font-size: 13.5px;
}
.nav-drop-menu a:hover {
 background: var(--brand-soft);
 color: var(--brand-dark);
 text-decoration: none;
}
body.dark-mode .nav-drop-menu a:hover { color: var(--brand); }
.nav-drop.open .nav-drop-menu { display: grid; }
.caret { font-size: 11px; opacity: .8; margin-left: 3px; }

.header-search {
 display: flex;
 margin-left: auto;
 background: rgba(255, 255, 255, .12);
 border: 1px solid rgba(255, 255, 255, .26);
 border-radius: 999px;
 overflow: hidden;
 flex: 1 1 200px;
 max-width: 310px;
 transition: border-color .15s ease, background .15s ease;
}
.header-search:focus-within {
 background: rgba(255, 255, 255, .18);
 border-color: var(--brand);
}
.header-search input {
 flex: 1;
 border: 0;
 background: transparent;
 color: #fff;
 padding: 8px 14px;
 font-family: inherit;
 font-size: 13.5px;
 outline: none;
 min-width: 0;
}
.header-search input::placeholder { color: rgba(255, 255, 255, .72); }
.header-search button {
 border: 0;
 background: var(--brand);
 color: #06180c;
 padding: 0 14px;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: background .15s ease;
}
.header-search button:hover { background: var(--brand-hover); }

.theme-toggle {
 height: 36px;
 padding: 0 13px;
 border-radius: 999px;
 border: 1px solid rgba(255, 255, 255, .28);
 background: rgba(255, 255, 255, .1);
 color: #fff;
 cursor: pointer;
 display: inline-flex;
 align-items: center;
 gap: 6px;
 font-family: inherit;
 font-size: 12.5px;
 font-weight: 700;
 flex-shrink: 0;
 transition: background .15s ease, border-color .15s ease;
}
.theme-toggle:hover {
 background: rgba(121, 193, 66, .28);
 border-color: var(--brand);
}
.theme-toggle .icon-sun,
.theme-toggle .theme-icon-sun { display: none; }
body.dark-mode .theme-toggle .icon-moon,
body.dark-mode .theme-toggle .theme-icon-moon { display: none; }
body.dark-mode .theme-toggle .icon-sun,
body.dark-mode .theme-toggle .theme-icon-sun { display: block; color: var(--brand); }
.theme-label { line-height: 1; }
.ep-card, .series-card { display: flex; flex-direction: column; }
.eng-sub { color: var(--brand-dark); font-weight: 700; }
body.dark-mode .eng-sub { color: var(--brand); }
.details-poster-wrap { flex-shrink: 0; }
.details-info { min-width: 0; }
.ep-num { font-weight: 800; }
.chip-year { font-variant-numeric: tabular-nums; }
.page-btn { font-weight: 800; }

/* ==========================================================================
 HERO SPOTLIGHT (.hero) - Full Width Edge-to-Edge, Flush with Header
 ========================================================================== */
.hero {
 position: relative;
 width: 100vw;
 margin-left: calc(50% - 50vw);
 margin-right: calc(50% - 50vw);
 margin-top: -12px;
 margin-bottom: 26px;
 border-radius: 0;
 overflow: hidden;
 background: #071b0f;
 color: #fff;
 min-height: 290px;
 display: flex;
 align-items: center;
 box-shadow: 0 10px 30px rgba(7, 25, 14, .2);
 border: 0;
 border-bottom: 2px solid rgba(121, 193, 66, .35);
}
.hero-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center 20%;
 opacity: .38;
 z-index: 1;
}
.hero-body {
 position: relative;
 z-index: 2;
 width: 100%;
 padding: 24px 0 28px;
 background: linear-gradient(90deg, rgba(6, 20, 11, .95) 0%, rgba(8, 28, 16, .82) 60%, rgba(8, 28, 16, .35) 100%),
 linear-gradient(to top, rgba(6, 20, 11, .95) 0%, transparent 70%);
}
.hero-inner {
 width: 100%;
}
.hero-badge-row {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-wrap: wrap;
 margin-bottom: 12px;
}
.hero-tag {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 background: var(--brand);
 color: #06180c;
 font-size: 11.5px;
 font-weight: 800;
 letter-spacing: .04em;
 padding: 4px 11px;
 border-radius: 999px;
}
.hero-tag.sub {
 background: rgba(255, 255, 255, .14);
 border: 1px solid rgba(255, 255, 255, .28);
 color: #fff;
}
.hero-tag.live {
 background: rgba(121, 193, 66, .18);
 border: 1px solid rgba(121, 193, 66, .45);
 color: #b7f28c;
}
.pulse-dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--brand);
 display: inline-block;
 box-shadow: 0 0 0 0 rgba(121, 193, 66, .75);
 animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
 70% { box-shadow: 0 0 0 8px rgba(121, 193, 66, 0); }
 100% { box-shadow: 0 0 0 0 rgba(121, 193, 66, 0); }
}
.hero h1 {
 font-size: 30px;
 font-weight: 800;
 margin: 0 0 10px;
 color: #fff;
 max-width: 780px;
 text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.hero p {
 margin: 0 0 18px;
 max-width: 720px;
 font-size: 15.5px;
 color: rgba(236, 247, 239, .9);
}
.hero-stats {
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
 margin-bottom: 20px;
}
.hero-stats .stat {
 background: rgba(255, 255, 255, .1);
 border: 1px solid rgba(255, 255, 255, .22);
 border-radius: 10px;
 padding: 6px 14px;
 font-size: 13.5px;
 font-weight: 600;
 color: #e3f3e8;
}
.hero-stats .stat b {
 color: var(--brand);
 font-size: 16px;
 font-weight: 800;
 margin-right: 5px;
}

/* ==========================================================================
 BUTTONS
 ========================================================================== */
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 6px;
 background: var(--brand);
 color: #06180c !important;
 font-weight: 800;
 padding: 10px 22px;
 border-radius: 999px;
 border: 2px solid var(--brand);
 cursor: pointer;
 font-family: inherit;
 font-size: 14px;
 text-decoration: none !important;
 transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
}
.btn:hover {
 background: var(--brand-hover);
 border-color: var(--brand-hover);
 transform: translateY(-1px);
 box-shadow: 0 6px 18px rgba(121, 193, 66, .35);
}
.btn.ghost {
 background: rgba(255, 255, 255, .14);
 color: #fff !important;
 border-color: rgba(255, 255, 255, .3);
}
.btn.ghost:hover {
 background: rgba(255, 255, 255, .24);
 border-color: #fff;
}
.series-hero-card .btn.ghost {
 background: var(--bg-soft);
 color: var(--ink) !important;
 border-color: var(--line);
}
.series-hero-card .btn.ghost:hover {
 border-color: var(--brand);
 background: var(--brand-soft);
}
.btn.outline {
 background: transparent;
 color: var(--brand-dark) !important;
 border: 2px solid var(--brand);
}
body.dark-mode .btn.outline { color: var(--brand) !important; }
.btn.outline:hover { background: var(--brand-soft); }
.btn.outline-light {
 background: transparent;
 color: #fff !important;
 border: 2px solid rgba(121, 193, 66, .75);
}
.btn.outline-light:hover {
 background: rgba(121, 193, 66, .2);
 border-color: var(--brand);
}

/* ==========================================================================
 FEATURED SERIES STRIP (.featured-strip / .featured-banner)
 ========================================================================== */
.featured-strip {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 16px;
}
.featured-banner {
 position: relative;
 height: 190px;
 border-radius: 14px;
 overflow: hidden;
 background: #0a2214;
 border: 1px solid var(--line);
 box-shadow: var(--shadow);
 display: flex;
 align-items: flex-end;
 text-decoration: none !important;
 transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.featured-banner:hover {
 transform: translateY(-3px);
 box-shadow: var(--shadow-hover);
 border-color: var(--brand);
}
.featured-banner img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: 1;
 transition: transform .35s ease;
}
.featured-banner:hover img { transform: scale(1.05); }
.featured-overlay {
 position: relative;
 z-index: 2;
 width: 100%;
 padding: 16px;
 background: linear-gradient(to top, rgba(5, 18, 10, .95) 0%, rgba(5, 18, 10, .68) 60%, transparent 100%);
 color: #fff;
}
.featured-meta {
 display: flex;
 align-items: center;
 gap: 8px;
 font-size: 12px;
 font-weight: 700;
 color: #b7e892;
 margin-bottom: 5px;
}
.featured-meta .badge {
 position: static;
 padding: 2px 8px;
 font-size: 10.5px;
}
.featured-overlay h3 {
 font-size: 16.5px;
 font-weight: 800;
 margin: 0 0 4px;
 color: #fff;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.featured-overlay p {
 font-size: 12.5px;
 color: rgba(255, 255, 255, .82);
 margin: 0;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
 line-height: 1.4;
}

/* ==========================================================================
 SECTIONS & HEADINGS
 ========================================================================== */
.section { margin-bottom: 36px; }
.section-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 flex-wrap: wrap;
 margin-bottom: 16px;
 border-bottom: 2px solid var(--line);
 padding-bottom: 10px;
}
.section-head h2 {
 font-size: 21px;
 font-weight: 800;
 margin: 0;
 padding-left: 12px;
 border-left: 4px solid var(--brand);
 color: var(--ink);
}
.view-all {
 color: var(--brand-dark);
 font-weight: 700;
 font-size: 13.5px;
 white-space: nowrap;
 border: 1.5px solid var(--brand);
 border-radius: 999px;
 padding: 4px 14px;
 transition: background .15s ease, color .15s ease;
}
body.dark-mode .view-all { color: var(--brand); }
.view-all:hover {
 background: var(--brand);
 color: #06180c !important;
 text-decoration: none;
}

/* ==========================================================================
 POSTER CARDS & GRID (.grid, .card)
 ========================================================================== */
.grid {
 display: grid;
 grid-template-columns: repeat(7, 1fr);
 gap: 15px;
}
.card {
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
 transform: translateY(-4px);
 box-shadow: var(--shadow-hover);
 border-color: var(--brand);
}
.card a { color: inherit; display: block; text-decoration: none !important; }
.card-poster {
 position: relative;
 aspect-ratio: 2 / 2.85;
 background-color: #0d2316;
 overflow: hidden;
}
.card-poster img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: 1;
 transition: transform .3s ease;
}
.card:hover .card-poster img { transform: scale(1.04); }
.card-poster .badge, .card-poster .card-play { z-index: 2; }
.card-play {
 position: absolute;
 inset: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 background: rgba(7, 25, 14, 0);
 transition: background .18s ease;
}
.card-play span {
 width: 46px;
 height: 46px;
 border-radius: 50%;
 background: var(--brand);
 box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transform: scale(.8);
 transition: opacity .18s ease, transform .18s ease;
}
.card-play svg { width: 22px; height: 22px; fill: #06180c; margin-left: 2px; }
.card:hover .card-play { background: rgba(7, 25, 14, .42); }
.card:hover .card-play span { opacity: 1; transform: scale(1); }

.card-body { padding: 10px 12px 12px; }
.card-title {
 font-size: 14px;
 font-weight: 700;
 margin: 0 0 4px;
 color: var(--ink);
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
 min-height: 2.55em;
 line-height: 1.3;
}
.card:hover .card-title { color: var(--brand-dark); }
body.dark-mode .card:hover .card-title { color: var(--brand); }
.card-meta {
 font-size: 12px;
 color: var(--muted);
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.dot { color: var(--muted); opacity: .6; margin: 0 3px; }

/* Badges on Poster Cards */
.badge {
 position: absolute;
 font-size: 11px;
 font-weight: 800;
 padding: 3px 8px;
 border-radius: 6px;
 z-index: 2;
 letter-spacing: .02em;
 box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.badge.q-badge {
 top: 8px;
 left: 8px;
 background: var(--brand);
 color: #06180c;
}
.badge.trailer-badge {
 top: 8px;
 left: 8px;
 background: #f59e0b;
 color: #06180c;
}
.badge.ep-badge {
 top: 8px;
 right: 8px;
 background: rgba(8, 28, 16, .92);
 border: 1px solid rgba(121, 193, 66, .6);
 color: #b7f28c;
}
.badge.ep-badge i { font-style: normal; font-weight: 900; color: #fff; }
.badge.sub-badge, .badge.kind-badge {
 bottom: 8px;
 left: 8px;
 background: rgba(8, 24, 14, .88);
 border: 1px solid rgba(121, 193, 66, .45);
 color: #fff;
 font-size: 10px;
}
.badge.status-badge.completed {
 top: 8px;
 right: 8px;
 background: #0d9488;
 color: #fff;
}

/* ==========================================================================
 WEEKLY RELEASE CALENDAR (.calendar-grid, .cal-card, .cal-item)
 ========================================================================== */
.calendar-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 14px;
}
.cal-card {
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: 14px;
 padding: 15px;
 box-shadow: var(--shadow);
}
.cal-card.is-today {
 border: 2px solid var(--brand);
 background: var(--brand-soft);
}
.cal-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
 padding-bottom: 10px;
 margin-bottom: 12px;
 border-bottom: 1px solid var(--line);
}
.cal-head h3 {
 font-size: 15px;
 font-weight: 800;
 margin: 0;
 color: var(--ink);
}
.cal-today-pill {
 background: var(--brand);
 color: #06180c;
 font-size: 10.5px;
 font-weight: 800;
 padding: 2px 8px;
 border-radius: 999px;
 text-transform: uppercase;
}
.cal-list {
 display: flex;
 flex-direction: column;
 gap: 10px;
}
.cal-item {
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 6px;
 border-radius: 10px;
 background: var(--bg);
 border: 1px solid var(--line);
 text-decoration: none !important;
 transition: border-color .15s ease, transform .15s ease;
}
.cal-item:hover {
 border-color: var(--brand);
 transform: translateX(2px);
}
.cal-item img {
 width: 44px;
 height: 62px;
 object-fit: cover;
 border-radius: 7px;
 flex-shrink: 0;
}
.cal-info {
 display: flex;
 flex-direction: column;
 min-width: 0;
 flex: 1;
}
.cal-info strong {
 font-size: 13.5px;
 font-weight: 700;
 color: var(--ink);
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.cal-ep {
 font-size: 12px;
 font-weight: 700;
 color: var(--brand-dark);
}
body.dark-mode .cal-ep { color: var(--brand); }
.cal-info small {
 font-size: 11px;
 color: var(--muted);
}

/* ==========================================================================
 GENRE & YEAR CHIPS (.genre-grid, .filter-chips)
 ========================================================================== */
.genre-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 12px;
}
.genre-chip {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 3px;
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-left: 4px solid var(--brand);
 border-radius: 12px;
 padding: 14px 16px;
 color: var(--ink);
 font-weight: 800;
 font-size: 16px;
 box-shadow: var(--shadow);
 transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.genre-chip:hover {
 background: var(--brand);
 color: #06180c !important;
 border-color: var(--brand);
 text-decoration: none;
 transform: translateY(-2px);
}
.genre-chip small { font-weight: 500; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.genre-chip:hover small, .genre-chip:hover .genre-count { color: rgba(6, 24, 12, .82); }
.genre-count { font-size: 12px; font-weight: 700; color: var(--brand-dark); margin-top: 2px; }
body.dark-mode .genre-count { color: var(--brand); }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip-label, .chip-group-label { font-size: 13.5px; font-weight: 800; color: var(--muted); margin-right: 4px; }
.chip {
 display: inline-block;
 padding: 6px 14px;
 border-radius: 999px;
 border: 1px solid var(--line);
 color: var(--ink);
 font-size: 13.5px;
 font-weight: 700;
 background: var(--bg-card);
 cursor: pointer;
 font-family: inherit;
 transition: all .15s ease;
}
.chip:hover {
 border-color: var(--brand);
 color: var(--brand-dark);
 text-decoration: none;
}
.chip.active {
 background: var(--brand);
 border-color: var(--brand);
 color: #06180c !important;
}

/* ==========================================================================
 SERIES PAGE & DETAILS CARD (.series-hero-card, .details-card)
 ========================================================================== */
.details-card {
 position: relative;
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: 18px;
 padding: 24px;
 margin-bottom: 30px;
 overflow: hidden;
 box-shadow: var(--shadow);
}
.series-backdrop, .series-hero-backdrop {
 position: absolute;
 inset: 0;
 background-size: cover;
 background-position: center;
 opacity: .09;
 filter: blur(18px);
 pointer-events: none;
}
.details-grid {
 position: relative;
 z-index: 2;
 display: grid;
 grid-template-columns: 210px 1fr;
 gap: 26px;
}
.details-poster {
 width: 100%;
 border-radius: 14px;
 box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
 border: 2px solid var(--brand);
}
.show-title { font-size: 26px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.sub-highlight {
 font-size: 15px;
 font-weight: 700;
 color: var(--brand-dark);
 background: var(--brand-soft);
 border: 1px solid var(--brand-border);
 padding: 3px 10px;
 border-radius: 999px;
 vertical-align: middle;
 margin-left: 6px;
}
body.dark-mode .sub-highlight { color: var(--brand); }
.english-subtitle-heading {
 font-size: 15px;
 color: var(--muted);
 margin: 0 0 12px;
}
.meta-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pill {
 background: var(--bg-soft);
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 4px 13px;
 font-size: 12.5px;
 font-weight: 700;
 color: var(--ink);
}
.pill.q, .pill.pill-green {
 background: var(--brand);
 color: #06180c;
 border-color: var(--brand);
 font-weight: 800;
}
.pill.series-pill {
 background: var(--brand-deep);
 color: #fff !important;
 border-color: var(--brand);
}
.pill.status-pill.live {
 background: var(--brand-soft);
 border-color: var(--brand-border);
 color: var(--brand-dark);
}
body.dark-mode .pill.status-pill.live { color: var(--brand); }
.countdown-banner, .countdown-alert {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 background: var(--brand-soft);
 border: 1px solid var(--brand-border);
 color: var(--ink);
 padding: 9px 15px;
 border-radius: 10px;
 font-size: 14px;
 font-weight: 600;
 margin-bottom: 14px;
}
.desc { margin-bottom: 14px; color: var(--ink); }
.desc p { margin: 0 0 10px; }
.meta-list .meta-item { margin-bottom: 7px; font-size: 14.5px; }
.meta-list .meta-item strong { color: var(--brand-dark); margin-right: 4px; }
body.dark-mode .meta-list .meta-item strong { color: var(--brand); }
.tag {
 display: inline-block;
 background: var(--bg-soft);
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 3px 12px;
 margin: 2px;
 font-size: 12.5px;
 font-weight: 600;
 color: var(--ink);
}
.tag:hover {
 border-color: var(--brand);
 background: var(--brand-soft);
 text-decoration: none;
}

/* Episode Search & Sort Controls */
.ep-filter-controls {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-wrap: wrap;
}
.ep-search-input {
 padding: 6px 13px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--bg-card);
 color: var(--ink);
 font-family: inherit;
 font-size: 13.5px;
 min-width: 185px;
}

/* ==========================================================================
 EPISODE WATCH PAGE & MULTI-SERVER PLAYER (.cinema, .server-panel)
 ========================================================================== */
.watch-head { margin-bottom: 14px; }
.watch-head .show-title { margin-bottom: 8px; }
.watch-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.player-tip {
 background: var(--brand-soft);
 border: 1px solid var(--brand-border);
 color: var(--ink);
 border-radius: 12px;
 padding: 10px 15px;
 font-size: 13.5px;
 margin-bottom: 14px;
}
.server-panel, .download-panel {
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: 14px;
 padding: 15px 18px;
 margin-bottom: 16px;
 box-shadow: var(--shadow);
}
.server-panel-top {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
 flex-wrap: wrap;
 margin-bottom: 12px;
}
.srv-label {
 display: flex;
 align-items: center;
 gap: 8px;
 font-weight: 800;
 font-size: 14px;
}
.server-panel .srv-label::before {
 content: "";
 width: 9px;
 height: 9px;
 border-radius: 50%;
 background: var(--brand);
 flex: none;
}
.download-panel .srv-label { margin-bottom: 12px; }
.light-toggle-btn, .cinema-light-btn {
 background: var(--bg-soft);
 border: 1px solid var(--line);
 color: var(--ink);
 border-radius: 999px;
 padding: 5px 13px;
 font-family: inherit;
 font-size: 12.5px;
 font-weight: 700;
 cursor: pointer;
}
.light-toggle-btn:hover, .cinema-light-btn:hover {
 background: var(--brand);
 color: #06180c;
 border-color: var(--brand);
}

.server-btns, .download-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.server-btn, .dl-btn, .download-btn {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-family: inherit;
 font-size: 13.5px;
 font-weight: 800;
 padding: 9px 17px;
 border-radius: 11px;
 cursor: pointer;
 border: 1px solid var(--line);
 background: var(--bg-soft);
 color: var(--ink);
 transition: all .14s ease;
 text-decoration: none !important;
}
.server-btn::before { content: "\25B6"; font-size: 10px; color: var(--brand-dark); }
.server-btn:hover, .dl-btn:hover, .download-btn:hover {
 border-color: var(--brand);
 background: var(--brand-soft);
 transform: translateY(-1px);
 box-shadow: var(--shadow);
}
.server-btn.active {
 background: var(--brand);
 border-color: var(--brand-dark);
 color: #06180c;
 box-shadow: 0 4px 14px rgba(121, 193, 66, .35);
}
.server-btn.active::before { color: #06180c; }

.cinema {
 background: linear-gradient(180deg, #0b2214 0%, #051109 100%);
 border: 1px solid #1b492c;
 border-radius: 18px;
 padding: 14px;
 margin-bottom: 18px;
 box-shadow: 0 14px 40px rgba(7, 25, 14, .32);
}
.cinema-bar {
 display: flex;
 align-items: center;
 gap: 10px;
 color: #fff;
 font-weight: 800;
 font-size: 14px;
 padding: 2px 6px 12px;
}
.live-dot {
 width: 9px;
 height: 9px;
 border-radius: 50%;
 background: var(--brand);
 flex: none;
 box-shadow: 0 0 0 0 rgba(121, 193, 66, .75);
 animation: pulse-green 1.6s infinite;
}
.cinema-bar .t {
 color: #b7d4c1;
 font-weight: 500;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
 flex: 1;
}
.player-box {
 position: relative;
 width: 100%;
 aspect-ratio: 16 / 9;
 background: #000;
 border-radius: 12px;
 overflow: hidden;
}
.player-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ep-nav-cards {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 gap: 12px;
 margin-bottom: 22px;
}
.ep-nav-card {
 display: flex;
 align-items: center;
 gap: 12px;
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: 14px;
 padding: 14px 16px;
 font-weight: 800;
 color: var(--ink);
 box-shadow: var(--shadow);
 transition: all .15s ease;
 text-decoration: none !important;
}
.ep-nav-card:hover {
 border-color: var(--brand);
 transform: translateY(-2px);
 box-shadow: var(--shadow-hover);
}
.ep-nav-card .arr { font-size: 22px; color: var(--brand-dark); line-height: 1; }
body.dark-mode .ep-nav-card .arr { color: var(--brand); }
.ep-nav-card small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.ep-nav-card.all-eps, .ep-nav-card.center-card { justify-content: center; text-align: center; }
.ep-nav-card.next { justify-content: flex-end; text-align: right; }
.ep-nav-card.disabled { visibility: hidden; }

.ep-list {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
 gap: 9px;
}
.ep-list a {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 3px;
 min-height: 46px;
 padding: 8px 10px;
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: 10px;
 font-weight: 700;
 font-size: 13.5px;
 color: var(--ink);
 transition: all .12s ease;
 text-decoration: none !important;
}
.ep-list a:hover {
 border-color: var(--brand);
 background: var(--brand-soft);
 transform: translateY(-1px);
}
.ep-list a.current {
 background: var(--brand);
 border-color: var(--brand-dark);
 color: #06180c;
 font-weight: 800;
}
.ep-tag {
 font-size: 10px;
 font-weight: 800;
 background: var(--brand-soft);
 color: var(--brand-dark);
 padding: 1px 7px;
 border-radius: 999px;
}
.ep-tag.finale {
 background: #ffe4e6;
 color: #be123c;
}

/* ==========================================================================
 TRAILER MODAL
 ========================================================================== */
.trailer-modal[hidden] { display: none !important; }
.trailer-modal {
 position: fixed;
 inset: 0;
 z-index: 300;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 20px;
}
.trailer-modal-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(4, 14, 8, .85);
}
.trailer-modal-box, .trailer-modal-content {
 position: relative;
 z-index: 2;
 width: 100%;
 max-width: 860px;
 background: #091d11;
 border: 1px solid var(--brand);
 border-radius: 16px;
 padding: 16px;
 color: #fff;
}
.trailer-modal-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 12px;
}
.trailer-close, .trailer-close-btn {
 background: transparent;
 border: 0;
 color: #fff;
 font-size: 28px;
 cursor: pointer;
 line-height: 1;
}

/* ==========================================================================
 FILTERS, PROSE, FAQ, BREADCRUMB & PAGINATION
 ========================================================================== */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--brand-dark); font-weight: 600; }
body.dark-mode .breadcrumb a { color: var(--brand); }
.breadcrumb .sep { margin: 0 7px; opacity: .6; }

.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 27px; font-weight: 800; margin-bottom: 5px; }
.page-head p { color: var(--muted); margin: 0; }

.filter-bar {
 display: flex;
 gap: 14px;
 flex-wrap: wrap;
 align-items: center;
 background: var(--bg-card);
 border: 1px solid var(--line);
 padding: 14px 18px;
 border-radius: 14px;
 margin-bottom: 22px;
 box-shadow: var(--shadow);
}
.filter-group {
 display: flex;
 align-items: center;
 gap: 8px;
}
.filter-bar select, .filter-bar input[type="search"] {
 font-family: inherit;
 font-size: 14px;
 padding: 8px 12px;
 border: 1px solid var(--line);
 border-radius: 9px;
 background: var(--bg);
 color: var(--ink);
}
.filter-bar label { font-weight: 700; font-size: 13.5px; color: var(--muted); }

.pagination {
 display: flex;
 gap: 8px;
 align-items: center;
 justify-content: center;
 flex-wrap: wrap;
 margin-top: 26px;
}
.pagination a, .pagination .page-num {
 border: 1.5px solid var(--brand);
 color: var(--brand-dark);
 border-radius: 999px;
 padding: 7px 15px;
 font-weight: 700;
 font-size: 13.5px;
 text-decoration: none;
}
body.dark-mode .pagination a, body.dark-mode .pagination .page-num { color: var(--brand); }
.pagination a:hover, .pagination .page-num.active {
 background: var(--brand);
 color: #06180c !important;
 text-decoration: none;
}
.pagination .cur, .pagination .page-dots { font-weight: 800; color: var(--muted); font-size: 14px; }

.seo-content, .prose {
 max-width: 960px;
 background: var(--bg-card);
 border: 1px solid var(--line);
 border-radius: 16px;
 padding: 26px 28px;
 box-shadow: var(--shadow);
}
.seo-content h2, .prose h2 {
 font-size: 20px;
 font-weight: 800;
 margin-top: 22px;
 padding-left: 12px;
 border-left: 4px solid var(--brand);
}
.seo-content h2:first-child, .prose h2:first-child { margin-top: 0; }
.seo-content h3, .prose h3 { font-size: 16.5px; font-weight: 800; margin-top: 18px; }
.seo-content ul, .seo-content ol, .prose ul, .prose ol { padding-left: 22px; }
.seo-content li, .prose li { margin-bottom: 6px; }
.about-figure {
 margin: 18px 0;
 border-radius: 14px;
 overflow: hidden;
 border: 1px solid var(--line);
}
.about-figure img {
 width: 100%;
 height: 240px;
 object-fit: cover;
}
.about-figure figcaption {
 font-size: 13px;
 color: var(--muted);
 text-align: center;
 padding: 8px 12px;
 background: var(--bg-soft);
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
 background: var(--bg-soft);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 14px 18px;
}
.faq-item summary {
 list-style: none;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: 15.5px; font-weight: 800; margin: 0; color: var(--brand-dark); }
body.dark-mode .faq-item h3 { color: var(--brand); }
.faq-icon::before { content: "+"; font-size: 20px; font-weight: 800; color: var(--brand); }
.faq-item[open] .faq-icon::before { content: "−"; }
.faq-ans { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.faq-item p { margin: 0; color: var(--ink); font-size: 14.5px; }

.empty-msg {
 background: var(--brand-soft);
 border: 1px solid var(--brand-border);
 color: var(--ink);
 border-radius: 12px;
 padding: 20px;
 text-align: center;
 font-weight: 700;
}
.notice {
 background: #fffbeb;
 border: 1px solid #fde68a;
 color: #92400e;
 border-radius: 12px;
 padding: 16px 18px;
 margin-bottom: 18px;
}

/* ==========================================================================
 FOOTER
 ========================================================================== */
.site-footer {
 background: #06150c;
 border-top: 3px solid var(--brand);
 color: #a9c4b2;
 margin-top: 40px;
}
.site-footer .container { padding-top: 38px; padding-bottom: 28px; }
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1fr;
 gap: 28px;
 margin-bottom: 24px;
}
.footer-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: #9ab8a4; margin: 0; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.footer-col a { display: block; color: #a9c4b2; font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: var(--brand); text-decoration: none; }
.footer-note { font-size: 13px; border-top: 1px solid #143320; padding-top: 18px; color: #7fa08a; }
.footer-note p { margin: 0; }
.footer-note a { color: var(--brand); }
.footer-copy { font-size: 13px; text-align: center; margin: 16px 0 0; color: #7fa08a; }

/* ==========================================================================
 RESPONSIVE BREAKPOINTS
 ========================================================================== */
@media (max-width: 1180px) {
 .grid { grid-template-columns: repeat(5, 1fr); }
 .featured-strip { grid-template-columns: repeat(2, 1fr); }
 .calendar-grid { grid-template-columns: repeat(2, 1fr); }
 .genre-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
 .grid { grid-template-columns: repeat(4, 1fr); }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .details-grid { grid-template-columns: 160px 1fr; }
 .ep-nav-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
 .header-search { order: 2; max-width: none; margin-left: 0; }
 .theme-toggle { order: 2; }
 .main-nav {
 order: 3;
 flex-basis: 100%;
 justify-content: flex-start;
 gap: 4px;
 padding-top: 4px;
 }
 .main-nav > a, .nav-drop-btn { font-size: 13px; padding: 7px 10px; }
 .hero { min-height: 260px; }
 .hero-body { padding: 20px 0; }
 .hero h1 { font-size: 23px; }
 .featured-strip { grid-template-columns: 1fr; }
 .grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
 .genre-grid { grid-template-columns: repeat(2, 1fr); }
 .details-grid { grid-template-columns: 1fr; }
 .details-poster { max-width: 190px; }
}
@media (max-width: 480px) {
 .grid { grid-template-columns: repeat(2, 1fr); }
 .calendar-grid { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; }
}
