
:root {
  --bg: #08111f;
  --bg-2: #0d1727;
  --panel: rgba(11, 20, 36, .72);
  --panel-strong: rgba(17, 28, 48, .92);
  --line: rgba(255, 255, 255, .08);
  --text: #e5eefc;
  --muted: #9bb0d2;
  --accent: #7c3aed;
  --accent-2: #38bdf8;
  --shadow: 0 18px 60px rgba(0, 0, 0, .35);
  --radius: 22px;
  --max: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, .22), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(56, 189, 248, .16), transparent 28%),
    linear-gradient(180deg, #050a14, var(--bg));
  color: var(--text);
  min-height: 100vh;
}

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

.container {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(5, 10, 20, .68);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(124, 58, 237, .32);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 1px;
}
.brand-text { min-width: 0; }
.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .2s ease;
}
.nav a:hover, .nav a.active {
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.hero {
  padding: 24px 0 8px;
}
.hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(124,58,237,.25), transparent 28%),
    radial-gradient(circle at bottom right, rgba(56,189,248,.18), transparent 26%),
    linear-gradient(135deg, rgba(16,24,42,.94), rgba(7,12,22,.88));
  box-shadow: var(--shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 22px;
  padding: 28px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #d7e4ff;
  font-size: 13px;
}
.hero h1, .page-title h1 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.hero p.lead {
  margin: 0;
  max-width: 62ch;
  color: #c8d6ef;
  line-height: 1.75;
  font-size: 15px;
}
.hero-actions, .inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  transition: .2s ease;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 14px 35px rgba(56,189,248,.18);
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
}
.btn.primary:hover { filter: brightness(1.04); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.stat strong { display: block; font-size: 22px; }
.stat span { display:block; color: var(--muted); font-size: 12px; margin-top: 6px; }

.hero-showcase {
  display: grid;
  gap: 14px;
  align-content: start;
}
.hero-slider {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .5s ease, transform .5s ease;
  display: grid;
  grid-template-columns: 1fr;
  padding: 24px;
}
.slide.active {
  opacity: 1;
  transform: none;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.22), transparent 23%),
    linear-gradient(135deg, rgba(0,0,0,.24), rgba(0,0,0,.62));
}
.slide-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.poster-chip {
  width: 110px;
  height: 160px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255,255,255,.94);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
}
.slide-title { margin: 18px 0 10px; font-size: 32px; line-height: 1.12; }
.slide-meta, .meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #c7d4ec;
  font-size: 13px;
}
.pill {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  padding: 7px 10px;
}
.slide-desc {
  margin: 14px 0 18px;
  color: #dce7fb;
  line-height: 1.7;
  max-width: 50ch;
}
.slide-footer { display:flex; gap:12px; flex-wrap:wrap; }
.slide-nav {
  display:flex;
  gap:8px;
  justify-content:center;
}
.dots {
  display:flex;
  gap:8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,.28);
}
.dot.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); width: 28px; }

.section {
  padding: 28px 0;
}
.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-size: 24px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.controls {
  display: grid;
  grid-template-columns: 1.2fr .65fr .65fr;
  gap: 12px;
  margin: 16px 0 18px;
}
.searchbox, .selectbox {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
}
.searchbox::placeholder { color: #91a6c8; }
.selectbox option { background: #0c1526; color: #e8f1ff; }
.tag-row {
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 0;
}
.tag {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #c7d4ec;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: .2s ease;
}
.tag.active, .tag:hover {
  background: rgba(124,58,237,.22);
  border-color: rgba(124,58,237,.42);
  color: #fff;
}

.grid {
  display:grid;
  gap: 14px;
}
.grid.cards {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.grid.cards.tight {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.card {
  overflow:hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(11, 20, 36, .68);
  box-shadow: 0 10px 35px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,58,237,.38);
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.card .cover {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.card .cover::after {
  content: '';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.62));
}
.card .poster {
  position:absolute;
  inset: 0;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .02em;
}
.card .body {
  padding: 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.34;
}
.card .mini {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.card .meta {
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: #dbe7ff;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
}

.split {
  display:grid;
  grid-template-columns: 1.55fr .85fr;
  gap: 18px;
}
.panel {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: rgba(10, 18, 32, .76);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel .panel-head {
  padding: 18px 18px 0;
}
.panel .panel-body {
  padding: 18px;
}
.list {
  display:grid;
  gap: 12px;
}
.rank-item, .movie-line {
  display:flex;
  gap: 14px;
  align-items:flex-start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.rank-index {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(56,189,248,.9));
}
.rank-text strong { display:block; margin-bottom: 4px; }
.rank-text span { color: var(--muted); font-size: 13px; line-height: 1.6; }

.page-title {
  padding: 28px 0 8px;
}
.page-title p {
  max-width: 80ch;
  color: var(--muted);
  line-height: 1.7;
}
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin: 8px 0 0;
}
.breadcrumb a { color: #bfd0ef; }

.detail-hero {
  display:grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}
.detail-poster {
  position: relative;
  border-radius: 26px;
  overflow:hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.detail-poster .poster-letter {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size: 76px;
  font-weight: 900;
  color: #fff;
}
.detail-info {
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.detail-info h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
}
.kv-grid {
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.kv {
  padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
}
.kv b { display:block; margin-bottom: 6px; font-size: 12px; color: #cfe1ff; }
.kv span { color: var(--muted); font-size: 13px; }
.story {
  display:grid;
  gap: 12px;
  line-height: 1.85;
  color: #d9e6f7;
}
.story p { margin: 0; }

.player {
  position: relative;
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #000;
  box-shadow: var(--shadow);
}
.player video {
  display:block;
  width:100%;
  aspect-ratio: 16/9;
  background: #000;
}
.play-overlay {
  position:absolute;
  inset: 0;
  display:grid;
  place-items:center;
  pointer-events:none;
}
.play-button {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.16);
  color: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  pointer-events:auto;
  cursor: pointer;
  font-size: 28px;
}
.play-button:hover { background: rgba(255,255,255,.22); }

.footer {
  padding: 34px 0 42px;
  color: var(--muted);
  font-size: 13px;
}
.footer .foot {
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 20px;
}

.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7, 13, 24, .82);
  color: #fff;
  display:grid;
  place-items:center;
  box-shadow: var(--shadow);
}
.small-note {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .grid.cards { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .grid.cards.tight { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .hero-grid, .split, .detail-hero { grid-template-columns: 1fr; }
  .hero-slider { min-height: 380px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100vw - 20px), var(--max)); }
  .site-header .bar { padding: 12px 0; }
  .nav { gap: 8px; }
  .nav a { padding: 8px 10px; }
  .hero-grid { padding: 18px; }
  .hero-stats { grid-template-columns: 1fr; }
  .controls { grid-template-columns: 1fr; }
  .grid.cards, .grid.cards.tight, .kv-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head { align-items:flex-start; flex-direction:column; }
  .hero-slider { min-height: 340px; }
  .slide { padding: 18px; }
  .slide-title { font-size: 24px; }
  .detail-poster { max-width: 320px; }
}
