/* StreamHub — тёмная премиальная тема */

[hidden] { display: none !important; }

:root {
  --bg: #0b0c10;
  --bg-2: #111318;
  --bg-3: #171a21;
  --line: rgba(255, 255, 255, .08);
  --text: #e8eaed;
  --text-2: #9aa0a8;
  --text-3: #6b7280;
  --accent: #e50914;
  --accent-dim: #b00610;
  --accent-dark: #7a0a12;
  --ok: #22c55e;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 64px;
  --shadow: 0 8px 32px rgba(0, 0, 0, .5);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: #fff; }

/* Кастомный скроллбар */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2e37; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3a3f4b; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------- Спиннер ---------- */
.spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(255, 255, 255, .15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-loading, .page-error {
  min-height: 60vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  padding: 24px 16px; text-align: center;
}
.page-error h2 { margin: 0; font-size: 22px; }
.page-error p { margin: 0; color: var(--text-2); max-width: 460px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border: 0; border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, opacity .15s, transform .1s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #f6121d; }

.btn-light { background: #fff; color: #111; }
.btn-light:hover { background: #e6e6e6; }

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--text);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }

.btn-ghost.active-fav { background: var(--accent); color: #fff; }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, .3); }

.btn-retry { margin-top: 8px; }

/* ---------- Хедер ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(11, 12, 16, .92), rgba(11, 12, 16, 0));
  transition: background .25s, box-shadow .25s;
}
.header.scrolled {
  background: rgba(11, 12, 16, .96);
  box-shadow: 0 1px 0 var(--line);
}
.header-in {
  max-width: 1440px; margin: 0 auto;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-glyph { width: 30px; height: 30px; }
.logo-word { font-size: 20px; font-weight: 500; letter-spacing: .3px; color: #fff; }
.logo-word b { color: var(--accent); font-weight: 800; }

.nav { display: flex; gap: 4px; flex: none; }
.nav a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--text-2);
  transition: color .15s, background .15s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a.active { color: #fff; }

/* Поиск */
.search { position: relative; flex: 1; max-width: 420px; margin-left: auto; }
.search-ico {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-3);
  pointer-events: none;
}
.search input[type="search"] {
  width: 100%;
  padding: 9px 14px 9px 38px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid transparent; border-radius: var(--radius);
  color: var(--text); font-size: 14px;
  transition: background .15s, border-color .15s;
}
.search input[type="search"]::placeholder { color: var(--text-3); }
.search input[type="search"]:focus {
  outline: none;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(229, 9, 20, .6);
}
.search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.search-drop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-3);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; z-index: 110;
}
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; cursor: pointer;
}
.search-item:hover, .search-item.hover { background: rgba(255, 255, 255, .08); }
.search-item img {
  width: 34px; height: 51px; object-fit: cover;
  border-radius: 4px; flex: none; background: var(--bg-2);
}
.search-item-t { font-size: 14px; font-weight: 600; }
.search-item-m { font-size: 12px; color: var(--text-3); }
.search-all {
  display: block; padding: 10px 12px;
  font-size: 13px; color: var(--text-2); text-align: center;
  border-top: 1px solid var(--line);
}
.search-all:hover, .search-all.hover { color: #fff; background: rgba(255, 255, 255, .05); }

.btn-mylist { flex: none; padding: 9px 16px; font-size: 14px; }

/* ---------- Бейджи ---------- */
.badge-age {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 5px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, .45);
}
.badge-age-footer { border-color: var(--text-3); color: var(--text-2); background: none; }

.rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; color: #ffd54a;
}
.rating svg { width: 13px; height: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 24px) 0 56px;
  overflow: hidden;
}
.hero-bg, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity .6s; }
.hero-video.on { opacity: 1; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(11, 12, 16, .35) 45%, rgba(11, 12, 16, .15) 70%, rgba(11, 12, 16, .5) 100%),
    linear-gradient(to right, rgba(11, 12, 16, .75), rgba(11, 12, 16, .1) 60%);
}
.hero-in {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  padding: 0 24px; width: 100%;
}
.hero-content { max-width: 620px; }
.hero-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1; font-weight: 800; letter-spacing: -.5px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}
.hero-sub { margin: 0 0 14px; font-size: 15px; color: var(--text-2); }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-bottom: 18px; font-size: 14px; color: var(--text-2);
}
.hero-meta .dot::before { content: "·"; margin-right: 14px; color: var(--text-3); }
.hero-genres a:hover { color: #fff; text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ряды-карусели ---------- */
.rows { max-width: 1440px; margin: 0 auto; padding: 8px 24px 40px; }
.row { margin: 34px 0 0; }
.row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px; gap: 12px;
}
.row-title { margin: 0; font-size: 21px; font-weight: 700; }
.row-more { font-size: 14px; color: var(--text-3); flex: none; }
.row-more:hover { color: #fff; }

.row-body { position: relative; }
.row-track {
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }

.row-arrow {
  position: absolute; top: 0; bottom: 8px; z-index: 5;
  width: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to right, transparent, rgba(11, 12, 16, .85));
  border: 0; cursor: pointer;
  color: #fff; opacity: 0; transition: opacity .2s;
}
.row-arrow svg { width: 26px; height: 26px; }
.row-arrow.prev { left: -12px; transform: scaleX(-1); }
.row-arrow.next { right: -12px; }
.row-body:hover .row-arrow { opacity: 1; }
.row-arrow:hover svg { transform: scale(1.15); }

