:root {
  --bg: #080810;
  --surface: rgba(255, 255, 255, 0.04);
  --surface2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #b3b3b3;
  --accent: #e50914;
  --accent2: #b20710;
  --cinema: #e50914;
  --cinema-l: #ff2a35;
  --live: #46d369;
  --gold: #f5c518;
  --max: 1200px;
  --nav: 68px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Inter", system-ui, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-canvas .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-canvas .o1 { width: 50vw; height: 50vw; background: rgba(229, 9, 20, 0.18); top: -15%; left: -8%; opacity: 0.35; }
.bg-canvas .o2 { width: 40vw; height: 40vw; background: rgba(89, 28, 135, 0.2); bottom: -20%; right: -12%; animation-delay: -6s; opacity: 0.3; }
.bg-canvas .o3 { width: 28vw; height: 28vw; background: rgba(229, 9, 20, 0.12); top: 45%; left: 55%; animation-delay: -12s; opacity: 0.2; }
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 70%);
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.08); }
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(3, 4, 10, 0.72);
  backdrop-filter: blur(20px);
  border-color: var(--stroke);
}
.nav-inner {
  width: min(var(--max), 100% - 40px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img { border-radius: 11px; box-shadow: 0 8px 32px rgba(229, 9, 20, 0.35); }
.logo-movies { color: var(--cinema-l); font-weight: 700; margin-left: 4px; }
.eyebrow-cinema { border-color: rgba(229, 9, 20, 0.25); color: #fca5a5; }
.device-glow-cinema { background: radial-gradient(circle, rgba(229, 9, 20, 0.22), transparent 65%); }
.live-pill-cinema { background: var(--cinema); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 12px 40px rgba(229, 9, 20, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(229, 9, 20, 0.5); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface2); }

main { position: relative; z-index: 1; }

.hero {
  min-height: 100vh;
  padding: calc(var(--nav) + 48px) 20px 80px;
  display: flex;
  align-items: center;
}
.hero-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--cinema-l); }
.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-meta strong { color: var(--text); display: block; font-size: 1.1rem; }

.device-stage {
  position: relative;
  perspective: 1200px;
}
.device-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(59,130,246,.25), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: min(300px, 88vw);
  aspect-ratio: 9/19;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  box-shadow:
    0 40px 80px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.12);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.phone:hover { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #0b0f1a;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 22px;
  background: #0b0f1a;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.screen-featured {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.screen-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,4,10,.2), rgba(3,4,10,.85) 55%, #0b0f1a);
}
.screen-ui {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 36px 16px 16px;
  display: flex;
  flex-direction: column;
}
.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--display);
  font-weight: 700;
}
.live-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--live);
  padding: 4px 8px;
  border-radius: 6px;
}
.screen-title { font-size: 1.1rem; margin-bottom: 4px; }
.screen-sub { font-size: 0.72rem; color: #94a3b8; margin-bottom: auto; }
.progress {
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 99px;
  overflow: hidden;
  margin: 16px 0 10px;
}
.progress > span {
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  animation: loadbar 4s ease-in-out infinite alternate;
}
@keyframes loadbar {
  from { width: 55%; }
  to { width: 78%; }
}
.mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mini-card {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
}
.mini-card img { width: 100%; height: 100%; object-fit: cover; }
.mini-card span {
  position: absolute;
  left: 6px; bottom: 6px;
  font-size: 0.55rem;
  font-weight: 700;
  background: rgba(0,0,0,.55);
  padding: 2px 6px;
  border-radius: 4px;
}

.ticker-wrap {
  border-block: 1px solid var(--stroke);
  background: rgba(255,255,255,.02);
  overflow: hidden;
  padding: 14px 0;
}
.ticker {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 38s linear infinite;
  font-size: 0.82rem;
  color: var(--muted);
}
.ticker b { color: var(--text); font-weight: 600; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

section { padding: 88px 20px; }
.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 40px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); max-width: 520px; }

.now-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.now-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--stroke);
  transition: transform 0.35s, box-shadow 0.35s;
}
.now-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.now-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.now-card:hover img { transform: scale(1.06); }
.now-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(3,4,10,.92));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}
.now-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 6px;
}
.now-overlay h3 { font-size: 1.25rem; margin-bottom: 6px; }
.now-overlay p { font-size: 0.85rem; color: var(--muted); }

