:root {
  --color-amber-50: #fffbeb;
  --color-amber-100: #fef3c7;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;
  --color-orange-500: #f97316;
  --color-orange-600: #ea580c;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 16px 40px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 28px rgba(217, 119, 6, 0.18);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--color-gray-900);
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 38%, #ffffff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
  border-bottom: 1px solid rgba(251, 191, 36, 0.26);
  box-shadow: 0 8px 24px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber-600), var(--color-orange-500));
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-size: clamp(18px, 2vw, 24px);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  color: var(--color-gray-700);
  font-size: 15px;
  font-weight: 700;
  padding: 22px 0;
}

.nav-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--color-amber-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-amber-600);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(146, 64, 14, 0.08);
}

.header-search input,
.mobile-search input {
  width: 180px;
  border: 0;
  outline: 0;
  padding: 10px 6px 10px 16px;
  background: transparent;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber-600), var(--color-orange-500));
  padding: 10px 15px;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  border: 0;
  color: var(--color-gray-800);
  background: rgba(255, 237, 213, 0.8);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 12px 16px 18px;
  background: #ffffff;
  border-top: 1px solid var(--color-gray-200);
}

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

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--color-gray-700);
  font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--color-amber-700, #b45309);
  background: var(--color-amber-50);
}

.hero-slider {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  background: var(--color-gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-shade,
.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 74px;
  color: #ffffff;
  max-width: 1180px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.8);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-content h1,
.detail-intro h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.hero-content p,
.detail-intro p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 22px);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-tags span,
.detail-tags span,
.movie-card-foot .tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  color: #92400e;
  background: #fef3c7;
  font-size: 13px;
  font-weight: 800;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
  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(--color-amber-600), var(--color-orange-600));
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 1;
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.stats-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -38px;
}

.stats-strip div {
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(146, 64, 14, 0.12);
  backdrop-filter: blur(14px);
}

.stats-strip strong {
  display: block;
  color: var(--color-amber-600);
  font-size: 28px;
  line-height: 1;
}

.stats-strip span {
  color: var(--color-gray-600);
  font-size: 14px;
  font-weight: 700;
}

.page-sections {
  display: grid;
  gap: 62px;
  padding: 58px 0 72px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head.simple {
  align-items: flex-start;
}

.section-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber-600), var(--color-orange-500));
  box-shadow: var(--shadow-soft);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.section-more {
  color: var(--color-amber-600);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(229, 231, 235, 0.85);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow-card);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #1f2937, #92400e);
}

.movie-card-large .poster-wrap {
  aspect-ratio: 16 / 10;
}

.movie-card-list {
  flex-direction: row;
  min-height: 158px;
}

.movie-card-list .poster-wrap {
  flex: 0 0 116px;
  aspect-ratio: auto;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-score,
.poster-duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.poster-score {
  top: 10px;
  right: 10px;
  color: #fde68a;
}

.poster-duration {
  left: 10px;
  bottom: 10px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--color-amber-600), var(--color-orange-600));
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 1.4em;
  margin: 0 0 4px;
  overflow: hidden;
  color: var(--color-gray-900);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.movie-card:hover h3 {
  color: var(--color-amber-600);
}

.movie-meta {
  margin: 0 0 8px;
  color: var(--color-gray-500);
  font-size: 13px;
}

.movie-line {
  display: -webkit-box;
  flex: 1;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--color-gray-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-gray-500);
  font-size: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.movie-card-foot .tag-row span {
  padding: 3px 7px;
  font-size: 11px;
}