/* ---------- Карточка фильма ---------- */
.card {
  position: relative; flex: none;
  width: 172px;
  scroll-snap-align: start;
}
.card-media {
  position: relative; display: block;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .3s;
}
.card-preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .4s;
}
.card-preview.on { opacity: 1; }
.card:hover .card-media {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .55);
}
.card .badge-age { position: absolute; top: 8px; right: 8px; z-index: 3; }

.card-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(255, 255, 255, .25); z-index: 3;
}
.card-progress i { display: block; height: 100%; background: var(--accent); }

.card-actions {
  position: absolute; top: 0; left: 0; right: 0;
  aspect-ratio: 2 / 3; /* ровно поверх постера, не задевая подпись */
  z-index: 4;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .1) 55%);
  opacity: 0; transition: opacity .2s;
}
.card:hover .card-actions, .card:focus-within .card-actions { opacity: 1; }
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: #111;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.icon-btn:hover { background: #fff; }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.fav-on { background: var(--accent); color: #fff; }

.card-info { padding: 8px 2px 0; }
.card-title {
  display: block;
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-title:hover { color: #fff; text-decoration: underline; }
.card-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 2px;
  font-size: 12.5px; color: var(--text-3);
}
.card-meta .rating { font-size: 12.5px; }

/* ---------- Заголовки страниц ---------- */
.page { max-width: 1440px; margin: 0 auto; padding: calc(var(--header-h) + 32px) 24px 56px; }
.page-title { margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.page-sub { margin: 0 0 24px; color: var(--text-2); font-size: 15px; }

/* ---------- Каталог ---------- */
.catalog-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-2); color: var(--text-2);
  font-size: 13.5px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.sort select {
  padding: 8px 12px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 13.5px; cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 20px 14px;
}
.grid .card { width: auto; }

.empty {
  padding: 64px 16px; text-align: center; color: var(--text-2);
}
.empty h3 { margin: 0 0 8px; color: var(--text); font-size: 20px; }
.empty p { margin: 0 auto; max-width: 420px; }

/* ---------- Страница фильма ---------- */
.film-hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 32px;
  overflow: hidden;
}
.film-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: brightness(.55);
}
.film-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 4%, rgba(11, 12, 16, .45) 60%, rgba(11, 12, 16, .55));
}
.film-in {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 32px; align-items: flex-end;
}
.film-poster {
  width: 230px; flex: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 3; object-fit: cover;
  background: var(--bg-3);
}
.film-head { max-width: 760px; }
.film-title { margin: 0 0 4px; font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.12; }
.film-orig { margin: 0 0 14px; color: var(--text-3); font-size: 15px; }
.film-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: 14.5px; color: var(--text-2); margin-bottom: 10px;
}
.film-meta .sep::before { content: "·"; color: var(--text-3); }
.film-genres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.film-genres a {
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: var(--text);
  font-size: 13px;
  transition: background .15s;
}
.film-genres a:hover { background: rgba(255, 255, 255, .2); }
.film-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.film-body {
  max-width: 1440px; margin: 0 auto; padding: 32px 24px 56px;
  display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 40px;
}
.film-desc h2, .film-trivia h2, .section-title {
  margin: 0 0 12px; font-size: 20px; font-weight: 700;
}
.film-desc p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.film-trivia {
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 22px;
  align-self: start;
}
.film-trivia h2 { display: flex; align-items: center; gap: 8px; }
.film-trivia h2 svg { width: 18px; height: 18px; color: var(--accent); }
.film-trivia p { margin: 0; color: var(--text-2); font-size: 14.5px; }

.similar { max-width: 1440px; margin: 0 auto; padding: 0 24px 56px; }
.similar .grid { margin-top: 14px; }

/* ---------- Плеер ---------- */
body.route-watch { overflow: hidden; }
body.route-watch .header, body.route-watch .footer { display: none; }
body.route-watch .app { padding: 0; max-width: none; }

