:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --yellow-400: #facc15;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-md: 0 10px 30px rgba(124, 45, 18, 0.12);
  --shadow-xl: 0 24px 60px rgba(124, 45, 18, 0.22);
  --radius-xl: 24px;
  --radius-2xl: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--orange-50), var(--amber-50));
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-500), var(--yellow-400));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.28);
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow: 0 8px 18px rgba(124, 45, 18, 0.18);
  transition: transform 0.25s ease;
}

.site-logo:hover .site-logo-icon {
  transform: scale(1.08) rotate(-4deg);
}

.site-logo-text,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo-text strong,
.footer-brand strong {
  font-size: 21px;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.site-logo-text em,
.footer-brand em {
  margin-top: 4px;
  font-size: 12px;
  color: var(--amber-100);
  font-style: normal;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--white);
  color: var(--orange-600);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  padding: 10px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(180, 83, 9, 0.96);
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #fbbf24, #fb923c, #facc15);
}

.hero-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
}

.hero-icons span {
  position: absolute;
  font-size: clamp(42px, 6vw, 84px);
}

.hero-icons span:nth-child(1) {
  top: 10%;
  left: 6%;
}

.hero-icons span:nth-child(2) {
  top: 25%;
  right: 12%;
}

.hero-icons span:nth-child(3) {
  bottom: 18%;
  left: 26%;
}

.hero-icons span:nth-child(4) {
  bottom: 10%;
  right: 7%;
}

.hero-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  min-height: 650px;
  margin: 0 auto;
  padding: 96px 24px 132px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 64px;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeUp 0.65s ease both;
}

.hero-copy {
  color: var(--white);
}

.hero-pill,
.section-heading span,
.page-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero-copy h1 {
  margin: 26px 0 22px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: var(--amber-100);
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--amber-50);
  font-size: 21px;
  line-height: 1.8;
}

.hero-meta,
.detail-badges,
.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.detail-badges span,
.tag-list span,
.detail-tags a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.secondary-button,
.filter-controls button,
.home-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: var(--white);
  color: var(--orange-600);
  box-shadow: 0 12px 28px rgba(124, 45, 18, 0.16);
}

.primary-button.full {
  width: 100%;
}

.secondary-button {
  background: var(--amber-700);
  color: var(--white);
}

.primary-button:hover,
.secondary-button:hover,
.filter-controls button:hover,
.home-search-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-poster {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
  transition: transform 0.35s ease;
}

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

.hero-poster img,
.category-tile img,
.category-overview-head img,
.detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
}

.daily-badge {
  position: absolute;
  top: 18px;
  right: -8px;
  z-index: 2;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ef4444;
  color: var(--white);
  font-weight: 900;
  transform: rotate(10deg);
  box-shadow: var(--shadow-md);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--white);
}

.hero-caption strong {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 900;
}

.hero-caption em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--amber-100);
  font-style: normal;
  line-height: 1.6;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: 74px;
  display: flex;
  gap: 9px;
}

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

.hero-dot.is-active {
  width: 36px;
  background: var(--white);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
}

.content-section {
  padding: 72px 24px;
}

.content-section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.warm-section {
  background: linear-gradient(180deg, var(--amber-100), var(--orange-50));
}

.white-section {
  background: var(--white);
}

.section-heading {
  margin-bottom: 42px;
  text-align: center;
}

.section-heading span {
  background: var(--orange-100);
  color: var(--orange-700);
}

.section-heading h2 {
  margin: 16px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--gray-600);
  font-size: 18px;
}

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

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

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

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

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

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

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

.poster-badge,
.poster-duration {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.poster-badge {
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--orange-600);
  backdrop-filter: blur(8px);
}

.poster-duration {
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.58);
  color: var(--white);
}

.movie-card-body {
  padding: 18px;
}

.movie-card-meta {
  margin: 0 0 8px;
  color: var(--orange-600);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 10px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 18px;
  line-height: 1.45;
}

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

.tag-list span {
  background: var(--amber-50);
  color: var(--amber-700);
}

.center-action {
  margin-top: 38px;
  text-align: center;
}

.center-action .primary-button,
.search-card .primary-button,
.side-card .primary-button {
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  color: var(--white);
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.82));
}

.category-tile span,
.category-tile em {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
}

.category-tile span {
  bottom: 58px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  bottom: 24px;
  color: var(--amber-100);
  font-style: normal;
  line-height: 1.4;
}

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

.split-section .section-heading {
  text-align: left;
}

.rank-list,
.search-card,
.side-card,
.filter-panel,
.category-overview-block,
.detail-card {
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--amber-50);
  transform: translateX(4px);
}

.rank-number,
.ranking-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  color: var(--white);
  font-weight: 900;
}