.category-panel {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(90deg, var(--color-amber-100), #ffedd5);
}

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

.category-card,
.category-overview-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(146, 64, 14, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.category-images,
.overview-poster-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.category-images img,
.overview-poster-stack img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f2937, #92400e);
}

.category-card span,
.category-overview-card span {
  color: var(--color-amber-600);
  font-size: 13px;
  font-weight: 900;
}

.category-card h3,
.category-overview-card h2 {
  margin: 4px 0 6px;
  font-size: 20px;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: var(--color-gray-600);
  font-size: 14px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.latest-list {
  display: grid;
  gap: 14px;
}

.ranking-mini,
.side-card,
.content-card,
.player-card,
.search-panel {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

.ranking-mini-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--color-gray-100);
}

.ranking-mini-item span {
  color: var(--color-amber-600);
  font-weight: 900;
}

.ranking-mini-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-mini-item em {
  color: var(--color-gray-500);
  font-style: normal;
  font-size: 13px;
}

.inner-hero {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber-600), var(--color-orange-600));
}

.inner-hero .container {
  padding: 64px 0;
}

.inner-hero span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #fde68a;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 48px 0 72px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
}

.library-section,
.search-app,
.related-section {
  padding: 44px 0 72px;
}

.filter-toolbar,
.search-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.filter-toolbar h2,
.search-result-head h2 {
  margin: 0 0 5px;
  font-size: clamp(24px, 3vw, 34px);
}

.filter-toolbar p,
.search-result-head p {
  margin: 0;
  color: var(--color-gray-600);
}

.filter-toolbar label,
.search-panel label {
  display: grid;
  gap: 7px;
  min-width: min(100%, 320px);
  color: var(--color-gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-toolbar input,
.search-panel input,
.search-panel select {
  width: 100%;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 999px;
  outline: 0;
  padding: 12px 16px;
  background: #ffffff;
}

.quick-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.quick-filter-row button {
  border: 0;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.quick-filter-row button:hover,
.quick-filter-row button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber-600), var(--color-orange-600));
}

.search-app {
  display: grid;
  gap: 26px;
}

.search-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  min-height: 560px;
  padding: 72px 0;
  color: #ffffff;
}

.detail-poster {
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #1f2937, #92400e);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: start;
  padding: 44px 0 40px;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber-600), var(--color-orange-600));
  padding: 14px 22px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.player-start.is-hidden {
  display: none;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.content-card h2,
.player-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.content-card p,
.content-card blockquote {
  margin: 0;
  color: var(--color-gray-700);
  font-size: 16px;
  line-height: 1.86;
}

.content-card blockquote {
  border-left: 4px solid var(--color-amber-500);
  border-radius: 12px;
  background: var(--color-amber-50);
  padding: 16px 18px;
}

.detail-tags {
  margin-bottom: 0;
}

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.side-card dt {
  color: var(--color-gray-500);
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: var(--color-gray-800);
}

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

.side-related a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--color-gray-50);
}

.side-related span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-related em {
  color: var(--color-amber-600);
  font-style: normal;
  font-weight: 900;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 38px;
  padding: 48px 0;
}

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

.site-footer p {
  max-width: 360px;
  color: #9ca3af;
}

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

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  color: #d1d5db;
}

.site-footer a:hover {
  color: #fbbf24;
}

.footer-category-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px;
  color: #9ca3af;
  font-size: 14px;
}

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

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .stats-strip,
  .compact-grid,
  .library-grid,
  .ranking-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid,
  .split-layout,
  .detail-layout,
  .footer-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .detail-side {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-slider {
    min-height: 72vh;
  }

  .hero-content {
    padding-bottom: 64px;
  }

  .hero-arrow {
    display: none;
  }

  .stats-strip,
  .compact-grid,
  .library-grid,
  .ranking-grid,
  .featured-grid,
  .category-grid,
  .search-options,
  .detail-hero-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-top: 16px;
  }

  .category-panel {
    padding: 22px;
  }

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

  .movie-card-list {
    flex-direction: column;
  }

  .movie-card-list .poster-wrap {
    flex-basis: auto;
    aspect-ratio: 16 / 10;
  }

  .filter-toolbar,
  .search-result-head,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-hero-grid {
    min-height: auto;
    padding: 42px 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}