.player {
  position: fixed; inset: 0;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
.player video { width: 100%; height: 100%; object-fit: contain; }

.player-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent);
  opacity: 1; transition: opacity .3s;
}
.player-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 0; border-radius: 8px;
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .15s;
}
.player-back:hover { background: rgba(255, 255, 255, .22); }
.player-back svg { width: 16px; height: 16px; }
.player-title {
  font-size: 16px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.player-center {
  position: absolute; inset: 0; z-index: 15;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.player-center > * { pointer-events: auto; }

.player-spinner { scale: 1.6; }

.player-bigplay {
  width: 84px; height: 84px;
  border: 0; border-radius: 50%;
  background: rgba(11, 12, 16, .7);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .15s, transform .1s;
}
.player-bigplay:hover { background: rgba(229, 9, 20, .85); }
.player-bigplay:active { transform: scale(.93); }
.player-bigplay svg { width: 38px; height: 38px; margin-left: 4px; }

.player-error {
  position: absolute; z-index: 30; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: rgba(0, 0, 0, .85);
  text-align: center; padding: 20px;
}
.player-error h2 { margin: 0; font-size: 22px; }
.player-error p { margin: 0 0 10px; color: var(--text-2); max-width: 440px; }

/* Контролы */
.player-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 40px 20px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
  opacity: 1; transition: opacity .3s;
}
.player.idle .player-top, .player.idle .player-controls { opacity: 0; }
.player.idle { cursor: none; }
.player.idle .player-top, .player.idle .player-controls { pointer-events: none; }

.pbar {
  position: relative;
  height: 18px;
  display: flex; align-items: center;
  cursor: pointer;
  touch-action: none;
}
.pbar-track {
  position: relative; width: 100%; height: 4px;
  border-radius: 2px; background: rgba(255, 255, 255, .22);
  transition: height .15s;
}
.pbar:hover .pbar-track { height: 6px; }
.pbar-buffer, .pbar-fill {
  position: absolute; inset: 0 auto 0 0;
  border-radius: inherit;
}
.pbar-buffer { background: rgba(255, 255, 255, .35); }
.pbar-fill { background: var(--accent); }
.pbar-knob {
  position: absolute; top: 50%; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .15s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.pbar:hover .pbar-knob { transform: translate(-50%, -50%) scale(1); }

.player-buttons {
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
}
.pbtn {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px;
  background: transparent; color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.pbtn:hover { background: rgba(255, 255, 255, .14); }
.pbtn svg { width: 22px; height: 22px; }
.pbtn.wide { width: auto; padding: 0 10px; font-size: 13.5px; font-weight: 600; }

.ptime {
  font-size: 13.5px; color: var(--text-2);
  font-variant-numeric: tabular-nums;
  padding: 0 8px; flex: none;
}
.ptime b { color: #fff; font-weight: 600; }

.pvol { display: flex; align-items: center; }
.pvol input[type="range"] {
  width: 0; opacity: 0;
  appearance: none; -webkit-appearance: none;
  height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: width .2s, opacity .2s;
}
.pvol:hover input[type="range"], .pvol input[type="range"]:focus-visible {
  width: 80px; opacity: 1; margin: 0 6px;
}
.pvol input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
}
.pvol input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff;
}

.pbtn-space { flex: 1; }

/* ---------- Мой список ---------- */
.my-section { margin-top: 36px; }
.my-section:first-child { margin-top: 0; }
.my-remove {
  position: absolute; top: 8px; left: 8px; z-index: 5;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .65); color: #fff;
  cursor: pointer; opacity: 0;
  transition: opacity .2s, background .15s;
}
.card:hover .my-remove, .card:focus-within .my-remove { opacity: 1; }
.my-remove:hover { background: var(--accent); }
.my-remove svg { width: 14px; height: 14px; }

/* ---------- Поиск ---------- */
.search-page-form { margin: 0 0 24px; max-width: 560px; }
.search-page-form input {
  width: 100%; padding: 13px 18px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px;
}
.search-page-form input:focus { outline: none; border-color: var(--accent); }

/* ---------- Футер ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #08090c;
  margin-top: 24px;
}
.footer-in {
  max-width: 1440px; margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.footer-tag { color: var(--text-3); font-size: 13.5px; max-width: 340px; margin: 14px 0 0; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 {
  margin: 0 0 6px;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px; color: var(--text-3);
}
.footer-col a { font-size: 14px; color: var(--text-2); width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1440px; margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.footer-bottom p { margin: 0; color: var(--text-3); font-size: 13px; }

/* ---------- Респонсив ---------- */
@media (max-width: 900px) {
  .film-in { flex-direction: column; align-items: flex-start; }
  .film-poster { width: 180px; }
  .film-body { grid-template-columns: 1fr; gap: 28px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header-in { gap: 12px; padding: 0 16px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .btn-mylist span { display: none; }
  .btn-mylist { padding: 9px 11px; }
  .search { max-width: none; }
  .rows, .page, .film-in, .film-body, .similar, .footer-in, .footer-bottom { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: 70vh; padding-bottom: 40px; }
  .hero-actions .btn { padding: 11px 16px; font-size: 14px; }
  .card { width: 138px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 16px 10px; }
  .row-arrow { display: none; }
  .catalog-bar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .logo-word { display: none; }
  .card { width: 126px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); }
  .hero-title { font-size: 28px; }
  .footer-in { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card:hover .card-media { transform: none; }
}