.rank-row img {
  width: 82px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-info strong,
.ranking-body strong {
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.rank-info em,
.ranking-body em,
.ranking-body small {
  display: block;
  color: var(--gray-600);
  font-size: 13px;
  font-style: normal;
}

.search-card {
  padding: 32px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  color: var(--white);
}

.search-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.search-card p {
  color: var(--amber-50);
  line-height: 1.7;
}

.home-search-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.home-search-form input,
.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 999px;
  background: var(--white);
  padding: 0 18px;
  outline: none;
}

.home-search-form input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.home-search-form button {
  background: var(--gray-900);
  color: var(--white);
}

.page-hero {
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--yellow-400));
  color: var(--white);
}

.small-hero {
  padding: 88px 24px;
}

.small-hero > div {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero span {
  background: rgba(255, 255, 255, 0.18);
}

.page-hero h1 {
  max-width: 900px;
  margin: 18px 0 12px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--amber-50);
  font-size: 20px;
  line-height: 1.7;
}

.category-overview-list {
  display: grid;
  gap: 34px;
}

.category-overview-block {
  padding: 24px;
}

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

.category-overview-head img {
  height: 120px;
  border-radius: 22px;
}

.category-overview-head strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-900);
  font-size: 28px;
}

.category-overview-head em {
  color: var(--gray-600);
  font-style: normal;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.filter-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.js-count {
  color: var(--gray-600);
  font-size: 14px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 150px auto;
  gap: 10px;
}

.filter-controls button {
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  color: var(--white);
}

.empty-state {
  display: none;
  max-width: 1280px;
  margin-top: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  padding: 32px;
  text-align: center;
  color: var(--gray-600);
  box-shadow: var(--shadow-md);
}

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

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

.ranking-card {
  display: grid;
  grid-template-columns: 54px 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-radius: var(--radius-xl);
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.ranking-card img {
  width: 96px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
}

.detail-main {
  background: linear-gradient(180deg, var(--orange-50), var(--amber-100));
}

.detail-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--orange-700);
  font-weight: 800;
}

.breadcrumb strong {
  color: var(--gray-900);
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  overflow: hidden;
  padding: 0;
}

.player-column {
  min-width: 0;
}

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

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

.player-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange-600);
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, background 0.18s ease;
}

.player-play-button span {
  display: inline-block;
  margin-left: 6px;
  font-size: 34px;
}

.player-play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}

.player-box.is-playing .player-play-button,
.player-box.is-playing .player-layer {
  opacity: 0;
  pointer-events: none;
}

.player-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 52px 28px 24px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent);
  transition: opacity 0.2s ease;
}

.player-layer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.player-layer em {
  color: var(--amber-100);
  font-style: normal;
}

.detail-content {
  padding: 30px;
}

.detail-badges span {
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.detail-content h1 {
  margin: 22px 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
}

.lead-text {
  margin: 0 0 24px;
  color: var(--gray-600);
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
}

.detail-meta-grid span {
  border-radius: 18px;
  background: var(--amber-50);
  padding: 14px;
  color: var(--gray-700);
}

.detail-meta-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--orange-600);
  font-size: 12px;
}

.detail-content section {
  margin-top: 30px;
}

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

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

.detail-content blockquote {
  border-left: 5px solid var(--orange-500);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange-50), var(--amber-50));
  padding: 22px;
}

.detail-tags a {
  background: var(--amber-50);
  color: var(--amber-700);
}

.detail-side {
  padding: 24px 24px 24px 0;
}

.detail-cover {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.side-card {
  margin-top: 18px;
  padding: 22px;
}

.mini-rank {
  display: grid;
  gap: 10px;
}

.mini-rank a {
  display: block;
  border-radius: 14px;
  background: var(--amber-50);
  padding: 12px;
  color: var(--orange-700);
  font-weight: 800;
}

.related-section {
  padding-top: 54px;
}

.site-footer {
  background: linear-gradient(135deg, #78350f, #9a3412, #78350f);
  color: var(--white);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 36px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 19px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--amber-100);
  line-height: 1.7;
}

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

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 24px;
  text-align: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .detail-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-side {
    padding: 0 30px 30px;
  }

  .detail-cover {
    height: 360px;
  }
}

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

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

  .hero-shell {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-poster {
    min-height: 420px;
  }

  .movie-grid,
  .all-grid,
  .compact-grid,
  .category-grid,
  .ranking-list-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .site-header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .site-logo-icon {
    width: 42px;
    height: 42px;
  }

  .site-logo-text strong {
    font-size: 18px;
  }

  .hero-shell,
  .content-section,
  .small-hero,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-copy p,
  .page-hero p,
  .lead-text {
    font-size: 17px;
  }

  .hero-poster {
    min-height: 340px;
  }

  .movie-grid,
  .all-grid,
  .compact-grid,
  .category-grid,
  .ranking-list-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-card,
  .rank-row {
    grid-template-columns: 44px 76px minmax(0, 1fr);
  }

  .ranking-card img,
  .rank-row img {
    width: 76px;
    height: 64px;
  }

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

  .category-overview-head img {
    height: 180px;
  }

  .detail-content,
  .detail-side {
    padding: 20px;
  }

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

  .player-play-button {
    width: 68px;
    height: 68px;
  }
}
