/* =========================================================================
   GigaDub design system
   Neutral dark surfaces, one accent, 8px radius, 1px borders.
   Fonts are self-hosted (static/fonts, SIL OFL): Inter for Latin,
   Noto Sans Georgian for Georgian. unicode-range lets the browser pick.
   ========================================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.8e433c0592f7.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
                 U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.ad4eb06671be.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
                 U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Georgian";
  src: url("../fonts/noto-sans-georgian.022af629ae63.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+20BE, U+2D00-2D2F;
}

:root {
  --bg: #0b0c0f;
  --surface: #121418;
  --surface-2: #181b21;
  --surface-3: #1f232a;
  --border: #23272f;
  --border-strong: #303541;
  --text: #ececef;
  --text-2: #b4b9c3;
  --muted: #8b919c;
  --faint: #5f6570;
  --accent: #e5484d;
  --accent-hover: #ec5d61;
  --accent-soft: rgba(229, 72, 77, .12);
  --accent-line: rgba(229, 72, 77, .35);
  --success: #4cc38a;
  --success-soft: rgba(76, 195, 138, .12);
  --warning: #f0b429;
  --warning-soft: rgba(240, 180, 41, .12);
  --info: #7aa7ff;
  --info-soft: rgba(122, 167, 255, .12);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Inter", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 64px;
  /* legacy names used by the film pages */
  --bg-raised: var(--surface);
  --bg-card: var(--surface);
  --text-dim: var(--muted);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
b, strong { font-weight: 600; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.dim { color: var(--muted); }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--accent); }

/* Icons */
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.icon .fill { fill: currentColor; stroke: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid transparent; font: inherit; font-size: .94rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary, .btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--surface-3); }
.btn-sm { height: 36px; padding: 0 14px; font-size: .88rem; }
.btn-xs { height: 30px; padding: 0 11px; font-size: .82rem; gap: 6px; }
.btn-xs .icon { width: 15px; height: 15px; }
.btn-block { width: 100%; margin-top: 16px; }
.btn-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 12, 15, .92); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { position: relative; color: var(--muted); font-size: .92rem; font-weight: 500; padding: 6px 0; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px; background: var(--accent);
}
.search { position: relative; margin-left: auto; width: 240px; }
.search .icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 16px; height: 16px; }
.search input {
  width: 100%; height: 36px; padding: 0 12px 0 34px; border-radius: var(--radius);
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  font: inherit; font-size: .9rem; outline: none; transition: border-color .15s;
}
.search input:focus { border-color: var(--border-strong); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; display: flex; padding: 6px; border-radius: var(--radius); }
.mobile-menu summary .icon { width: 22px; height: 22px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel {
  position: absolute; right: 0; top: 46px; min-width: 220px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.mobile-menu-panel a { padding: 10px 12px; border-radius: 6px; color: var(--text-2); }
.mobile-menu-panel a:hover { background: var(--surface-2); color: var(--text); }

/* Flash messages */
.flash-wrap { position: sticky; top: calc(var(--header-h) + 12px); z-index: 40; padding-top: 16px; }
.flash {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 8px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background: #102119; border: 1px solid rgba(76, 195, 138, .35); color: #bfeed6;
}
.flash .icon { color: var(--success); }
.flash-error { background: #241415; border-color: var(--accent-line); color: #ffcfd0; }
.flash-error .icon { color: var(--accent); }

/* Typography blocks */
.page-head { padding: 48px 0 28px; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 10px; }
.lead { color: var(--text-2); font-size: 1.05rem; max-width: 640px; }
.page-head .dim { margin-top: 8px; }
.eyebrow { font-size: .82rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: .01em; }
.section { padding: 40px 0 8px; }
.section > h2, .section-head h2 { font-size: 1.2rem; }
.section > h2 { margin-bottom: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.see-all .icon { width: 16px; height: 16px; transition: transform .15s; }
.see-all:hover { color: var(--text); }
.see-all:hover .icon { transform: translateX(2px); }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.empty-state { color: var(--muted); padding: 6px 0; }
.empty-box {
  text-align: center; padding: 44px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
  color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.empty-title { color: var(--text); font-size: 1.05rem; font-weight: 600; }
.empty-box .btn { margin-top: 6px; }
.kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border-strong);
  font-size: .85em; vertical-align: middle;
}
.kbd .icon { width: 15px; height: 15px; }

/* Landing */
.landing-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--border); }
.landing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.landing-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 18px; max-width: 14em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .9rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .icon { color: var(--success); width: 16px; height: 16px; }

.hero-mock { position: relative; padding-bottom: 28px; }
.mock-video {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  background: #15171c; border: 1px solid var(--border);
  background-image: linear-gradient(160deg, #1c2029 0%, #121418 70%);
}
.mock-play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: #fff;
}
.mock-play .icon { width: 22px; height: 22px; margin-left: 3px; }
.mock-toast {
  position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 8px;
  font-size: .78rem; padding: 7px 12px; border-radius: 6px; background: rgba(12, 13, 16, .9); border: 1px solid var(--border);
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.mock-bar { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .15); }
.mock-bar span { display: block; width: 38%; height: 100%; border-radius: 2px; background: var(--accent); }
.mock-popup {
  position: absolute; right: -16px; bottom: 0; width: 230px; padding: 14px 16px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.mock-label { font-size: .72rem; color: var(--muted); font-weight: 600; }
.mock-title { font-weight: 700; margin: 2px 0 8px; }
.mock-status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--success); }
.mock-status .icon { width: 14px; height: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 40px; }
.step { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 14px;
  border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
}
.step-icon .icon { width: 20px; height: 20px; }
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .92rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.cta {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.cta > div { flex: 1; }
.cta h2 { font-size: 1.05rem; margin-bottom: 2px; }
.cta p { color: var(--muted); font-size: .92rem; }
.cta-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px;
  border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
}
.cta-icon .icon { width: 20px; height: 20px; }
.cta-single { margin-top: 40px; }

