:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(30, 41, 59, 0.86);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(245, 158, 11, 0.34);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --rose: #f43f5e;
  --emerald: #10b981;
  --blue: #38bdf8;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.17), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(244, 63, 94, 0.14), transparent 30rem),
    linear-gradient(135deg, #020617 0%, #0f172a 48%, #020617 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(30, 41, 59, 0.82);
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  font-size: 17px;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.28);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.brand.compact .brand-icon {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 14px;
  color: var(--muted-strong);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(245, 158, 11, 0.16);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.76);
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
}

.mobile-nav {
  display: none;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.94);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted-strong);
  font-weight: 700;
}

.mobile-nav a:hover {
  background: rgba(245, 158, 11, 0.14);
  color: white;
}

.mobile-nav.is-open {
  display: block;
}

.hero-shell {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  min-height: 720px;
  margin: 32px auto 54px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 34px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow);
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.hero-shade,
.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.76) 42%, rgba(2, 6, 23, 0.38) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, transparent 48%, rgba(2, 6, 23, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 540px;
  padding: clamp(36px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-text {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  content: "";
}

.hero-text h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: white;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-text p,
.page-hero p,
.detail-one-line {
  margin: 24px 0 0;
  color: #dbeafe;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags,
.detail-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(245, 158, 11, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn,
.inline-link,
.filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.22);
}

.ghost-btn,
.inline-link,
.filter-clear {
  color: white;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.inline-link:hover,
.filter-clear:hover {
  transform: translateY(-2px);
}

.primary-btn.full {
  width: 100%;
  margin-top: 18px;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(245, 158, 11, 0.88);
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  left: clamp(28px, 6vw, 76px);
  bottom: 150px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 32px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-dot.is-active {
  width: 58px;
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.hero-rail {
  position: absolute;
  left: clamp(22px, 4vw, 48px);
  right: clamp(22px, 4vw, 48px);
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(18px);
}

.hero-rail h2,
.ranking-panel h2,
.section-head h2,
.intro-card h2,
.page-hero h1,
.movie-article h2 {
  margin: 0;
}

.hero-mini-list,
.ranking-list {
  display: grid;
  gap: 10px;
}

.hero-mini-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-movie {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mini-movie:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.mini-movie img {
  width: 54px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.mini-movie span {
  min-width: 0;
}

.mini-movie strong,
.mini-movie em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-movie strong {
  color: white;
  font-size: 14px;
}

.mini-movie em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.mini-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  font-size: 12px;
  font-weight: 900;
}

.section-wrap,
.page-hero,
.detail-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-wrap {
  margin-bottom: 58px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
}

.intro-card,
.ranking-panel,
.filter-panel,
.movie-card,
.category-tile,
.category-overview-card,
.movie-article,
.player-area,
.podium-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
}

.intro-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
}

.intro-card p,
.movie-article p,
.category-overview-card p {
  color: var(--muted-strong);
  line-height: 1.8;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.metric-row span,
.detail-stats span {
  display: grid;
  min-width: 120px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.metric-row strong,
.detail-stats strong {
  color: white;
  font-size: 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head h2,
.intro-card h2,
.ranking-panel h2,
.movie-article h2 {
  color: white;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-head a {
  color: #fcd34d;
  font-weight: 800;
}

.compact-head {
  margin-top: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  border-radius: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.category-tile span,
.category-tile strong,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  color: white;
  font-size: 20px;
  font-weight: 900;
}

.category-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--amber);
}

.category-tile p {
  max-width: 230px;
  color: var(--muted-strong);
  line-height: 1.7;
}

.category-preview {
  position: absolute;
  right: -20px;
  bottom: -24px;
  display: grid;
  grid-template-columns: repeat(4, 48px);
  gap: 8px;
  opacity: 0.45;
  transform: rotate(-8deg);
}

.category-preview img {
  width: 48px;
  height: 66px;
  border-radius: 10px;
  object-fit: cover;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 94px;
  padding: 22px;
  border-radius: 24px;
}

.filter-panel {
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 22px;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  color: white;
  font-weight: 900;
}

.filter-heading strong {
  color: var(--amber);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, 180px)) auto;
  gap: 12px;
  align-items: end;
}

.filter-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: white;
  background: rgba(2, 6, 23, 0.62);
  outline: none;
  padding: 0 13px;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.filter-clear {
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.home-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.055);
}

.score-badge,
.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.score-badge {
  left: 10px;
  top: 10px;
  color: #fff7ed;
  background: rgba(245, 158, 11, 0.86);
}

.year-badge {
  right: 10px;
  top: 10px;
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.movie-card-body {
  padding: 15px;
}

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 10px 0 8px;
  color: white;
  font-size: 18px;
  line-height: 1.32;
}

.movie-card h3 a:hover {
  color: #fcd34d;
}

.movie-card p {
  min-height: 54px;
  margin: 0 0 12px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.55;
}

.tag-row span {
  min-height: 26px;
  padding: 4px 8px;
  font-size: 11px;
}

.page-shell {
  padding-top: 42px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.24), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(244, 63, 94, 0.18), transparent 26rem),
    rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.slim-hero h1,
.category-hero h1,
.ranking-hero h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border-radius: 24px;
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.category-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.category-overview-card h2 {
  margin: 0;
  color: white;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.category-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(245, 158, 11, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  justify-content: end;
  flex-direction: column;
  padding: 22px;
  border-radius: 28px;
}

.podium-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.18));
}

