@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&display=swap');

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */

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

:root {
  --bg-deep: #0a0a0b;
  --bg-surface: #111113;
  --bg-elevated: #1a1a1e;
  --bg-card: #16161a;
  --amber: #e8a828;
  --amber-hot: #f0c040;
  --amber-dim: #b8841c;
  --amber-glow: rgba(232, 168, 40, 0.15);
  --text-primary: #e8e6e1;
  --text-secondary: #9a9590;
  --text-dim: #5a5550;
  --border: #2a2a2e;
  --border-subtle: #1e1e22;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --font-mono: 'Space Grotesk', monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   BACKGROUND ATMOSPHERE
   ═══════════════════════════════════════ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(232, 168, 40, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(184, 132, 28, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(10, 10, 11, 0.9) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */

.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container--wide {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes typeReveal {
  from { max-width: 0; }
  to { max-width: 100%; }
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.35s; }
.reveal-d4 { animation-delay: 0.5s; }
.reveal-d5 { animation-delay: 0.65s; }
.reveal-d6 { animation-delay: 0.8s; }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--text-dim);
  font-weight: 400;
}

.nav__logo .nav__logo-ext {
  color: #ffffff;
  font-weight: 700;
  font-size: 1em;
  position: relative;
  top: -0.15em;
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links--mobile {
  display: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--amber);
}

.nav__lang {
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.nav__lang a {
  font-size: 0.75rem !important;
  opacity: 0.6;
}

.nav__lang a:hover {
  opacity: 1;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav__burger {
    display: block;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10000;
  }
  .nav__links--desktop { display: none; }

  .nav__links--mobile {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(10, 10, 11);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 9999;
    padding: 60px 20px 40px;
    margin: 0;
  }

  .nav__links--mobile.is-open {
    display: flex;
  }

  .nav__links--mobile a {
    font-size: 1.3rem;
  }
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

/* Decorative light leak */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(232, 168, 40, 0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: fadeIn 2s ease-out;
}

/* Vertical accent line */
.hero::after {
  content: '';
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--amber-dim), transparent);
  opacity: 0.3;
}

.hero__content {
  max-width: 800px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--amber);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}

.hero__title-line {
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--amber);
  margin: 0.5rem 0;
  opacity: 0.6;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero__models-wrap {
  position: relative;
  border-bottom: 1px dashed var(--amber-dim);
  cursor: default;
}

.hero__models-tip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--amber);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.hero__models-wrap:hover .hero__models-tip {
  opacity: 1;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */

.btn {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--amber);
  color: var(--bg-deep);
}

.btn--primary:hover {
  background: var(--amber-hot);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 168, 40, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--amber-dim);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn--small {
  font-size: 0.78rem;
  padding: 0.5rem 1.2rem;
}

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */

.section-header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-number {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber-dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

/* ═══════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════ */

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--bg-surface);
  padding: clamp(2rem, 3vw, 3rem);
  position: relative;
  transition: background 0.3s;
}

.step:hover {
  background: var(--bg-elevated);
}

.step:hover .step__num {
  color: var(--amber);
}

.step__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.step__text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════
   WHERE TO WATCH
   ═══════════════════════════════════════ */

.where-sites {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 800px) {
  .where-sites { grid-template-columns: 1fr; }
}

.where-site {
  display: block;
  background: var(--bg-surface);
  padding: clamp(2rem, 3vw, 3rem);
  text-decoration: none;
  transition: background 0.3s;
}

.where-site:hover {
  background: var(--bg-elevated);
}

.where-site__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amber);
}

.where-site__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.where-site__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.where-site:hover .where-site__icon {
  opacity: 0.85;
}


/* YouTube — play button */
.where-site__icon--youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a843' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 00-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 00-1.94 2A29 29 0 001 11.75a29 29 0 00.46 5.33 2.78 2.78 0 001.94 2c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 001.94-2 29 29 0 00.46-5.25 29 29 0 00-.46-5.33z'/%3E%3Cpath d='M9.75 15.02l5.75-3.27-5.75-3.27v6.54z'/%3E%3C/svg%3E");
}

