:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --blue: #2563eb;
  --slate: #0f172a;
  --amber: #f59e0b;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(15, 23, 42, .12);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, .08);
}

* {
  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: var(--bg);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.brand-icon,
.footer-brand span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 22px rgba(13, 148, 136, .28);
}

.brand-text {
  font-size: 1.35rem;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: #334155;
  font-weight: 700;
  transition: color .2s ease;
}

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

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.top-search input {
  width: 190px;
  padding: 10px 14px;
}

.top-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .14);
}

.top-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--teal);
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 16px 18px;
  background: #ffffff;
}

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

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-search input {
  min-width: 0;
  padding: 10px 14px;
}

.mobile-nav {
  display: grid;
  gap: 10px;
}

.mobile-link {
  padding: 9px 0;
  font-weight: 700;
  color: #334155;
}

.hero-carousel {
  position: relative;
  height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: var(--slate);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18) 0, transparent 28%), radial-gradient(circle at 72% 42%, rgba(20, 184, 166, .18) 0, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ccfbf1;
  background: rgba(15, 118, 110, .42);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.hero-copy p,
.page-hero p {
  max-width: 740px;
  margin: 0 0 26px;
  color: #dbeafe;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

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

.hero-tags span,
.tag-row span,
.pill-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, .16);
  color: #ffffff;
  font-size: .86rem;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.primary-btn {
  color: var(--teal-dark);
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, .2);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, .88);
}

.ghost-btn:hover {
  color: var(--teal-dark);
  background: #ffffff;
}

.ghost-btn.dark {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.ghost-btn.dark:hover {
  color: #ffffff;
  background: var(--teal);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .34);
  transform: rotate(2deg);
}

.hero-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, .72);
  font-weight: 800;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 2rem;
  transform: translateY(-50%);
}

.hero-control.prev {
  left: 22px;
}

.hero-control.next {
  right: 22px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
}

.hero-dot.active {
  width: 34px;
  background: #ffffff;
}

.quick-stats {
  width: min(1180px, calc(100% - 32px));
  margin: -48px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-stats a {
  display: grid;
  gap: 5px;
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}

.quick-stats a:hover,
.movie-card:hover,
.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
}

.quick-stats strong {
  font-size: 1.45rem;
}

.quick-stats span {
  color: var(--muted);
}

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

.alt-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: var(--surface-soft);
}

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

.section-head.slim {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
}

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

.section-head a {
  color: var(--teal-dark);
  font-weight: 900;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

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

.movie-link {
  display: block;
  height: 100%;
}

.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #0f172a, #134e4a);
}

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .02), rgba(15, 23, 42, .74));
  opacity: .74;
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--teal);
  font-size: .76rem;
  font-weight: 900;
}

.rank-badge {
  background: var(--amber);
}

.rank-badge + .type-badge {
  top: 44px;
}

.play-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
  transform: translate(-50%, -50%) scale(.82);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}

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

.movie-info {
  padding: 17px 16px 18px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 8px;
  overflow: hidden;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .2s ease;
}

.movie-card:hover h3 {
  color: var(--teal-dark);
}

.movie-info p {
  display: -webkit-box;
  min-height: 3.3em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: .92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #475569;
  font-size: .86rem;
  font-weight: 800;
}

.tag-row span {
  color: var(--teal-dark);
  background: #ccfbf1;
}

.large-tags span {
  font-size: .92rem;
}

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

.category-card,
.category-overview-card {
  overflow: hidden;
  display: grid;
  border-radius: 26px;
  min-height: 240px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}

.category-card {
  position: relative;
  color: #ffffff;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .88));
}

.category-card div {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 24px;
}

.category-card h3,
.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
}

.category-overview-card {
  min-height: auto;
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.category-overview-body {
  padding: 22px;
}

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

.category-overview-card span {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal-dark);
  font-weight: 900;
}

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

.ranking-box {
  position: sticky;
  top: 96px;
  border-radius: 26px;
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 30px 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background .2s ease;
}

.rank-item:hover {
  background: #ccfbf1;
}