.features {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feat {
  grid-column: span 4;
  padding: 26px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}
.feat.wide { grid-column: span 8; }
.feat h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feat p { font-size: 0.88rem; color: var(--muted); }

.dl-panel {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 48px 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(59,130,246,.12), rgba(6,182,212,.06));
  border: 1px solid rgba(147,197,253,.2);
  box-shadow: 0 24px 80px rgba(37,99,235,.12);
}
.dl-panel h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}
.dl-panel p { color: var(--muted); margin-bottom: 28px; }

.section-inner { width: min(var(--max), 100%); margin: 0 auto; }
.section-head-center { text-align: center; margin-bottom: 40px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.22);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cinema-l);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.section-desc { color: var(--muted); font-size: 1rem; max-width: 560px; }
.section-desc-center { margin-inline: auto; }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.poster {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 2/3;
  cursor: pointer;
  border: 1px solid var(--stroke);
  transition: transform 0.35s, box-shadow 0.35s;
}
.poster:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}
.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 4, 10, 0.95) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.poster-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.poster-badge.hd { background: var(--gold); color: #111; }
.poster-badge.new { background: var(--cinema); color: #fff; }
.poster-badge.top { background: #fff; color: #111; }
.poster-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.poster-meta { font-size: 0.75rem; color: var(--muted); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(229, 9, 20, 0.28); }
.faq-q {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--cinema-l); }
.faq-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.3s, border-color 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-chevron {
  transform: rotate(-135deg);
  border-color: var(--cinema-l);
  margin-top: 6px;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 24px 20px;
}
.faq-a p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

.support-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.support-points {
  margin-top: 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.support-points li { margin-bottom: 8px; }
.support-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--stroke);
}
.support-card p { color: var(--muted); margin-bottom: 18px; font-size: 0.92rem; }

.chat-launcher {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 150;
}
.support-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a1a24, #0d0d12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(229, 9, 20, 0.25);
  display: grid;
  place-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.support-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 56px rgba(229, 9, 20, 0.35);
}
.fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(229, 9, 20, 0.45);
  animation: fabRing 2.4s ease-out infinite;
}
@keyframes fabRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}
.drawer-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.support-drawer {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 500;
  width: min(360px, calc(100vw - 32px));
  max-height: 420px;
  background: #0f111a;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.support-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.support-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
  font-size: 0.9rem;
}
.support-close {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
}
.support-messages {
  flex: 1;
  overflow: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  max-height: 220px;
}
.support-msg {
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
}
.support-msg.user { align-self: flex-end; background: rgba(59, 130, 246, 0.2); }
.support-msg.support { align-self: flex-start; background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.3); }
.support-msg.ai { align-self: flex-start; background: rgba(229, 9, 20, 0.18); border: 1px solid rgba(229, 9, 20, 0.25); }
.support-msg.support-hint { align-self: center; background: transparent; color: var(--muted, #94a3b8); font-size: 0.88rem; text-align: center; max-width: 92%; }
.support-msg.support-typing { opacity: 0.75; font-style: italic; animation: support-pulse 1.2s ease-in-out infinite; }
@keyframes support-pulse { 50% { opacity: 0.45; } }
.support-compose {
  padding: 12px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.support-compose input,
.support-compose textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.footer-legal { font-size: 0.78rem; color: var(--muted); max-width: 520px; margin: 12px auto 0; line-height: 1.6; }
.footer-legal a { color: #94a3b8; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--text); }
.footer-copy { margin-top: 8px; font-size: 0.75rem; }

.footer {
  padding: 32px 20px 48px;
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  border-top: 1px solid var(--stroke);
}

.toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 14px 22px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  transition: bottom 0.4s;
  font-size: 0.9rem;
}
.toast.show { bottom: 28px; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

.hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 25%;
  opacity: 0.35;
  transition: opacity 0.8s ease, background-image 1.2s ease-in-out;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  pointer-events: none;
}
.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 45%, var(--bg) 100%);
}
.cinema-section {
  padding: 72px 20px;
  position: relative;
  z-index: 1;
  opacity: 1 !important;
  transform: none !important;
}
.film-rail { min-height: 200px; }
.poster-grid { min-height: 320px; }
.preview-grid { min-height: 200px; }
.section-badge-gold {
  color: #111 !important;
  background: linear-gradient(90deg, var(--gold), #fde68a) !important;
  border-color: transparent !important;
}
.film-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.film-rail::-webkit-scrollbar { height: 6px; }
.film-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 99px; }
.film-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  border: 1px solid var(--stroke);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s;
}
.film-card:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 197, 24, 0.25);
}
.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.film-card-cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,4,10,.95) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}
.film-card-cap h3 { font-size: 1.05rem; margin-bottom: 4px; }
.film-card-cap p { font-size: 0.78rem; color: var(--muted); }
.chip-nf {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: #111;
  padding: 4px 10px;
  border-radius: 6px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.preview-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  border: 1px solid rgba(229, 9, 20, 0.2);
  cursor: pointer;
  group: preview;
}
.preview-card .preview-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transition: transform 0.6s, filter 0.4s;
}
.preview-card:hover .preview-bg {
  transform: scale(1.06);
  filter: brightness(0.72);
}
.preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(229, 9, 20, 0.5);
  transition: transform 0.3s;
}
.preview-card:hover .preview-play { transform: translate(-50%, -50%) scale(1.08); }
.preview-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, #03040a, transparent);
}
.preview-meta h3 { font-size: 1rem; }
.preview-meta span { font-size: 0.75rem; color: #fca5a5; font-weight: 600; }
.animated-grid .poster {
  animation: posterIn 0.7s ease backwards;
}
.animated-grid .poster:nth-child(1) { animation-delay: 0.05s; }
.animated-grid .poster:nth-child(2) { animation-delay: 0.1s; }
.animated-grid .poster:nth-child(3) { animation-delay: 0.15s; }
.animated-grid .poster:nth-child(4) { animation-delay: 0.2s; }
.animated-grid .poster:nth-child(5) { animation-delay: 0.25s; }
.animated-grid .poster:nth-child(6) { animation-delay: 0.3s; }
@keyframes posterIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
  pointer-events: none;
}
.poster:hover::after { transform: translateX(100%); }

