:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 20px;
  color: #0f172a;
}

.brand-text em {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
  background: #eff6ff;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #0f172a;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.7s ease, transform 0.9s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 40%, rgba(59, 130, 246, 0.35), transparent 36%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 42%, rgba(15, 23, 42, 0.26) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.85), transparent 55%);
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: max(24px, calc((100% - 1240px) / 2));
  width: min(660px, calc(100% - 48px));
  transform: translateY(-50%);
  color: white;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.36);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin-top: 14px;
  color: #dbeafe;
  font-size: clamp(28px, 3.4vw, 46px);
}

.hero-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 20px);
}

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tag-row span {
  color: #475569;
  background: #f1f5f9;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.btn.primary:hover {
  background: var(--brand-dark);
}

.btn.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.btn.wide {
  width: 100%;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: min(1240px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  transform: translateX(-50%);
}

.hero-thumb {
  position: relative;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.38);
  color: white;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

.hero-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-thumb span {
  position: absolute;
  inset: auto 10px 10px;
  z-index: 2;
  display: -webkit-box;
  overflow: hidden;
  color: white;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-thumb.active,
.hero-thumb:hover {
  border-color: rgba(147, 197, 253, 0.75);
}

.hero-thumb.active img,
.hero-thumb:hover img {
  opacity: 0.7;
  transform: scale(1.05);
}

.feature-strip,
.section-wrap,
.footer-grid,
.footer-bottom,
.breadcrumb,
.detail-hero {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -54px;
  position: relative;
  z-index: 4;
}

.feature-item {
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.feature-item strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
}

.feature-item span {
  color: var(--muted);
  font-weight: 600;
}

.section-wrap {
  padding: 72px 0;
}

.slate-section {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1240px) / 2));
  background: #f1f5f9;
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading.left-heading {
  text-align: left;
}

.section-heading.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.section-heading span {
  display: inline-block;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.left-heading p,
.split-heading p {
  margin-left: 0;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
}

.text-link:hover {
  color: var(--brand-dark);
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: #0f172a;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-card img,
.category-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card img {
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.category-card:hover img {
  opacity: 0.74;
  transform: scale(1.06);
}

.category-card-shade {
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.18));
}

.category-card strong,
.category-card em {
  position: relative;
  z-index: 2;
  display: block;
  color: white;
}

.category-card strong {
  margin-top: 94px;
  font-size: 24px;
}

.category-card em {
  margin-top: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-style: normal;
}

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

.catalog-grid {
  align-items: stretch;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img,
.rank-poster img,
.category-overview-media img,
.detail-poster img,
.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-link img {
  transition: transform 0.3s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.58), transparent 55%);
  opacity: 0.6;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: rgba(37, 99, 235, 0.88);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.poster-year,
.poster-type {
  position: absolute;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.poster-year {
  left: 12px;
  background: rgba(15, 23, 42, 0.72);
}

.poster-type {
  right: 12px;
  background: rgba(37, 99, 235, 0.86);
}

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

.movie-title {
  display: -webkit-box;
  min-height: 30px;
  overflow: hidden;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.movie-title:hover {
  color: var(--brand);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 50px;
  margin: 8px 0 14px;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.compact-card .poster-link {
  aspect-ratio: 16 / 9;
}

.compact-card .movie-card-body {
  padding: 14px;
}

.compact-card .movie-card-body p {
  min-height: 44px;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.ranking-panel,
.fresh-panel,
.filter-panel,
.detail-article,
.detail-side,
.category-overview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ranking-panel,
.fresh-panel {
  padding: 26px;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: white;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-soft);
}

.rank-index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  font-weight: 900;
}

.rank-poster {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
}

.rank-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  font-weight: 900;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rank-title:hover {
  color: var(--brand);
}

.rank-body p {
  display: -webkit-box;
  margin: 6px 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.full-ranking .rank-card {
  grid-template-columns: auto 170px minmax(0, 1fr);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  padding: 56px;
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.38), transparent 28%),
    linear-gradient(135deg, #0f172a, #1e293b 56%, #1d4ed8);
  box-shadow: var(--shadow);
}

.small-hero {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero p,
.detail-one-line {
  max-width: 760px;
  color: #dbeafe;
  font-size: 18px;
}

.category-hero {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 30px;
  align-items: center;
}

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

.hero-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 20px;
  background: #0f172a;
}

.hero-tile span {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 2;
  display: -webkit-box;
  overflow: hidden;
  color: white;
  font-weight: 900;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), transparent 60%);
}

.filter-panel {
  margin-bottom: 28px;
  padding: 24px;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
}

.filter-grid label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: white;
  color: #0f172a;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-grid input:focus,
.filter-grid select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

.empty-message {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

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

.category-overview-media {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #0f172a;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-overview-card h2 a:hover,
.category-overview-card li a:hover {
  color: var(--brand);
}

.category-overview-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.category-overview-card ul {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  aspect-ratio: 3 / 4;
  background: #0f172a;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.28);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.detail-meta-grid div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
}

.detail-meta-grid dt {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
}

.detail-meta-grid dd {
  margin: 5px 0 0;
  color: white;
  font-weight: 900;
}

.player-section {
  padding-bottom: 20px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #020617;
  object-fit: contain;
  cursor: pointer;
}

.play-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.46));
  cursor: pointer;
}