.rank-item span {
  color: var(--teal-dark);
  font-weight: 900;
}

.rank-item img {
  width: 54px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-item strong {
  display: block;
  line-height: 1.25;
}

.rank-item em {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  font-style: normal;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #1d4ed8 54%, #312e81);
}

.page-hero > div {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.small-hero,
.category-hero,
.ranking-hero,
.search-hero {
  min-height: 360px;
}

.filter-panel {
  width: min(1180px, calc(100% - 32px));
  margin: -36px auto 0;
  position: relative;
  z-index: 3;
  border-radius: 24px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.filter-grid label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: .88rem;
  font-weight: 900;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  padding: 11px 14px;
}

.rank-table {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.table-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 120px 130px 220px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.table-row:hover {
  background: #f0fdfa;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-rank {
  color: var(--teal-dark);
  font-weight: 900;
}

.table-title {
  font-weight: 900;
}

.prose-section {
  max-width: 860px;
  font-size: 1.05rem;
}

.prose-section h2 {
  font-size: 2rem;
}

.pill-links {
  margin-top: 24px;
}

.pill-link {
  background: rgba(255, 255, 255, .16);
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.breadcrumb a {
  color: var(--teal-dark);
  font-weight: 800;
}

.detail-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  border-radius: 34px;
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #0f766e 58%, #1d4ed8);
  box-shadow: var(--shadow);
}

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

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.detail-line {
  max-width: 780px;
  color: #dbeafe;
  font-size: 1.12rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.detail-meta div {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .1);
}

.detail-meta dt {
  color: #bae6fd;
  font-size: .8rem;
  font-weight: 900;
}

.detail-meta dd {
  margin: 3px 0 0;
  font-weight: 900;
}

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

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

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(15, 23, 42, .12), rgba(15, 23, 42, .52));
  cursor: pointer;
}

.play-overlay span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
  font-size: 2rem;
  transition: transform .2s ease;
}

.play-overlay:hover span {
  transform: scale(1.08);
}

.player-shell.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-shell.is-loading .play-overlay span {
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from {
    transform: scale(.96);
  }
  to {
    transform: scale(1.08);
  }
}

.detail-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.detail-main-text,
.detail-side {
  border-radius: 26px;
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-main-text h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.detail-main-text p {
  margin: 0 0 24px;
  color: #334155;
  font-size: 1.05rem;
}

.detail-main-text p:last-child {
  margin-bottom: 0;
}

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

.side-links a {
  display: block;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--teal-dark);
  background: #f0fdfa;
  font-weight: 800;
}

.side-links a:hover {
  background: #ccfbf1;
}

.no-results {
  grid-column: 1 / -1;
  border-radius: 22px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  margin-top: 40px;
  color: #e2e8f0;
  background: linear-gradient(135deg, #1e293b, #0f172a 58%, #134e4a);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
}

.footer-grid h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1.08rem;
}

.footer-grid p {
  margin: 12px 0 0;
  color: #cbd5e1;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
  transition: color .2s ease;
}

.footer-grid a:hover {
  color: #5eead4;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 16px;
  color: #94a3b8;
  text-align: center;
}

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

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

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

  .hero-card {
    display: none;
  }

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

  .ranking-box {
    position: static;
  }

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

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

  .table-row {
    grid-template-columns: 54px minmax(0, 1fr) 90px;
  }

  .table-row span:nth-child(4),
  .table-row span:nth-child(5) {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .brand-text {
    font-size: 1.08rem;
  }

  .hero-carousel {
    height: 620px;
  }

  .hero-content {
    align-items: end;
    padding-bottom: 92px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 2.45rem;
  }

  .hero-control {
    display: none;
  }

  .quick-stats {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .content-section,
  .alt-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-head {
    display: grid;
  }

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

  .movie-info {
    padding: 14px;
  }

  .movie-info h3 {
    font-size: .98rem;
  }

  .movie-info p {
    font-size: .86rem;
  }

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

  .detail-hero {
    padding: 20px;
    gap: 22px;
  }

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

  .detail-poster {
    max-width: 260px;
    margin: 0 auto;
  }

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

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