/* Plex — стрелка вперёд (play) */
.where-site__icon--plex {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a843' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M10 8l6 4-6 4V8z'/%3E%3C/svg%3E");
}

/* ARTE — перо/артхаус */
.where-site__icon--arte {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a843' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E");
}

/* Filmzie — плёнка */
.where-site__icon--filmzie {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a843' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.18' ry='2.18'/%3E%3Cline x1='7' y1='2' x2='7' y2='22'/%3E%3Cline x1='17' y1='2' x2='17' y2='22'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cline x1='2' y1='7' x2='7' y2='7'/%3E%3Cline x1='2' y1='17' x2='7' y2='17'/%3E%3Cline x1='17' y1='7' x2='22' y2='7'/%3E%3Cline x1='17' y1='17' x2='22' y2='17'/%3E%3C/svg%3E");
}

/* BBC — три блока */
.where-site__icon--bbc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a843' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='5' height='12' rx='1'/%3E%3Crect x='9.5' y='6' width='5' height='12' rx='1'/%3E%3Crect x='17' y='6' width='5' height='12' rx='1'/%3E%3C/svg%3E");
}

/* Netflix — N */
.where-site__icon--netflix {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h3.5l5 13.5V2H18v20h-3.5L9.5 8.5V22H6z' fill='%23d4a843'/%3E%3C/svg%3E");
}

/* Soon badge */
.where-site--soon {
  opacity: 0.5;
}
.where-site--soon:hover {
  opacity: 0.65;
}
.where-site__badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  opacity: 0.7;
}

.where-site__desc {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════
   WHY / ADVANTAGES
   ═══════════════════════════════════════ */

.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 640px) {
  .advantages { grid-template-columns: 1fr; }
}

.advantage {
  background: var(--bg-surface);
  padding: clamp(2rem, 3.5vw, 3.5rem);
  position: relative;
  transition: background 0.3s;
}

.advantage:hover {
  background: var(--bg-elevated);
}

.advantage__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.advantage__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════
   TRANSLATIONS TABLE
   ═══════════════════════════════════════ */

.translations-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.table-empty,
.table-loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.table-loading::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber-dim);
  margin-left: 0.5rem;
  animation: glowPulse 1.2s ease-in-out infinite;
}

.table-stats {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Subsection title */
.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 640px;
  line-height: 1.6;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 2rem 0 0.75rem;
}

/* Recent translations & catalog rows */
.recent-row,
.catalog-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.recent-row:hover,
.catalog-row:hover {
  background: var(--bg-elevated);
  color: var(--amber);
}

.recent-show {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-dim);
  flex-shrink: 0;
}

.recent-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
}

.recent-date {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.catalog-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-count {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.catalog-model {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.catalog-model--gold {
  border-color: var(--amber-dim);
  color: var(--amber);
  background: rgba(232, 168, 40, 0.08);
}

/* ═══════════════════════════════════════
   INSTALL
   ═══════════════════════════════════════ */

.install {
  position: relative;
}

.install__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 768px) {
  .install__grid {
    grid-template-columns: 1fr;
  }
}

.install__left {
  position: sticky;
  top: 6rem;
}

@media (max-width: 768px) {
  .install__left { position: static; }
}

.install__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.install__headline em {
  font-style: normal;
  color: var(--amber);
}

.install__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.install-steps {
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  counter-increment: install-step;
  position: relative;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.install-steps li::before {
  content: counter(install-step);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
}

.install-steps li:hover::before {
  color: var(--amber-dim);
}

.install-steps code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg-deep);
  padding: 0.15em 0.5em;
  border: 1px solid var(--border-subtle);
  color: var(--amber-dim);
}

/* ═══════════════════════════════════════
   INSTALL TRACKS (two-column)
   ═══════════════════════════════════════ */

.install-tracks {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .install-tracks { grid-template-columns: 1fr; }
}

.track {
  border: 1px solid var(--border-subtle);
  padding: clamp(2rem, 3vw, 3rem);
  position: relative;
}

.track--primary {
  border-color: var(--amber-dim);
  background: rgba(232, 168, 40, 0.03);
}

.track--secondary {
  background: var(--bg-surface);
}

.track__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-dim);
  margin-bottom: 0.5rem;
  display: block;
}