.play-trigger span {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: rgba(37, 99, 235, 0.9);
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.36);
  font-size: 34px;
  transform: translateX(4px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.play-trigger:hover span {
  background: #1d4ed8;
  transform: translateX(4px) scale(1.08);
}

.player-card.is-playing .play-trigger {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding-top: 30px;
}

.detail-article,
.detail-side {
  padding: 30px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.detail-article p {
  margin: 0 0 24px;
  color: #334155;
  font-size: 17px;
}

.detail-side ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-side li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.detail-side strong {
  color: #64748b;
}

.detail-side span,
.detail-side a {
  text-align: right;
  font-weight: 900;
}

.detail-side a:hover {
  color: var(--brand);
}

.next-prev {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.next-prev a {
  display: block;
  padding: 12px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
}

.next-prev a:hover {
  color: var(--brand);
  background: #eff6ff;
}

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

.site-footer {
  margin-top: 20px;
  background: #0f172a;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 34px;
}

.footer-brand {
  color: white;
  font-size: 22px;
}

.site-footer p {
  margin: 14px 0 0;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 16px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 30px;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
  font-size: 14px;
}

[hidden],
.is-hidden {
  display: none !important;
}

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

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

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

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

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    top: 42%;
  }

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

  .feature-strip,
  .two-column-section,
  .category-hero,
  .detail-hero,
  .detail-layout,
  .footer-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 360px;
  }

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

  .category-overview-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .feature-strip,
  .section-wrap,
  .footer-grid,
  .footer-bottom,
  .breadcrumb,
  .detail-hero,
  .small-hero,
  .category-hero {
    width: min(100% - 24px, 1240px);
  }

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

  .brand-text em {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    left: 16px;
    width: calc(100% - 32px);
  }

  .hero-controls {
    bottom: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-thumb {
    min-height: 76px;
  }

  .feature-strip,
  .movie-grid,
  .mini-grid,
  .category-grid,
  .related-grid,
  .detail-meta-grid,
  .filter-grid,
  .hero-tile-grid {
    grid-template-columns: 1fr;
  }

  .section-wrap {
    padding: 48px 0;
  }

  .slate-section {
    padding-inline: 12px;
  }

  .section-heading.split-heading,
  .footer-bottom {
    display: block;
  }

  .page-hero,
  .detail-hero {
    padding: 30px 20px;
    border-radius: 24px;
  }

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

  .category-overview-media {
    aspect-ratio: 16 / 9;
  }

  .full-ranking .rank-card,
  .rank-card {
    grid-template-columns: auto 96px minmax(0, 1fr);
  }

  .rank-body p {
    -webkit-line-clamp: 1;
  }

  .play-trigger span {
    width: 72px;
    height: 72px;
    font-size: 26px;
  }
}
