:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-soft: #f1f5f9;
  --text: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #ef4444;
  --warm: #f59e0b;
  --violet: #7c3aed;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.rainbow-line {
  height: 4px;
  background: linear-gradient(90deg, #f43f5e, #f59e0b, #22c55e, #06b6d4, #3b82f6, #8b5cf6);
}

.top-nav {
  max-width: var(--max);
  height: 70px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #dc2626, #f97316, #7c3aed);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.26);
}

.logo-text {
  font-size: 20px;
  background: linear-gradient(90deg, #dc2626, #f97316, #22c55e, #06b6d4, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  color: #334155;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--primary);
}

.header-search {
  width: 280px;
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.header-search input,
.mobile-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 9px 12px;
  color: var(--text);
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 800;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: #0f172a;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid var(--line);
}

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

.mobile-link {
  display: block;
  padding: 12px 0;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  background: #f1f5f9;
  border-radius: 18px;
  padding: 6px;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #111827;
  color: #fff;
}

.hero-rainbow {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 18% 20%, rgba(239, 68, 68, 0.58), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(59, 130, 246, 0.56), transparent 35%),
    radial-gradient(circle at 55% 86%, rgba(245, 158, 11, 0.46), transparent 42%),
    linear-gradient(135deg, #7f1d1d, #581c87 46%, #0f172a);
  filter: saturate(1.15);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  filter: blur(10px) saturate(1.15);
  transform: scale(1.05);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.78));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  min-height: 660px;
  margin: 0 auto;
  padding: 84px 24px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.55fr);
  gap: 56px;
  align-items: center;
}

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

.hero-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.07em;
  text-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.88);
}

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

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