.track__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.track__subtitle {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.track__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.track__note {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.track .install-steps {
  margin-bottom: 0;
}

.track .install-steps li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  font-size: 0.85rem;
}

.track .install-steps li::before {
  font-size: 1.4rem;
}

/* ═══════════════════════════════════════
   JOIN / CTA
   ═══════════════════════════════════════ */

.join {
  text-align: center;
}

.join__inner {
  max-width: 640px;
  margin: 0 auto;
}

.join__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.join__text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.join__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   CHANGELOG
   ═══════════════════════════════════════ */

.changelog-list {
  list-style: none;
  border-left: 1px solid var(--border);
  padding-left: 0;
}

.changelog-item {
  position: relative;
  padding: 1.5rem 0 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.changelog-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 1.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg-deep);
  transition: background 0.2s;
}

.changelog-item:hover::before {
  background: var(--amber);
}

.changelog-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  display: block;
}

.changelog-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-dim);
  margin-left: 0.75rem;
}

.changelog-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════
   PLAYER
   ═══════════════════════════════════════ */

.player-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.player-dropzone {
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--text-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 60px rgba(232, 168, 40, 0.03);
}

.player-dropzone:hover {
  border-color: var(--amber-dim);
  background: var(--bg-card);
  box-shadow: inset 0 0 80px rgba(232, 168, 40, 0.06);
}

.player-dropzone--over {
  border-color: var(--amber);
  background: var(--amber-glow);
  box-shadow: inset 0 0 100px rgba(232, 168, 40, 0.1), 0 0 30px rgba(232, 168, 40, 0.08);
}

.player-dropzone__content {
  text-align: center;
  padding: 2rem;
}

.player-dropzone__icon {
  color: var(--amber-dim);
  margin-bottom: 1.5rem;
  width: 64px;
  height: 64px;
  opacity: 0.7;
}