.podium-card span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  font-weight: 900;
}

.podium-card strong {
  margin-top: 14px;
  color: white;
  font-size: 28px;
}

.podium-card em {
  margin-top: 7px;
  color: var(--muted-strong);
  font-style: normal;
}

.detail-page {
  padding-bottom: 20px;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.detail-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.74), rgba(2, 6, 23, 0.92)),
    linear-gradient(0deg, #020617, rgba(2, 6, 23, 0.22));
}

.detail-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: #fcd34d;
  font-weight: 700;
}

.detail-main {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.detail-poster-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.46);
}

.detail-poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  font-size: clamp(42px, 6vw, 78px);
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 8px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
  margin-top: -54px;
  position: relative;
  z-index: 4;
}

.player-area,
.movie-article {
  border-radius: 24px;
}

.player-area {
  overflow: hidden;
  padding: 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.56), rgba(2, 6, 23, 0.24));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-circle {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.36);
  transition: transform 0.2s ease;
}

.play-overlay:hover .play-circle {
  transform: scale(1.08);
}

.play-circle span {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid white;
}

.player-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px 6px 2px;
}

.player-title-row h2 {
  margin: 0;
  color: white;
  font-size: 22px;
}

.player-title-row span {
  color: var(--muted);
  font-size: 14px;
}

.movie-article {
  padding: 24px;
}

.movie-article h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
}

.movie-article h2:not(:first-child) {
  margin-top: 24px;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: white;
}

.info-list a {
  color: #fcd34d;
  font-weight: 800;
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid rgba(30, 41, 59, 0.82);
  background: rgba(2, 6, 23, 0.92);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-brand p,
.footer-column p,
.footer-bottom {
  color: var(--muted);
  line-height: 1.8;
}

.footer-column {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: white;
}

.footer-column a {
  color: var(--muted-strong);
}

.footer-column a:hover {
  color: #fcd34d;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
  font-size: 14px;
}

.is-filter-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .movie-grid,
  .home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-shell {
    min-height: 840px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-bottom: 260px;
  }

  .hero-poster {
    max-width: 280px;
    transform: none;
  }

  .hero-controls {
    bottom: 226px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .hero-mini-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .category-overview-grid,
  .podium-grid,
  .footer-inner,
  .detail-main {
    grid-template-columns: 1fr;
  }

  .detail-poster-wrap {
    max-width: 300px;
  }

  .filter-controls {
    grid-template-columns: 1fr 1fr;
  }

  .filter-controls .search-box {
    grid-column: 1 / -1;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movie-grid,
  .home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-shell {
    min-height: 790px;
    margin-top: 18px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 28px;
    padding-bottom: 286px;
  }

  .hero-text h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
    letter-spacing: -0.04em;
  }

  .hero-controls {
    left: 28px;
    bottom: 250px;
  }

  .hero-rail {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }

  .hero-mini-list {
    grid-template-columns: 1fr;
    max-height: 218px;
    overflow: auto;
  }

  .category-grid,
  .movie-grid,
  .home-grid,
  .catalog-grid,
  .ranking-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .movie-card-body {
    padding: 12px;
  }

  .movie-card h3 {
    font-size: 15px;
  }

  .movie-card p {
    min-height: 0;
    font-size: 12px;
  }

  .filter-controls {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .player-title-row,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-inner {
    padding-top: 30px;
    padding-bottom: 80px;
  }

  .detail-content {
    margin-top: -36px;
  }

  .play-circle {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 420px) {
  .category-grid,
  .movie-grid,
  .home-grid,
  .catalog-grid,
  .ranking-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