.hero-tags span,
.detail-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 7px 12px;
  backdrop-filter: blur(10px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316, #7c3aed);
  box-shadow: 0 18px 34px rgba(239, 68, 68, 0.28);
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.btn.ghost.dark {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  z-index: 2;
}

.hero-poster span,
.card-play,
.player-icon {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

.hero-poster span {
  width: 70px;
  height: 70px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  z-index: 3;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 48px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-controls button {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
  opacity: 0.55;
}

.hero-dot.is-active {
  width: 30px;
  opacity: 1;
  background: #fff;
}

.hero-channel-links {
  position: absolute;
  left: 50%;
  bottom: 108px;
  z-index: 5;
  width: min(var(--max), calc(100% - 48px));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-channel-links a {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.site-search-panel {
  max-width: var(--max);
  margin: -42px auto 0;
  position: relative;
  z-index: 8;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: center;
}

.site-search-panel h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.site-search-panel form,
.filter-bar {
  display: flex;
  gap: 12px;
}

.site-search-panel input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  border-radius: 18px;
  background: #f8fafc;
  padding: 14px 16px;
  color: var(--text);
}

.site-search-panel button {
  border: 0;
  white-space: nowrap;
  border-radius: 18px;
  color: #fff;
  background: var(--primary);
  padding: 0 22px;
  cursor: pointer;
  font-weight: 900;
}

.content-section,
.category-strip,
.filter-section,
.category-overview {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.soft-bg {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: linear-gradient(135deg, #fff7ed, #eef2ff);
}

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

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: var(--primary);
  font-weight: 900;
}

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

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

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

.movie-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 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(-7px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow);
}

.movie-card.is-hidden {
  display: none;
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #312e81);
}

.movie-card.compact .card-cover,
.movie-grid.all-list .card-cover {
  aspect-ratio: 3 / 4;
}

.card-cover img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.movie-card:hover .card-cover img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(15, 23, 42, 0.72));
}

.type-pill,
.rank-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
  background: rgba(37, 99, 235, 0.9);
  backdrop-filter: blur(10px);
}

.type-pill {
  right: 12px;
}

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

.card-play {
  z-index: 3;
  width: 44px;
  height: 44px;
  right: 12px;
  bottom: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
  padding: 18px;
}

.card-title {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.card-title:hover {
  color: var(--primary);
}

.card-desc {
  margin: 10px 0 0;
  color: #475569;
  font-size: 14px;
}

.card-meta {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.tag-list {
  margin-top: 12px;
}

.tag-list span {
  color: #475569;
  background: #f1f5f9;
  padding: 5px 9px;
}

.ranking-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  color: #fff;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 18%, rgba(251, 191, 36, 0.38), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(96, 165, 250, 0.32), transparent 32%),
    linear-gradient(135deg, #111827, #4c1d95);
}

.ranking-copy h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.ranking-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.rank-list {
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.rank-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #111827;
  background: #fff;
  font-weight: 950;
}

.rank-name {
  font-weight: 900;
}

.rank-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.page-hero {
  position: relative;
  padding: 88px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 10%, rgba(251, 191, 36, 0.35), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(59, 130, 246, 0.35), transparent 32%),
    linear-gradient(135deg, #1e1b4b, #7f1d1d);
  overflow: hidden;
}

.page-hero.small {
  text-align: center;
}

.page-hero h1 {
  max-width: var(--max);
  margin: 0 auto;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.category-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.category-visual {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: linear-gradient(135deg, #0f172a, #312e81);
}

.category-visual img {
  border-radius: 18px;
}

.category-body {
  padding: 22px;
}

.category-body h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.category-body p {
  color: var(--muted);
}

.category-tabs {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tabs a {
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #334155;
  padding: 9px 14px;
  font-weight: 900;
}

.category-tabs a.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.filter-section {
  padding-top: 32px;
}

.filter-bar {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.filter-bar select {
  max-width: 180px;
}

.podium {
  max-width: var(--max);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.podium-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.88));
}

.podium-card span,
.podium-card strong,
.podium-card em {
  position: absolute;
  z-index: 2;
  left: 18px;
}

.podium-card span {
  top: 18px;
  color: #111827;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 950;
}

.podium-card strong {
  right: 18px;
  bottom: 48px;
  font-size: 24px;
  line-height: 1.12;
}

.podium-card em {
  bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.detail-main {
  background:
    linear-gradient(180deg, #0f172a 0, #111827 500px, var(--bg) 500px, var(--bg) 100%);
}

.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 0;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fff;
}

.detail-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
  color: #fff;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #020617;
}

.player-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.62));
}

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

.player-icon {
  width: 86px;
  height: 86px;
  left: 50%;
  top: 50%;
  z-index: 6;
  transform: translate(-50%, -50%);
  font-size: 34px;
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.detail-info .lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.detail-content {
  max-width: var(--max);
  margin: -34px auto 0;
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.story-card p {
  margin: 0;
  color: #334155;
}

.meta-card dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.meta-card div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.meta-card dt {
  color: var(--muted);
  font-weight: 800;
}

.meta-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.related-section {
  padding-top: 48px;
}

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

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  max-width: 540px;
  color: #94a3b8;
}

.footer-logo {
  color: #fff;
  font-size: 24px;
}

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

.footer-links a {
  color: #cbd5e1;
  font-weight: 800;
}

.footer-copy {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  color: #64748b;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

@media (max-width: 1050px) {
  .header-search {
    display: none;
  }

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

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

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content,
  .detail-hero,
  .ranking-block,
  .site-search-panel {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 58px;
    gap: 28px;
  }

  .hero-poster {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-channel-links {
    bottom: 112px;
  }

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

  .footer-inner {
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .top-nav {
    padding: 0 16px;
  }

  .logo-text {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .detail-actions,
  .site-search-panel form,
  .filter-bar {
    flex-direction: column;
  }

  .filter-bar select {
    max-width: none;
  }

  .movie-grid,
  .movie-grid.four,
  .movie-grid.all-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 14px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-desc {
    display: none;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-row {
    grid-template-columns: 36px 1fr;
  }

  .rank-meta {
    grid-column: 2;
  }

  .content-section,
  .category-strip,
  .filter-section,
  .category-overview {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-hero,
  .detail-content,
  .breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }
}