/* Movie & dub cards */
.movie-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.movie-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .15s, transform .15s;
}
a.movie-card:hover, .movie-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.movie-card .poster { aspect-ratio: 2 / 3; width: 100%; object-fit: cover; background: var(--surface-2); }
.movie-card .poster-placeholder, .poster-placeholder {
  aspect-ratio: 2 / 3; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--faint);
}
.poster-placeholder .icon { width: 36px; height: 36px; }
.dub-card .poster-placeholder span { font-size: 2.2rem; font-weight: 700; color: var(--border-strong); }
.movie-card .info { padding: 12px 14px 14px; border-top: 1px solid var(--border); }
.movie-card .info h3 { font-size: .94rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-card .info .meta { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-icon { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.meta-icon .icon { width: 13px; height: 13px; }
.dub-card .ep { color: var(--text-2); font-weight: 600; }

/* Film catalog (site player) */
.hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; background-size: cover; background-position: center 20%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 15, .25), rgba(11, 12, 15, .8) 70%, var(--bg)); }
.hero-content { position: relative; z-index: 1; padding: 48px 0; max-width: 640px; }
.hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.hero-content p { color: var(--text-2); margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-content .btn + .btn { margin-left: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.chip {
  padding: 6px 14px; border-radius: var(--radius); font-size: .88rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); transition: all .15s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { color: var(--text); border-color: var(--accent-line); background: var(--accent-soft); }
.detail-hero { position: relative; padding: 56px 0; background-size: cover; background-position: center; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 15, .97) 35%, rgba(11, 12, 15, .75)); }
.detail-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.detail-layout .poster, .detail-layout .poster-placeholder { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.detail-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.detail-info .subtitle { color: var(--muted); margin-bottom: 16px; }
.detail-info .meta-row { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.detail-info .description { max-width: 700px; margin-bottom: 22px; color: var(--text-2); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: .8rem; }
.player-wrap { max-width: 1100px; margin: 28px auto; padding: 0 24px; }
.player-shell { position: relative; background: #000; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
video#player { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.player-title { margin: 18px 0 6px; font-size: 1.25rem; }
.player-error { padding: 48px; text-align: center; color: var(--muted); }

/* Toolbar, search, segmented control */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.input-icon { position: relative; flex: 1; max-width: 380px; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 17px; height: 17px; }
.input-icon .input { padding-left: 38px; }
.segmented { display: inline-flex; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.segmented a { padding: 6px 14px; border-radius: 6px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.segmented a:hover { color: var(--text); }
.segmented a.active { background: var(--surface-3); color: var(--text); }
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; padding: 32px 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: .9rem;
}
.pagination a:hover { color: var(--text); border-color: var(--border-strong); }
.pagination .icon { width: 16px; height: 16px; }
.pagination .current { color: var(--text); }

/* Requests */
.request-list { list-style: none; padding: 4px 20px; }
.request-list.compact { padding: 0; }
.request-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 120px; }
.request-row:last-child { border-bottom: none; }
.request-row:target { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
.request-main { flex: 1; min-width: 0; }
.request-title { font-weight: 600; }
.request-note { color: var(--muted); font-size: .9rem; }
.request-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; font-size: .82rem; }
.kind { font-size: .75rem; color: var(--muted); border: 1px solid var(--border); border-radius: 5px; padding: 0 6px; margin-left: 6px; font-weight: 500; vertical-align: 1px; }
.status { padding: 1px 8px; border-radius: 5px; font-weight: 600; font-size: .78rem; background: var(--surface-3); color: var(--muted); }
.status-planned { background: var(--info-soft); color: var(--info); }
.status-in_progress { background: var(--warning-soft); color: var(--warning); }
.status-done { background: var(--success-soft); color: var(--success); }
.status-rejected { background: var(--accent-soft); color: #ff9a9d; }
.reply { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.reply .icon { width: 14px; height: 14px; }
.vote-form { flex: none; }
.vote {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: var(--radius);
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-strong);
  font: inherit; font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .15s;
}
.vote .icon { width: 16px; height: 16px; }
.vote:hover { color: var(--text); border-color: var(--faint); }
.vote.voted { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }
.vote.voted .icon { color: var(--accent); }
.vote-count { font-weight: 700; color: var(--text); padding-left: 7px; border-left: 1px solid var(--border-strong); }
.vote-static { cursor: default; }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.tab { padding: 10px 14px; color: var(--muted); font-size: .92rem; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }

/* Funding */
.funding { margin-top: 12px; max-width: 460px; }
.funding-bar { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.funding-bar span { display: block; height: 100%; border-radius: 3px; background: var(--accent); transition: width .4s; }
.funding.funded .funding-bar span { background: var(--success); }
.funding-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: .86rem; flex-wrap: wrap; }
.funding-amount { display: inline-flex; align-items: center; gap: 4px; }
.funding.funded .funding-amount { color: var(--success); }
.funding-amount .icon { width: 15px; height: 15px; }

/* Forms */
.form-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.form-card h2 { font-size: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 200px; }
.field > span:first-child { font-weight: 600; font-size: .9rem; }
.optional { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 6px; font-size: .85em; }
.field-row { display: flex; gap: 18px; flex-wrap: wrap; }
.field input[type=text], .field input[type=number], .field textarea, .input {
  width: 100%; height: 42px; padding: 0 13px; border-radius: var(--radius); font: inherit; font-size: .95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-strong); outline: none; transition: border-color .15s;
}
.field textarea { height: auto; padding: 11px 13px; resize: vertical; }
.field input:focus, .field textarea:focus, .input:focus { border-color: var(--faint); }
.field input::placeholder, .field textarea::placeholder, .input::placeholder, .search input::placeholder { color: var(--faint); }
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: var(--radius); cursor: pointer;
  background: var(--bg); border: 1px solid var(--border-strong); font-size: .92rem;
}
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio input { accent-color: var(--accent); }
.field-error { color: #ff9a9d; font-size: .86rem; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-hint { color: var(--muted); font-size: .85rem; }
.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* News & articles */
.news-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item:hover .news-title { color: var(--accent-hover); }
.news-date { display: block; color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; }
.news-title { font-weight: 600; font-size: 1rem; transition: color .15s; }
.news-summary { color: var(--muted); font-size: .92rem; }
.news-card { display: flex; gap: 20px; margin-bottom: 14px; transition: border-color .15s; }
.news-card:hover { border-color: var(--border-strong); }
.news-card img { width: 190px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); flex: none; }
.news-card h2.news-title { font-size: 1.15rem; margin: 2px 0 6px; }
.news-card .see-all { margin-top: 8px; }
.article { padding: 36px 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.back:hover { color: var(--text); }
.back .icon { width: 16px; height: 16px; }
.article h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 22px; }
.article h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.article-image { border-radius: var(--radius-lg); margin-bottom: 24px; }
.article-body p { margin-bottom: 14px; color: var(--text-2); }

/* How-to & FAQ */
.notice-box {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-bottom: 24px;
  border-radius: var(--radius); background: var(--info-soft); border: 1px solid rgba(122, 167, 255, .3); color: var(--text-2);
}
.notice-box .icon { color: var(--info); margin-top: 3px; }
.notice-box b { color: var(--text); }
.howto { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.howto li {
  display: flex; gap: 18px; padding: 22px; scroll-margin-top: 90px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.howto h2 { font-size: 1.05rem; margin-bottom: 6px; }
.howto p { color: var(--text-2); margin-bottom: 14px; }
.howto p:last-child { margin-bottom: 0; }
.step-n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-line); color: var(--accent); font-weight: 700; font-size: .9rem;
}
.faq { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.faq details { border-bottom: 1px solid var(--border); padding: 0 20px; }
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; max-width: 680px; }

/* Support */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.support-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.support-card h2 { font-size: 1.05rem; }
.support-card p { color: var(--muted); flex: 1; font-size: .94rem; }
.support-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
}
.support-icon .icon { width: 20px; height: 20px; }

/* Footer */
.site-footer { margin-top: 72px; padding: 40px 0 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.footer-note { margin-top: 8px; max-width: 300px; }
.footer-heading { color: var(--text); font-weight: 600; font-size: .85rem; margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--faint); }

/* Responsive */
@media (max-width: 1060px) {
  .nav { gap: 20px; }
  .nav-links { gap: 16px; }
  .search { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 900px) {
  .landing-grid, .two-col, .cta-row { grid-template-columns: 1fr; }
  .landing-grid { gap: 40px; }
  .hero-mock { max-width: 480px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav-links, .nav-cta { display: none; }
  .search { display: block; width: auto; flex: 1; margin-left: 8px; }
  .mobile-menu { display: block; }
  .nav { gap: 8px; }
  .landing-hero { padding: 40px 0 36px; }
  .mock-popup { right: 10px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-layout .poster { max-width: 200px; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .news-card { flex-direction: column; }
  .news-card img { width: 100%; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .request-row { flex-direction: column; align-items: flex-start; }
  .cta { flex-wrap: wrap; }
  .page-head { padding: 32px 0 20px; }
}

/* Catalog */
.title-card .poster-wrap { position: relative; }
.card-badge {
  position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 6px; font-size: .74rem; font-weight: 600;
  background: rgba(11, 12, 15, .88); border: 1px solid var(--border-strong);
}
.card-badge .icon { width: 13px; height: 13px; }
.badge-dub { color: var(--success); }
.badge-funding { color: var(--warning); }
.data-credit { margin-top: 28px; color: var(--faint); font-size: .82rem; }
.small { font-size: .85rem; }

.title-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 40px 0 8px; align-items: start; }
.title-poster img, .title-poster .poster-placeholder {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); aspect-ratio: 2 / 3; object-fit: cover;
}
.title-info h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 4px; }
.title-info .subtitle { color: var(--muted); margin-bottom: 14px; }
.title-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-2); font-size: .92rem; margin-bottom: 14px; }
.genre-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.dub-status { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-bottom: 28px; max-width: 640px; }
.dub-status-head { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.dub-status-head.ok { color: var(--success); }
.dub-status-head h2 { font-size: 1.05rem; color: var(--text); }
.dub-status p { color: var(--text-2); }
.dub-status .funding { width: 100%; }
.dub-status-actions { margin-top: 4px; }
.episode-list { list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: .92rem; color: var(--text-2); }
.overview { max-width: 680px; }
.overview h2 { font-size: 1.05rem; margin-bottom: 8px; }
.overview p { color: var(--text-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.tmdb-credit a { color: var(--muted); text-decoration: underline; }

@media (max-width: 760px) {
  .title-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .title-poster { max-width: 200px; }
}
