:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --card: #1c1c1f;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #e8b84a;
  --accent-dim: #c49a3a;
  --border: #2a2a2e;
  --danger: #ef4444;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { 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;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1100px, 92vw); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,11,.9);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem;
}
.brand {
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  font-size: .95rem;
}
.brand span { color: var(--accent); }
.nav a { color: var(--muted); font-size: .9rem; margin-left: 1.25rem; }
.nav a:hover { color: var(--text); }
.hero {
  padding: 2.5rem 0 1.5rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.hero p { color: var(--muted); max-width: 42rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding: 1rem 0 3rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent-dim); }
.card .poster {
  aspect-ratio: 3/2;
  background: linear-gradient(145deg, #222, #111);
  object-fit: cover; width: 100%; height: auto;
}
.card .meta { padding: .9rem 1rem 1.1rem; }
.card .meta h2 { font-size: 1rem; margin-bottom: .25rem; }
.card .meta p { color: var(--muted); font-size: .8rem; }
.film-layout {
  display: grid;
  grid-template-columns: minmax(200px, 495px) 1fr;
  gap: 2rem;
  padding: 2rem 0 3.5rem;
}
@media (max-width: 760px) {
  .film-layout { grid-template-columns: 1fr; }
  .nav a { margin-left: .75rem; }
}
.poster-panel {
  background: var(--surface);
  border: 6px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 330px;
}
.poster-panel img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.poster-fallback {
  aspect-ratio: 2/3;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #2a2214, #121212);
  color: var(--accent);
  font-weight: 700; text-align: center; padding: 1.5rem;
  letter-spacing: .06em;
}
.badge-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0 1rem; }
.badge {
  font-size: .72rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .2rem .65rem; background: var(--surface);
}
.film-body h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .35rem; }
.tagline { color: var(--muted); margin-bottom: 1rem; }
.section { margin-top: 1.5rem; }
.section h2 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); margin-bottom: .6rem;
}
.section p, .section li { color: #d4d4d8; }
.section ul { padding-left: 1.1rem; }
.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.watch-btn {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  border-radius: 10px;
  padding: .85rem 1rem;
  transition: filter .15s ease;
}
.watch-btn:hover { filter: brightness(1.08); }
.watch-btn.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.note {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--muted);
  border-left: 3px solid var(--accent-dim);
  padding-left: .75rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: .85rem;
}
.site-footer a { color: var(--accent); }
.jw-slot {
  margin-top: .75rem;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: .9rem;
}