.player-dropzone__main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.player-dropzone__hint {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.player-dropzone__sub {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.player-dropzone__click {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

.player-status {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.player-status__text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.player-status__bar {
  width: 60%;
  max-width: 320px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.player-status__progress {
  height: 100%;
  background: var(--amber);
  border-radius: 2px;
  transition: width 0.3s;
  width: 0;
}

.player-video {
  width: 100%;
  border-radius: 12px;
  background: #000;
}

.player-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.player-note {
  max-width: 960px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.player-note p {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════
   VIDEO PAGE
   ═══════════════════════════════════════ */

.video-embed {
  max-width: 960px;
  margin: 0 auto 2rem;
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
}

.video-cta {
  max-width: 960px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.video-cta p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.video-transcript {
  max-width: 960px;
  margin: 0 auto 3rem;
}

.transcript-lines {
  margin-top: 1.5rem;
}

.transcript-line {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.transcript-line:hover {
  background: var(--bg-elevated);
}

.transcript-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  min-width: 3.5rem;
  padding-top: 0.15rem;
  flex-shrink: 0;
}

.transcript-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.video-attribution {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.video-attribution p {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.video-attribution a {
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════
   PLAYER (continued)
   ═══════════════════════════════════════ */

.player-unsupported {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-elevated);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.player-unsupported__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.player-unsupported__text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.player-unsupported__cmd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber);
  background: var(--bg-deep);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  user-select: all;
}

@media (max-width: 640px) {
  .player-dropzone {
    aspect-ratio: 4 / 3;
  }
}

/* Translate mode CSS moved to translate.css for /translate/ page */

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer__text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer__text a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__text a:hover {
  color: var(--amber);
}

.footer__disclaimer {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════ */

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

/* Subtle horizontal rule between major sections */
.section-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--border) 15%,
    var(--border) 85%,
    transparent 100%
  );
  margin: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE REFINEMENTS
   ═══════════════════════════════════════ */

@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .recent-name, .recent-date { display: none; }
  .catalog-model { display: none; }
}

/* ═══════════════════════════════════════
   STANDALONE PAGES
   ═══════════════════════════════════════ */

.standalone-page {
  padding-top: 7rem;
}

.standalone-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.standalone-cta__text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.standalone-cta__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL (via IntersectionObserver)
   ═══════════════════════════════════════ */

.sr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sr.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */

/* FAQ categories */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category__title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-dim);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   CATALOG ENRICHMENT
   ═══════════════════════════════════════ */

.catalog-search {
  margin-bottom: 1.5rem;
}

.catalog-search__input {
  width: 100%;
  max-width: 400px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.catalog-search__input::placeholder {
  color: var(--text-dim);
}

.catalog-search__input:focus {
  border-color: var(--amber-dim);
}

.catalog-row--rich {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-poster {
  width: 40px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.catalog-poster--empty {
  display: inline-block;
  width: 40px;
  height: 60px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  flex-shrink: 0;
}

.catalog-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.catalog-info .catalog-name {
  flex: none;
}

.catalog-name-ru {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-year {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.catalog-genres {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.catalog-genre {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
  padding: 0.1rem 0.4rem;
}

@media (max-width: 640px) {
  .catalog-poster,
  .catalog-poster--empty { display: none; }
  .catalog-year { display: none; }
  .catalog-genres { display: none; }
}

/* ═══════════════════════════════════════
   INSTALL REQUIREMENTS & PERMISSIONS
   ═══════════════════════════════════════ */

.install-reqs {
  margin-bottom: 2.5rem;
}

.install-reqs__list {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
}

.install-reqs__list li {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.install-reqs__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--amber-dim);
  font-weight: 700;
}

.install-steps--detailed li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.install-steps--detailed li span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.install-permissions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin-top: 1rem;
}

.install-permissions__item {
  background: var(--bg-surface);
  padding: 1.5rem;
}

.install-permissions__name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 0.35rem;
}

.install-permissions__why {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.track__divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 1.5rem 0;
}

/* ═══════════════════════════════════════
   MODEL COMPARISON TABLE
   ═══════════════════════════════════════ */

.model-table {
  border: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
}

.model-table__header {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.model-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
}

.model-table__row:last-child {
  border-bottom: none;
}

.model-table__row:hover {
  background: var(--bg-elevated);
}

.model-table__row--gold .model-table__name {
  color: var(--amber);
  font-weight: 600;
}

.model-table__name {
  font-weight: 600;
  color: var(--text-primary);
}

.model-table__price {
  font-variant-numeric: tabular-nums;
}

.model-table__footnote {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .model-table__header,
  .model-table__row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .model-table__header span:last-child,
  .model-table__row span:last-child {
    display: none;
  }
}

/* Model tier colors */
.model-table__row--free .model-table__name { color: var(--text-dim); }
.model-table__row--cheap .model-table__name { color: var(--text-primary); }
.model-table__row--mid .model-table__name { color: var(--amber); font-weight: 600; }
.model-table__row--expensive .model-table__name { color: #ff6b6b; font-weight: 600; }

.model-table__row--recommended {
  background: rgba(217, 179, 16, 0.06);
}
.model-badge {
  color: var(--amber);
  margin-left: 0.3rem;
  font-size: 0.85em;
}

/* Recommendations grid */
.recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.recommendation {
  border: 1px solid var(--border-subtle);
  padding: 1.2rem;
}
.recommendation__audience {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-bottom: 0.4rem;
}
.recommendation__model {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.recommendation__why {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Pricing notes */
.pricing-notes {
  margin-top: 1rem;
  padding-left: 1.2rem;
}
.pricing-notes li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* Pipeline steps (vertical) */
.steps--pipeline {
  grid-template-columns: 1fr;
  gap: 0;
}

.step--pipeline {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 1.5rem;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(2rem, 3vw, 3rem);
}

.step--pipeline .step__num {
  grid-row: 1 / -1;
  font-size: 2.5rem;
  align-self: start;
  margin-bottom: 0;
}

.step--pipeline .step__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.step--pipeline .step__text {
  grid-column: 2;
}

@media (max-width: 640px) {
  .step--pipeline {
    grid-template-columns: 1fr;
  }
  .step--pipeline .step__num {
    grid-row: auto;
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  .step--pipeline .step__text {
    grid-column: 1;
  }
}

/* ═══════════════════════════════════════
   SERIES PAGE
   ═══════════════════════════════════════ */

/* Ambient poster backdrop — blurred, faded poster behind the hero */
.sp-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background-image: var(--poster-url);
  background-size: cover;
  background-position: center 20%;
  filter: blur(60px) saturate(0.6) brightness(0.25);
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.sp {
  padding-top: 5rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* ── Breadcrumbs ── */
.sp-crumbs {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}
.sp-crumbs a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.sp-crumbs a:hover { color: var(--amber); }
.sp-crumbs span { margin: 0 0.35rem; }
.sp-crumbs__current { color: var(--text-secondary); }

/* ── Hero ── */
.sp-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  align-items: start;
}

.sp-hero__poster {
  position: relative;
}

.sp-hero__poster img {
  display: block;
  width: clamp(180px, 20vw, 260px);
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(232, 168, 40, 0.08),
    0 8px 40px rgba(0, 0, 0, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Poster inner glow */
.sp-hero__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.sp-hero__body {
  padding-top: 0.25rem;
}

.sp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

/* Metadata strip */
.sp-hero__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.sp-hero__year {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.sp-hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--amber);
  font-weight: 600;
}

.sp-hero__rating svg { flex-shrink: 0; }

.sp-hero__count {
  color: var(--text-dim);
}

.sp-hero__model {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-deep);
}

.sp-hero__model--gold {
  border-color: var(--amber-dim);
  color: var(--amber);
  background: rgba(232, 168, 40, 0.08);
}

/* Genre pills */
.sp-hero__genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.sp-hero__genre {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  transition: border-color 0.2s, color 0.2s;
}

.sp-hero__genre:hover {
  border-color: var(--amber-dim);
  color: var(--text-secondary);
}

/* Overview text */
.sp-hero__overview {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ── Review ── */
.sp-review {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--amber-dim);
  position: relative;
}

.sp-review__heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-dim);
  margin-bottom: 1.25rem;
}

.sp-review__body {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-primary);
}
.sp-review__body p { margin-bottom: 0.85rem; }
.sp-review__body p:last-child { margin-bottom: 0; }
.sp-review__body strong { color: var(--amber); font-weight: 600; }

/* ── CTA + Where to watch (combined) ── */
.sp-cta {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(232, 168, 40, 0.04);
  border: 1px solid rgba(232, 168, 40, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.sp-cta__body {
  flex: 1;
}
.sp-cta__text {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.sp-cta__btn {
  display: inline-block;
  padding: 0.65rem 1.8rem;
  background: var(--amber);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.sp-cta__btn:hover {
  background: var(--amber-hot);
  transform: translateY(-1px);
}
.sp-cta__watch {
  flex-shrink: 0;
  text-align: center;
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid rgba(232, 168, 40, 0.12);
}
.sp-cta__watch-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.sp-cta__providers {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.sp-cta__providers img {
  border-radius: 8px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.sp-cta__providers img:hover {
  opacity: 1;
}
.sp-cta__attribution {
  font-size: 0.65rem;
  color: var(--text-dim);
  opacity: 0.5;
  margin-top: 0.6rem;
}
@media (max-width: 640px) {
  .sp-cta {
    flex-direction: column;
    text-align: center;
  }
  .sp-cta__watch {
    padding-left: 0;
    padding-top: 1rem;
    border-left: none;
    border-top: 1px solid rgba(232, 168, 40, 0.12);
    width: 100%;
  }
}

/* ── Episodes ── */
.sp-episodes {
  margin-bottom: 2rem;
}

.sp-episodes__heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-dim);
  margin-bottom: 1.5rem;
}

/* Season divider */
.sp-season {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 0.5rem;
}

.sp-season:first-child { margin-top: 0; }

.sp-season__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  white-space: nowrap;
}

.sp-season__line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* Episode row */
.sp-ep {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.sp-ep:last-child { border-bottom: none; }

.sp-ep:hover {
  background: rgba(232, 168, 40, 0.03);
}

.sp-ep__code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-dim);
  min-width: 3.2rem;
  flex-shrink: 0;
}

.sp-ep__name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-ep__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.sp-ep__name a:hover { color: var(--amber); }

.sp-ep__name-en {
  color: var(--text-muted, #888);
  font-size: 0.85em;
  margin-left: 0.4em;
}

.sp-ep__model {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--bg-deep);
  white-space: nowrap;
  flex-shrink: 0;
}

.sp-ep__model--gold {
  border-color: var(--amber-dim);
  color: var(--amber);
  background: rgba(232, 168, 40, 0.08);
}

.sp-ep__downloads {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.sp-ep__dl {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.2rem 0.45rem;
  transition: color 0.15s;
}

.sp-ep__dl:hover {
  color: var(--amber);
}

.sp-ep__date {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   QUEUE PAGE
   ═══════════════════════════════════════ */

/* Form */
.queue-form {
  max-width: 640px;
  margin-bottom: 1rem;
}

.queue-form__row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.queue-form__input {
  font-family: var(--font-display);
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.queue-form__input::placeholder {
  color: var(--text-dim);
}

.queue-form__input:focus {
  border-color: var(--amber-dim);
}

.queue-form__input--wide {
  flex: 1;
  min-width: 0;
}

.queue-form__select {
  font-family: var(--font-display);
  font-size: 0.88rem;
  padding: 0.6rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}

.queue-form__select:focus {
  border-color: var(--amber-dim);
}

.queue-form__feedback {
  font-family: var(--font-display);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}

.queue-form__feedback--success {
  color: #4caf50;
}

.queue-form__feedback--error {
  color: #e57373;
}

/* Cards container */
.queue-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Card */
.queue-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: background 0.15s;
  flex-wrap: wrap;
}

.queue-card:hover {
  background: var(--bg-elevated);
}

.queue-card__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-card__meta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.queue-card__votes {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
  flex-shrink: 0;
}

.queue-card__model {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--bg-deep);
  white-space: nowrap;
  flex-shrink: 0;
}

.queue-card__error {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #e57373;
  flex-basis: 100%;
}

.queue-card__time {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.queue-card__delete {
  color: #e57373 !important;
  border-color: #e57373 !important;
}

/* Tiny button variant */
.btn--tiny {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
}

/* Status badges */
.queue-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  flex-shrink: 0;
}

.queue-badge--pending {
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.queue-badge--running {
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  background: rgba(232, 168, 40, 0.08);
}

.queue-badge--done {
  color: #4caf50;
  border: 1px solid #2e7d32;
  background: rgba(76, 175, 80, 0.08);
}

.queue-badge--error {
  color: #e57373;
  border: 1px solid #c62828;
  background: rgba(229, 115, 115, 0.08);
}

/* Progress bar */
.queue-progress {
  width: 80px;
  height: 4px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  overflow: hidden;
}

.queue-progress__bar {
  height: 100%;
  background: var(--amber);
  transition: width 0.3s;
}

/* Placeholder text */
.queue-placeholder {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 1.5rem 0;
}

.queue-placeholder--error {
  color: #e57373;
}

/* Section header with admin toggle */
.queue-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.queue-admin-toggle {
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.3;
  transition: opacity 0.2s;
  user-select: none;
}

.queue-admin-toggle:hover {
  opacity: 0.7;
}

/* Admin panel */
.queue-admin {
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
}

.queue-admin__login {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.queue-admin__login .queue-form__input {
  max-width: 240px;
}

.queue-admin__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.queue-admin__feedback {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .queue-form__row {
    flex-direction: column;
  }
  .queue-card {
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }
  .queue-card__time { display: none; }
  .queue-admin__login {
    flex-direction: column;
    align-items: stretch;
  }
  .queue-admin__login .queue-form__input {
    max-width: none;
  }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .sp-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .sp-hero__poster {
    justify-self: center;
  }
  .sp-hero__poster img {
    width: 160px;
  }
  .sp-hero__title {
    font-size: 1.6rem;
    text-align: center;
  }
  .sp-hero__strip {
    justify-content: center;
  }
  .sp-hero__genres {
    justify-content: center;
  }
  .sp-hero__overview {
    text-align: center;
  }
  .sp-ep {
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }
  .sp-ep__model,
  .sp-ep__date { display: none; }
  .sp-ep__name {
    flex-basis: calc(100% - 4rem);
  }
}

/* ═══════════════════════════════════════
   PRIVACY POLICY PAGE
   ═══════════════════════════════════════ */

.privacy-content {
  max-width: 720px;
}

.privacy-meta {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.privacy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.privacy-content ul li {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.privacy-content ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.privacy-content a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}

.privacy-content a:hover {
  color: var(--text-primary);
}

.privacy-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.15rem 0.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.privacy-table th,
.privacy-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-table th {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--bg-elevated);
}

.privacy-table td {
  color: var(--text-secondary);
}

.privacy-table tr:last-child td {
  border-bottom: none;
}

/* ═══════════════════════════════════════
   VIDEO PAGE (article / meta)
   ═══════════════════════════════════════ */

.video-meta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.video-cta__btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--amber);
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.video-cta__btn:hover {
  opacity: 0.85;
}

.video-article {
  max-width: 960px;
  margin: 0 auto 32px;
}

.video-article h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.video-article__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--amber);
}

.video-article__heading:hover,
.video-article__para:hover {
  opacity: 0.8;
}

.video-article__para {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 12px;
  color: var(--text-secondary);
}

[data-time] {
  cursor: pointer;
  transition: opacity 0.15s;
}

/* ═══════════════════════════════════════
   404
   ═══════════════════════════════════════ */
.not-found {
  text-align: center;
  padding: 6rem 0 4rem;
}
.not-found__code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--border);
  letter-spacing: -0.04em;
}
.not-found__title {
  font-size: 1.5rem;
  margin: 1rem 0 0.75rem;
}
.not-found__text {
  color: var(--text-secondary);
  max-width: 28rem;
  margin: 0 auto 2rem;
}
.not-found__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* ═══════════════════════════════════════
   PRICING PAGE
   ═══════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--amber);
  box-shadow: 0 0 20px var(--amber-glow);
}
.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.25rem;
}
.pricing-card__period {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.pricing-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.pricing-card__features li {
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
}
.pricing-card__btn {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.pricing-card__btn:hover { opacity: 0.85; }
.pricing-card__btn--primary {
  background: var(--amber);
  color: #000;
}
.pricing-card__btn--disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.pricing-card__btn--secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.pricing-footer {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.pricing-footer a { color: var(--amber); }

/* ═══════════════════════════════════════
   PLATFORMS PAGE
   ═══════════════════════════════════════ */

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}
@media (max-width: 768px) {
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .platforms-grid { grid-template-columns: 1fr; }
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}
.platform-card--experimental {
  border-style: dashed;
  opacity: 0.8;
}
.platform-card__name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.platform-card__desc {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════
   WELCOME PAGE
   ═══════════════════════════════════════ */

.welcome-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.welcome-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}
.welcome-step__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

