:root {
  color-scheme: dark;
  --bg-deep: #020617;
  --bg-main: #0f172a;
  --bg-soft: #111827;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft-text: #cbd5e1;
  --accent: #f97316;
  --accent-strong: #ef4444;
  --green: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 4%, rgba(249, 115, 22, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(239, 68, 68, 0.18), transparent 28%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
  z-index: -1;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.header-inner {
  width: var(--container);
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-logo span:last-child,
.footer-logo {
  background: linear-gradient(90deg, #fb923c, #ef4444);
  -webkit-background-clip: text;
  color: transparent;
}

.logo-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.28);
}

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

.desktop-nav > a,
.nav-categories > button,
.mobile-nav a {
  color: var(--soft-text);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav > a:hover,
.nav-categories > button:hover,
.mobile-nav a:hover {
  color: #fb923c;
}

.nav-categories {
  position: relative;
}

.nav-categories > button {
  border: 0;
  background: transparent;
  padding: 12px 0;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  display: grid;
  min-width: 180px;
  padding: 10px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.nav-dropdown a {
  padding: 10px 12px;
  color: var(--soft-text);
  border-radius: 10px;
}

.nav-dropdown a:hover {
  background: rgba(249, 115, 22, 0.12);
  color: #fed7aa;
}

.nav-categories:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-search {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 280px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
}

.top-search input,
.large-search input,
.filter-search input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
}

.top-search input {
  padding: 11px 16px;
}

.top-search button,
.large-search button,
.filter-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-weight: 700;
}

.top-search button {
  padding: 0 16px;
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 28px;
}

.mobile-nav {
  display: none;
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav a {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

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

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

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

.hero-gradient,
.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.82) 40%, rgba(15, 23, 42, 0.24) 100%),
    linear-gradient(0deg, #020617 0%, transparent 48%, rgba(2, 6, 23, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 360px;
  align-items: center;
  gap: 56px;
  padding-top: 18px;
}

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

.hero-pill,
.section-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.36);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p,
.sub-hero p,
.detail-one-line {
  max-width: 720px;
  margin: 0;
  color: var(--soft-text);
  font-size: 18px;
  line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span {
  padding: 7px 10px;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  font-size: 13px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.32);
}

.button-ghost {
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.38);
  background: rgba(15, 23, 42, 0.72);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px;
  color: #fff;
  text-align: center;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.52);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
}

.hero-prev {
  left: 26px;
}

.hero-next {
  right: 26px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.content-section,
.sub-hero,
.detail-hero-inner {
  width: var(--container);
  margin: 0 auto;
}

.content-section {
  padding: 46px 0;
}

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

.section-heading h2,
.glass-panel h2 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  flex: 0 0 auto;
  color: #fb923c;
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.24);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.42);
  background: rgba(30, 41, 59, 0.88);
}

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.3), transparent 30%),
    linear-gradient(135deg, #1e293b, #020617);
}

.poster-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.poster-frame:hover img {
  transform: scale(1.06);
}

.poster-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
}

.play-mark {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: 0.22s ease;
}

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

.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 5;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: #fff;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: 10px;
  right: auto;
  bottom: auto;
  top: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

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

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

.movie-card-meta a {
  color: #fb923c;
}

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

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  gap: 7px;
}

.tag-row span {
  padding: 5px 8px;
  font-size: 12px;
}

.metric-row {
  justify-content: space-between;
  margin-top: 14px;
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
}

.rail-scroll {
  display: grid;
  grid-auto-columns: minmax(210px, 260px);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.rail-scroll .movie-card {
  scroll-snap-align: start;
}

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

.category-tile,
.category-overview-card,
.glass-panel,
.filter-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.category-tile {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
}

.category-tile::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -40px;
  bottom: -40px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.32), transparent 68%);
}

