:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-soft: 0 20px 40px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 10px 25px rgba(17, 24, 39, 0.10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--amber-50), #ffffff 38%, #fff7ed);
}

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: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--gray-900);
  white-space: nowrap;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.3);
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-700);
  background: var(--amber-50);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: var(--amber-50);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--amber-700);
}

.hero-carousel {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 48%, #fffbeb 100%);
}

.hero-stage {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 590px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 52px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy h1:first-line,
.hero-copy h2:first-line {
  color: var(--amber-700);
}

.hero-copy h1 span,
.hero-copy h2 span {
  display: block;
  margin-top: 12px;
  font-size: clamp(30px, 5vw, 56px);
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600), var(--amber-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--gray-600);
  font-size: 20px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--amber-700);
  background: rgba(255, 251, 235, 0.88);
  font-size: 13px;
  font-weight: 700;
}

.hero-search {
  display: flex;
  width: min(640px, 100%);
  margin-top: 28px;
  padding: 7px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: var(--gray-800);
  background: transparent;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-weight: 800;
  cursor: pointer;
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.26);
}

.btn-light {
  color: var(--amber-700);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.hero-poster {
  position: relative;
  z-index: 2;
  display: block;
  width: min(380px, 90%);
  justify-self: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.25);
  transform: rotate(2deg);
}

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

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

.poster-glow {
  position: absolute;
  inset: auto 18px 18px;
  height: 24%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.42), transparent 70%);
  filter: blur(12px);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 48px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--amber-200);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 58px;
  background: var(--amber-600);
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  mix-blend-mode: multiply;
  opacity: 0.36;
  animation: blob 7s infinite;
}

.hero-blob-a {
  width: 288px;
  height: 288px;
  top: 70px;
  left: 8%;
  background: #fcd34d;
}

.hero-blob-b {
  width: 300px;
  height: 300px;
  top: 180px;
  right: 8%;
  background: #fdba74;
  animation-delay: 2s;
}

.hero-blob-c {
  width: 260px;
  height: 260px;
  left: 46%;
  bottom: -70px;
  background: #fef3c7;
  animation-delay: 4s;
}

@keyframes blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -48px) scale(1.08);
  }
  66% {
    transform: translate(-22px, 22px) scale(0.94);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

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

.section-soft {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, var(--gray-50), #ffffff);
}

.section-rank {
  padding-bottom: 86px;
}

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

.section-heading h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--gray-500);
  line-height: 1.8;
}

.section-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--amber-50);
  font-weight: 800;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(17, 24, 39, 0.15);
}

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), #ffffff);
}

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

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

.year-badge,
.rank-badge,
.top-rank-number {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.16);
}

.year-badge {
  top: 10px;
  right: 10px;
  min-width: 52px;
  height: 26px;
  border-radius: 999px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
}

.play-halo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0);
  font-size: 38px;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.movie-card:hover .play-halo {
  opacity: 1;
  background: rgba(0, 0, 0, 0.34);
}

.movie-info {
  display: block;
  padding: 14px 14px 16px;
}

.movie-info strong,
.movie-info em,
.movie-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-info strong {
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.4;
}

.movie-info em {
  margin-top: 5px;
  color: var(--gray-500);
  font-style: normal;
  font-size: 12px;
}

.movie-info span {
  margin-top: 8px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 700;
}

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

.mini-category {
  position: relative;
  display: block;
  min-height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--gray-900);
}

.mini-category img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.mini-category:hover img {
  opacity: 0.86;
  transform: scale(1.08);
}

.mini-category span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.rank-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.page-hero {
  padding: 86px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--amber-100), #ffffff 52%, #ffedd5);
}

.page-hero-small {
  padding-top: 70px;
  padding-bottom: 64px;
}

.page-hero h1 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--gray-600);
  line-height: 1.9;
  font-size: 18px;
}

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

.category-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  min-height: 260px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-radius: 18px;
  overflow: hidden;
}

.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 108px;
  object-fit: cover;
}

.category-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.category-content h2 {
  margin: 0;
  font-size: 28px;
  color: var(--gray-900);
}

.category-content p:not(.eyebrow) {
  color: var(--gray-600);
  line-height: 1.8;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-links a {
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--amber-50);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 0.34fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: 0;
  padding: 12px 13px;
  color: var(--gray-800);
  background: var(--gray-50);
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.empty-state {
  display: none;
  margin: 28px 0;
  padding: 28px;
  border-radius: var(--radius-md);
  color: var(--gray-500);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

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

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

.top-rank-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  background: var(--gray-900);
}

.top-rank-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  transition: transform 0.35s ease;
}

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(17, 24, 39, 0.88));
}

.top-rank-card:hover img {
  transform: scale(1.06);
}

.top-rank-card strong,
.top-rank-card em,
.top-rank-card p,
.top-rank-number {
  position: relative;
  z-index: 2;
}

.top-rank-number {
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 18px;
}

.top-rank-card strong {
  font-size: 30px;
  line-height: 1.2;
}

.top-rank-card em {
  margin-top: 8px;
  font-style: normal;
  color: #fde68a;
}

.top-rank-card p {
  margin: 12px 0 0;
  line-height: 1.8;
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--amber-700);
  font-weight: 700;
}

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding-bottom: 72px;
}

.watch-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  box-shadow: var(--shadow-soft);
}

.player-shell {
  position: relative;
  background: #000000;
}

.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  outline: 0;
}

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.20), rgba(0, 0, 0, 0.58));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.35);
  font-size: 32px;
  padding-left: 5px;
}

.detail-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.detail-poster {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.detail-content h1 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 5px solid var(--amber-500);
  border-radius: 14px;
  color: var(--gray-700);
  background: var(--amber-50);
  line-height: 1.8;
}

.detail-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gray-600);
  background: var(--gray-100);
  font-size: 13px;
  font-weight: 700;
}

.story-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.story-card h2 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: 25px;
}

.story-card h2:not(:first-child) {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.story-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 2;
  font-size: 16px;
}

.related-section {
  width: 100%;
  padding-bottom: 0;
}

.site-footer {
  background: var(--gray-900);
  color: #ffffff;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 36px;
}

.brand-footer {
  color: #ffffff;
}

.footer-brand p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

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

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.24);
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--amber-500);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--amber-700);
}

@media (max-width: 1100px) {
  .movie-grid,
  .movie-grid-six,
  .rank-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    justify-content: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-carousel,
  .hero-stage {
    min-height: 820px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding: 48px 0 80px;
  }

  .hero-poster {
    width: min(320px, 78vw);
    justify-self: start;
  }

  .hero-dots {
    bottom: 26px;
  }

  .movie-grid,
  .movie-grid-six,
  .rank-strip,
  .mini-category-grid,
  .top-rank-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card,
  .detail-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

  .brand {
    font-size: 17px;
  }

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

  .hero-carousel,
  .hero-stage {
    min-height: 760px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-search {
    border-radius: 20px;
    flex-direction: column;
  }

  .hero-search input {
    min-height: 44px;
  }

  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-grid,
  .movie-grid-six,
  .rank-strip,
  .mini-category-grid,
  .top-rank-grid,
  .category-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .mini-category {
    min-height: 180px;
  }

  .detail-card,
  .story-card {
    padding: 18px;
  }

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