:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #e2e8f0;
  --brand: #06b6d4;
  --brand-deep: #2563eb;
  --dark: #020617;
  --dark-2: #0f172a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%);
  color: var(--ink);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(18px);
}

.nav-bar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.35);
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.05;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #dbeafe;
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #67e8f9;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-search {
  position: relative;
  width: min(275px, 24vw);
  flex-shrink: 0;
}

.nav-search input,
.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.32);
  outline: none;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  padding: 11px 44px 11px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input::placeholder,
.filter-input::placeholder {
  color: #94a3b8;
}

.nav-search input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

.nav-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  color: #94a3b8;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(30, 41, 59, 0.75);
  padding: 8px 11px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 12px 0 18px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  color: #dbeafe;
}

.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #020617 0%, #172554 52%, #020617 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg), rgba(248, 250, 252, 0));
  pointer-events: none;
  z-index: 6;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.74) 42%, rgba(15, 23, 42, 0.28) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-slide::after,
.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.20), transparent 35%), radial-gradient(circle at 80% 35%, rgba(37, 99, 235, 0.24), transparent 36%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 115px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 44px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  background: rgba(8, 145, 178, 0.18);
  border: 1px solid rgba(103, 232, 249, 0.24);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 22px 0 18px;
  max-width: 800px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #67e8f9, #60a5fa, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 720px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(15, 23, 42, 0.62);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 13px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.28);
}

.btn-ghost {
  color: #e0f2fe;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.48);
}

.btn-light {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 30px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.48);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-slide.active .hero-poster img {
  transform: scale(1.05);
}

.hero-card-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(15, 23, 42, 0.54));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-title strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.hero-card-title small {
  color: #cbd5e1;
}

.hero-dots {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  padding: 0;
  border-radius: 99px;
  background: rgba(203, 213, 225, 0.35);
  cursor: pointer;
}

.hero-dot.active {
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
}

.section {
  padding: 66px 0;
}

.section-tight {
  padding: 42px 0;
}

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

.section-title {
  margin: 12px 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.section-desc {
  color: var(--muted);
  max-width: 740px;
  margin: 0;
}

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f172a, #1e40af 48%, #0891b2);
}

.poster-wrap.tall {
  aspect-ratio: 2 / 3;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.2s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.08);
}

.image-missing {
  opacity: 0;
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.02) 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.play-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translateY(0);
}

.badge,
.score,
.rank-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  padding: 7px 9px;
}

.badge {
  left: 12px;
  top: 12px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.score {
  right: 12px;
  top: 12px;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.rank-badge {
  left: 12px;
  top: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.movie-info {
  padding: 15px 15px 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.movie-title {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.28;
}

.movie-line {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  color: #64748b;
  font-size: 12px;
}

.movie-meta span {
  border-radius: 999px;
  background: #f1f5f9;
  padding: 4px 8px;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  min-height: 170px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 62%, #0891b2);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.17);
}

.category-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  right: -60px;
  top: -50px;
  background: rgba(255, 255, 255, 0.13);
}

.category-card strong {
  position: relative;
  display: block;
  z-index: 2;
  font-size: 24px;
  margin-bottom: 10px;
}

.category-card p {
  position: relative;
  z-index: 2;
  color: #dbeafe;
  margin: 0 0 18px;
}

.category-card span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #020617, #172554 58%, #0f172a);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 68px 0;
}

.page-hero h1,
.detail-hero h1 {
  margin: 16px 0 12px;
  max-width: 900px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.page-hero p,
.detail-hero p {
  max-width: 780px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #67e8f9;
}

.filter-panel {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.filter-input,
.filter-select {
  color: #0f172a;
  background: #f8fafc;
  padding-right: 15px;
}

.empty-state {
  display: none;
  padding: 36px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.empty-state.show {
  display: block;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rank-row img {
  width: 86px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.rank-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.rank-row small {
  color: var(--muted);
}

.rank-num {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(15, 23, 42, 0.76) 44%, rgba(15, 23, 42, 0.45) 100%), var(--detail-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.detail-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
  gap: 36px;
  padding: 58px 0 64px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  aspect-ratio: 2 / 3;
}

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

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.player-section {
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.player-card {
  border-radius: 30px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(15, 23, 42, 0.16);
}

.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #172554 0%, #020617 68%);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(15, 23, 42, 0.24));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-button {
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.35);
  cursor: pointer;
  font-size: 34px;
}

.player-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: #cbd5e1;
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.player-titlebar strong {
  color: #ffffff;
}

.player-message {
  color: #93c5fd;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.article-panel,
.side-panel {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  padding: 26px;
}

.article-panel h2,
.side-panel h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
}

.article-panel p {
  margin: 0 0 18px;
  color: #334155;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-list a,
.tag-list span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  background: #ecfeff;
  color: #0e7490;
  font-size: 13px;
  font-weight: 800;
}

.side-list {
  display: grid;
  gap: 12px;
}

.side-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-item:hover {
  background: #ecfeff;
  transform: translateX(3px);
}

.side-item img {
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.side-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.side-item small {
  color: var(--muted);
}

.site-footer {
  margin-top: 54px;
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-inner {
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: center;
}

.footer-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-desc {
  margin: 0;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: #dbeafe;
}

.footer-copy {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 16px 0;
  color: #94a3b8;
  font-size: 13px;
}

.pagination-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

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

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

@media (max-width: 900px) {
  .nav-links,
  .nav-search {
    display: none;
  }

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

  .hero-inner,
  .detail-wrap,
  .content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 46px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

  .ranking-list {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

  .hero h1,
  .page-hero h1,
  .detail-hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-actions,
  .inline-actions,
  .section-head,
  .player-titlebar {
    flex-direction: column;
    align-items: flex-start;
  }

  .movie-grid,
  .movie-grid.compact,
  .category-strip {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .rank-row .rank-num {
    grid-column: 1 / -1;
  }

  .section {
    padding: 46px 0;
  }

  .detail-wrap {
    padding-top: 38px;
  }
}
