:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --red: #dc2626;
  --red-dark: #991b1b;
  --orange: #f97316;
  --yellow: #fde68a;
  --slate: #111827;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  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;
  color: var(--text);
  background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 48%, #f1f5f9 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.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 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  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;
  color: #0f172a;
  font-size: 24px;
  white-space: nowrap;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.28);
}

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

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  transform: translateY(-1px);
}

.nav-search {
  width: min(320px, 28vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 8px 10px;
  color: var(--text);
  background: transparent;
}

.nav-search button,
.hero-search button,
.filter-clear {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(220, 38, 38, 0.2);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff1f2;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.mobile-panel.is-open {
  display: grid;
  gap: 8px;
}

.mobile-logo {
  color: var(--red);
  font-weight: 900;
  padding: 4px 14px 8px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, #7f1d1d 0%, #9a3412 48%, #7f1d1d 100%);
  padding: 92px 0 78px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px), radial-gradient(circle at 80% 15%, rgba(253, 230, 138, 0.4), transparent 28%), radial-gradient(circle at 30% 90%, rgba(249, 115, 22, 0.45), transparent 32%);
  background-size: 58px 58px, 640px 640px, 760px 760px;
  animation: softPulse 5s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.22;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.eyebrow,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  background: linear-gradient(90deg, #fde68a, #fff, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 690px;
  color: #fee2e2;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.75;
  margin: 0 0 28px;
}

.hero-search {
  max-width: 620px;
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  color: #fff;
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions,
.hero-categories,
.hero-stats,
.detail-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin: 26px 0 18px;
}

.primary-action,
.ghost-action,
.category-enter,
.section-heading a,
.hero-feature-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-action,
.category-enter,
.hero-feature-copy a {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 18px 30px rgba(220, 38, 38, 0.24);
}

.ghost-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.primary-action:hover,
.ghost-action:hover,
.category-enter:hover,
.section-heading a:hover,
.hero-feature-copy a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.26);
}

.hero-categories a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.hero-stats {
  margin-top: 34px;
}

.hero-stats div {
  min-width: 132px;
  padding: 18px 20px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease;
}

.hero-stats div:hover {
  transform: scale(1.04);
}

.hero-stats strong {
  display: block;
  color: #fde047;
  font-size: 34px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: #e2e8f0;
  font-size: 13px;
}

.hero-feature {
  position: relative;
  border-radius: 34px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.hero-slide {
  display: none;
  min-height: 520px;
  overflow: hidden;
  border-radius: 26px;
  background: #0f172a;
}

.hero-slide.is-active {
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-poster {
  min-height: 320px;
  overflow: hidden;
}

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

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

.hero-feature-copy {
  padding: 26px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), #0f172a);
}

.hero-feature-copy span {
  color: #fbbf24;
  font-weight: 900;
}

.hero-feature-copy h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.15;
}

.hero-feature-copy p {
  margin: 0 0 18px;
  color: #cbd5e1;
  line-height: 1.75;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
}

.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.section-shell,
.page-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.section-shell {
  padding: 64px 0;
}

.page-inner {
  padding: 34px 0 72px;
}

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

.section-heading h2,
.section-heading h3 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--red);
  background: #fff;
  border: 1px solid var(--line);
}

.small-heading h3 {
  font-size: 26px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #fee2e2);
}

.featured-grid .movie-cover {
  aspect-ratio: 16 / 9;
}

.movie-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.68));
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.play-chip {
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f59e0b, var(--red));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.movie-body {
  padding: 18px;
}

.movie-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 46px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  transition: color 0.2s ease;
}

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

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

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #b91c1c;
  background: #fee2e2;
  font-size: 12px;
  font-weight: 800;
}

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

.ranking-aside {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(150deg, #0f172a, #7f1d1d);
  box-shadow: var(--shadow);
}

.aside-title {
  margin-bottom: 18px;
  color: #fde68a;
  font-size: 24px;
  font-weight: 900;
}

.ranking-list,
.compact-grid,
.category-mini-list {
  display: grid;
  gap: 14px;
}

.compact-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #0f172a;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-aside .compact-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.compact-card:hover {
  transform: translateX(4px);
}

.compact-card img {
  width: 72px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.compact-title {
  font-weight: 900;
  line-height: 1.35;
}

.compact-card p {
  display: -webkit-box;
  margin: 6px 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #64748b;
  font-size: 13px;
}

.ranking-aside .compact-card p,
.ranking-aside .compact-card span {
  color: #cbd5e1;
}

.compact-card span {
  color: #64748b;
  font-size: 12px;
}

.compact-rank {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #f59e0b, var(--red));
  font-weight: 900;
}

.category-showcase {
  padding-top: 24px;
}

.category-block {
  margin-bottom: 30px;
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

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

.page-hero {
  margin: 20px 0 34px;
  padding: 48px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(110deg, #7f1d1d, #9a3412, #0f172a);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #fee2e2;
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0 22px;
  color: #64748b;
  font-weight: 700;
}

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

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

.category-tile {
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.category-title {
  display: inline-flex;
  color: #0f172a;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.category-tile p {
  margin: 10px 0 18px;
  color: #64748b;
  line-height: 1.75;
}

.category-enter {
  margin-top: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 0.65fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 30px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.filter-field {
  display: grid;
  gap: 8px;
}

.filter-field label {
  color: #334155;
  font-weight: 900;
  font-size: 13px;
}

.filter-field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  padding: 0 12px;
  color: var(--text);
  background: #f8fafc;
}

.filter-field input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

.filter-clear {
  height: 44px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 36px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(120deg, #0f172a, #7f1d1d 58%, #9a3412);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

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

.detail-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.detail-copy p {
  max-width: 820px;
  color: #fee2e2;
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  margin-top: 22px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.detail-tags span {
  color: #7f1d1d;
  background: #fde68a;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.74));
  cursor: pointer;
  transition: opacity 0.22s ease;
}

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

.play-button-circle {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 20px 45px rgba(220, 38, 38, 0.4);
  font-size: 34px;
  padding-left: 4px;
}

.player-overlay span:last-child {
  max-width: min(780px, 86%);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.detail-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding-top: 24px;
}

.content-card {
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

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

.content-card p {
  margin: 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.95;
}

.accent-card {
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.site-footer {
  margin-top: 40px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #0f172a);
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 32px;
  align-items: center;
}

.footer-logo {
  color: #fff;
}

.footer-inner p {
  max-width: 560px;
  color: #cbd5e1;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-copy {
  color: #94a3b8;
  white-space: nowrap;
}

.is-filtered-out {
  display: none !important;
}

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

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

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

  .ranking-aside {
    position: static;
  }
}

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

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

  .hero-section {
    padding: 64px 0 58px;
  }

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

  .hero-search,
  .filter-panel {
    border-radius: 24px;
    grid-template-columns: 1fr;
  }

  .hero-search {
    display: grid;
  }

  .detail-hero,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav,
  .section-shell,
  .page-inner,
  .footer-inner,
  .mobile-panel {
    width: min(100% - 22px, 1240px);
  }

  .movie-grid,
  .featured-grid,
  .listing-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .hero-stats div {
    min-width: 0;
  }

  .page-hero,
  .detail-hero,
  .category-block,
  .category-tile,
  .content-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-slide {
    min-height: 470px;
  }

  .hero-feature-copy h2 {
    font-size: 23px;
  }

  .movie-body {
    padding: 14px;
  }

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

  .detail-copy p {
    font-size: 17px;
  }

  .player-card {
    border-radius: 22px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .featured-grid,
  .listing-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .site-logo {
    font-size: 20px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }
}