/* ── 2026 cinema layout (self-hosted art) ── */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-title-left { text-align: left; margin-bottom: 8px; }
.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cinema-l);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.85; }
.cinema-section--spotlight { padding-top: 56px; }
.cinema-section--catalog { padding-bottom: 88px; }

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: stretch;
}
.spotlight-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}
.spotlight-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.spotlight-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 16, 0.92) 0%, rgba(8, 8, 16, 0.35) 55%, transparent 100%);
}
.spotlight-hero__copy {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: clamp(20px, 4vw, 36px);
  max-width: 420px;
}
.spotlight-hero__copy h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 10px 0 6px;
}
.spotlight-hero__copy p { color: var(--muted); font-size: 0.9rem; }
.spotlight-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spotlight-tile {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  cursor: pointer;
  min-height: 88px;
}
.spotlight-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.35s, transform 0.45s;
}
.spotlight-tile span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.spotlight-tile:hover img { filter: brightness(1); transform: scale(1.04); }

.tag-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}
.tag-pill--new { background: var(--cinema); color: #fff; }
.tag-pill--hd { background: var(--gold); color: #111; }
.tag-pill--top { background: var(--live); color: #111; }

.poster-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.poster-rail::-webkit-scrollbar { height: 5px; }
.poster-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 99px; }

.media-poster {
  flex: 0 0 168px;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #141424;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.media-poster--grid { flex: none; width: 100%; }
.media-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.media-poster__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 12px 12px;
  background: linear-gradient(0deg, rgba(8, 8, 16, 0.95) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.media-poster__info h3 { font-size: 0.88rem; font-weight: 700; margin: 6px 0 2px; line-height: 1.25; }
.media-poster__info p { font-size: 0.72rem; color: var(--muted); }
.media-poster:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
}
.media-poster:hover img { transform: scale(1.06); }
.media-poster:hover .media-poster__info { opacity: 1; transform: none; }
.media-poster.img-fallback { background: linear-gradient(145deg, #1a1020, #0d0d18); }

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

@media (max-width: 960px) {
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-stack { flex-direction: row; }
  .spotlight-tile { min-height: 120px; flex: 1; }
  .media-poster__info { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .device-stage { order: -1; }
  .phone { transform: none; width: min(260px, 78vw); }
  .phone:hover { transform: translateY(-4px); }
  .feat, .feat.wide { grid-column: span 12; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
