:root {
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --red: #dc2626;
  --amber: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: #fed7aa;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #fff7ed 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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: 80;
  color: #ffffff;
  background: linear-gradient(90deg, #d97706 0%, #ea580c 48%, #dc2626 100%);
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.28);
}

.nav-shell {
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.desktop-nav a,
.mobile-nav a {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #ffedd5;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 10px 22px 18px;
  background: rgba(154, 52, 18, 0.96);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #111827;
}

.hero-rail {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: center;
  padding: 90px max(34px, calc((100vw - 1180px) / 2)) 80px;
  color: #ffffff;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(234, 88, 12, 0.55), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.78) 46%, rgba(17, 24, 39, 0.2) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 0.8s ease;
  pointer-events: none;
}

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

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffedd5;
  background: rgba(234, 88, 12, 0.24);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #fed7aa;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.26);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.hero-poster {
  display: block;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
}

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

.hero-side-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 76px;
  width: 330px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.64);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-side-panel strong {
  grid-column: 1 / -1;
  color: #ffffff;
  font-size: 14px;
}

.hero-side-panel a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #000000;
}

.hero-side-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-side-panel span {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-side-panel a:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.46);
  font-size: 42px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-2px);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dots button.is-active {
  width: 34px;
  background: var(--orange);
}

.section-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 22px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-heading.with-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading.with-link a {
  color: var(--orange);
  font-weight: 900;
}

.search-home {
  padding-bottom: 24px;
}

.filter-panel {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  border: 1px solid rgba(254, 215, 170, 0.9);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  outline: 0;
  background: #ffffff;
  color: var(--ink);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.search-form button,
.filter-chips button {
  border: 0;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 900;
}

.search-form button {
  min-width: 104px;
}

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

.filter-chips button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--orange-dark);
  background: #ffedd5;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-chips button:hover,
.filter-chips button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  transform: translateY(-1px);
}

.empty-state {
  display: none;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.empty-state.is-visible {
  display: block;
}

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

.category-tile,
.category-overview-card {
  display: block;
  min-height: 156px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  border: 1px solid rgba(254, 215, 170, 0.86);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(234, 88, 12, 0.18);
}

.category-tile span,
.category-overview-card h2 {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.category-tile em,
.category-overview-card p {
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.wide-band {
  background: linear-gradient(90deg, #ffedd5, #fee2e2);
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.11);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 62px rgba(234, 88, 12, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-float {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.92);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.region-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 9px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.card-body {
  padding: 17px;
}

.card-title {
  display: block;
  min-height: 48px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.35;
  transition: color 0.2s ease;
}

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

.card-body p {
  min-height: 46px;
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
}

.movie-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
}

.strip-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.strip-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.strip-card span,
.strip-card em {
  display: block;
  padding: 0 16px;
}

.strip-card span {
  padding-top: 14px;
  color: var(--ink);
  font-weight: 950;
}

.strip-card em {
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: #fff7ed;
}

.rank-num {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 950;
}

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

.rank-main strong,
.rank-main em {
  display: block;
}

.rank-main strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.rank-main em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-meta {
  color: #92400e;
  font-weight: 900;
  white-space: nowrap;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 20%, rgba(245, 158, 11, 0.5), transparent 28%),
    linear-gradient(135deg, #111827 0%, #9a3412 52%, #dc2626 100%);
}

.page-hero > div {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 950;
  letter-spacing: -0.05em;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 20px;
  min-height: 230px;
}

.category-overview-card span {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 950;
}

.category-cover-stack {
  position: relative;
  min-height: 180px;
}

.category-cover-stack img {
  position: absolute;
  width: 115px;
  height: 154px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
}

.category-cover-stack img:nth-child(1) {
  left: 0;
  top: 20px;
  z-index: 3;
}

.category-cover-stack img:nth-child(2) {
  left: 42px;
  top: 0;
  z-index: 2;
}

.category-cover-stack img:nth-child(3) {
  left: 82px;
  top: 32px;
  z-index: 1;
}

.detail-hero {
  position: relative;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.46)),
    var(--detail-image);
  background-size: cover;
  background-position: center;
}

.detail-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 22px 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
  color: #fed7aa;
  font-weight: 800;
}

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

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

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

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

.detail-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-copy .lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 12px;
  color: #fed7aa;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

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

.player-card,
.article-card,
.side-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68));
  cursor: pointer;
}

.player-overlay span {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 18px 48px rgba(220, 38, 38, 0.38);
  font-size: 42px;
}

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

.article-card,
.side-card {
  margin-top: 24px;
  padding: 28px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 950;
}

.article-card p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
  line-height: 1.95;
}

.article-card p:last-child {
  margin-bottom: 0;
}

.side-card {
  margin-top: 0;
}

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

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #ffedd5;
  color: var(--ink);
  font-weight: 900;
}

.side-links a:hover {
  color: var(--orange);
}

.side-links span {
  color: var(--muted);
  font-size: 13px;
}

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

.site-footer {
  color: #d1d5db;
  background: linear-gradient(90deg, #111827, #1f2937, #111827);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.site-footer p {
  max-width: 430px;
  color: #d1d5db;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: #fdba74;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  text-align: center;
}

@media (max-width: 1080px) {
  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .hero-side-panel {
    display: none;
  }

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

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

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

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

  .nav-toggle {
    display: block;
  }

  .hero-slider,
  .hero-rail {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
    padding: 64px 22px 86px;
  }

  .hero-poster {
    max-width: 220px;
    justify-self: center;
  }

  .hero-arrow {
    display: none;
  }

  .section-heading.with-link {
    align-items: start;
    flex-direction: column;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form button {
    min-height: 48px;
  }

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

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

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

  .rank-row {
    grid-template-columns: 48px 82px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-row img {
    width: 82px;
    height: 58px;
  }

  .rank-meta {
    display: none;
  }

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

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

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

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

  .brand {
    font-size: 20px;
  }

  .section-shell {
    padding: 46px 16px;
  }

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

  .movie-strip {
    grid-auto-columns: 220px;
  }

  .hero-copy h1,
  .hero-copy h2,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .card-title {
    min-height: auto;
  }
}