.category-tile span,
.category-card-main h2 {
  position: relative;
  z-index: 2;
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.category-tile strong,
.category-count {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin: 12px 0;
  padding: 7px 10px;
  color: #fed7aa;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
}

.category-tile em,
.category-card-main p {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.sub-hero {
  padding: 64px 0 28px;
}

.sub-hero h1 {
  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a {
  color: #fb923c;
}

.category-overview-card {
  position: relative;
  overflow: hidden;
}

.category-card-main {
  display: block;
  padding: 24px;
}

.category-overview-card ul {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 24px 24px;
  list-style: none;
}

.category-overview-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--soft-text);
}

.category-overview-card li span {
  color: var(--muted);
}

.filter-panel {
  padding: 18px;
}

.filter-search,
.large-search {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.42);
}

.filter-search input,
.large-search input {
  padding: 15px 18px;
}

.filter-search button,
.large-search button {
  padding: 0 24px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-buttons button {
  padding: 9px 12px;
  color: var(--soft-text);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
}

.filter-buttons button.is-active {
  color: #fff;
  border-color: rgba(249, 115, 22, 0.54);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.88), rgba(239, 68, 68, 0.88));
}

.filter-buttons.muted button {
  font-size: 13px;
}

.home-search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.search-page-form {
  max-width: 760px;
  margin-top: 28px;
}

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

.rank-list.full {
  gap: 14px;
}

.rank-row {
  display: grid;
  grid-template-columns: 58px 64px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.68);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(249, 115, 22, 0.42);
  background: rgba(30, 41, 59, 0.82);
}

.rank-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-weight: 900;
}

.rank-cover {
  position: relative;
  overflow: hidden;
  width: 54px;
  height: 72px;
  border-radius: 12px;
  background: #1e293b;
}

.rank-cover img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-cover span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
}

.rank-info {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.rank-info strong {
  overflow: hidden;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em,
.rank-heat {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.rank-heat {
  color: #fbbf24;
  font-weight: 800;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
}

.detail-cover {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  max-width: 880px;
}

.detail-tags {
  margin: 24px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #fff;
  border: 0;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.24), rgba(2, 6, 23, 0.58));
  text-align: center;
}

.player-start span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 22px 48px rgba(249, 115, 22, 0.34);
  font-size: 26px;
}

.player-start strong {
  display: block;
  font-size: 20px;
}

.player-shell.is-playing .player-start {
  display: none;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 5;
  padding: 8px 12px;
  color: #e2e8f0;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

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

.detail-article p {
  color: var(--soft-text);
  line-height: 1.9;
  font-size: 16px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 16px;
  margin: 18px 0 0;
}

.detail-side dt {
  color: var(--muted);
}

.detail-side dd {
  margin: 0;
  color: var(--soft-text);
}

.detail-side a {
  color: #fb923c;
}

.prev-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 0;
}

.prev-next-links a {
  flex: 1 1 280px;
  padding: 16px 18px;
  color: var(--soft-text);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.68);
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: 36px;
  padding: 34px 0;
}

.footer-inner p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

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

.footer-links a {
  padding: 9px 12px;
  color: var(--soft-text);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
}

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

@media (max-width: 1040px) {
  .desktop-nav,
  .top-search {
    display: none;
  }

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

  .site-header.is-open .mobile-nav {
    display: grid;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster {
    display: none;
  }

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

  .home-search-panel,
  .detail-main-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 22px, 1180px);
  }

  .header-inner {
    min-height: 66px;
  }

  .site-logo span:last-child {
    font-size: 16px;
  }

  .hero-carousel {
    height: 82vh;
    min-height: 600px;
  }

  .hero-copy h1,
  .sub-hero h1,
  .detail-copy h1 {
    font-size: clamp(34px, 14vw, 52px);
  }

  .hero-copy p,
  .sub-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .content-section {
    padding: 32px 0;
  }

  .section-heading {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 14px;
  }

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

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

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

  .movie-card p,
  .metric-row,
  .movie-card-meta,
  .tag-row {
    display: none;
  }

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

  .rank-heat {
    display: none;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .detail-cover {
    width: 220px;
  }

  .filter-search,
  .large-search {
    border-radius: 18px;
  }

  .filter-search button,
  .large-search button {
    padding: 0 16px;
  }

  .detail-side dl {
    grid-template-columns: 68px 1fr;
  }
}
