:root {
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --amber-900: #78350f;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(28, 25, 23, 0.12);
  --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--amber-50), var(--stone-50) 28%, var(--white));
  color: var(--stone-800);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(250, 250, 249, 0.94), rgba(255, 251, 235, 0.94));
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.08);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber-600), var(--stone-700));
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.24);
}

.logo-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.18;
}

.logo-text strong {
  font-size: 18px;
  color: var(--stone-900);
  white-space: nowrap;
}

.logo-text small {
  color: var(--stone-500);
  font-size: 12px;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  color: var(--stone-700);
  font-weight: 650;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--stone-800);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

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

.mobile-link {
  display: block;
  padding: 11px 14px;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--stone-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 40%, rgba(245, 158, 11, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.72) 48%, rgba(12, 10, 9, 0.28)),
    linear-gradient(0deg, rgba(12, 10, 9, 0.78), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 44px;
  padding: 88px 0 76px;
  color: var(--white);
}

.hero-kicker,
.eyebrow,
.section-heading span,
.rank-panel-head span,
.page-hero span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  color: var(--amber-100);
  background: rgba(245, 158, 11, 0.18);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.12);
}

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

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

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-500));
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.3);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-poster {
  display: block;
  width: 100%;
  border-radius: 30px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: translateY(-6px) scale(1.01);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 22px;
}

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

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

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

.quick-search,
.page-section,
.plain-page,
.content-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search {
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.quick-search h2,
.section-heading h2,
.rank-panel-head h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: var(--stone-900);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.quick-search h2 {
  font-size: 28px;
}

.quick-search p,
.section-heading p,
.page-hero p,
.category-overview-card p,
.info-card p {
  margin: 8px 0 0;
  color: var(--stone-600);
}

.home-search-form {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: var(--stone-50);
}

.home-search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
}

.home-search-form button {
  border: 0;
  color: var(--white);
  background: var(--stone-800);
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
}

.page-section {
  padding: 64px 0 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-heading span,
.page-hero span,
.eyebrow,
.rank-panel-head span {
  color: var(--amber-700);
  background: var(--amber-100);
}

.section-heading h2,
.rank-panel-head h2 {
  font-size: clamp(26px, 3vw, 38px);
}

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

.category-card {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--stone-900);
  box-shadow: var(--shadow-soft);
}

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

.category-card:hover img {
  transform: scale(1.08);
  opacity: 0.74;
}

.category-card span {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 2;
  color: var(--white);
}

.category-card strong {
  display: block;
  font-size: 20px;
}

.category-card small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(28, 25, 23, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

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

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--stone-100);
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.poster-year {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 8px 0 6px;
  color: var(--stone-900);
  font-size: 17px;
  line-height: 1.28;
}

.movie-card h3 a:hover,
.text-link:hover,
.ranking-card h2 a:hover {
  color: var(--amber-700);
}

.movie-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--stone-600);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-panel {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--stone-900), var(--stone-800));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.rank-panel-head {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.rank-panel-head h2 {
  color: var(--white);
}

.rank-panel-head a {
  color: var(--amber-100);
  font-weight: 800;
}

.rank-list {
  display: grid;
  padding: 0 12px 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.rank-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.rank-item em {
  color: var(--amber-500);
  font-style: normal;
  font-weight: 900;
}

.rank-item img {
  width: 54px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  object-fit: cover;
}

.rank-item strong,
.rank-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.plain-page {
  padding: 40px 0 76px;
}

.page-hero {
  overflow: hidden;
  margin-bottom: 28px;
  padding: 42px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 16%, rgba(245, 158, 11, 0.26), transparent 34%),
    linear-gradient(135deg, var(--white), var(--amber-50));
  box-shadow: var(--shadow-soft);
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--stone-600);
  font-size: 14px;
  font-weight: 700;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 14px;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--stone-200);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.06);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--stone-600);
  font-size: 12px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--stone-200);
  border-radius: 14px;
  outline: none;
  background: var(--white);
  color: var(--stone-800);
  padding: 0 13px;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--stone-200);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.07);
}

.category-overview-poster img {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 8px 0 0;
  color: var(--stone-900);
  font-size: 28px;
}

.mini-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.mini-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: var(--stone-50);
}

.mini-card img {
  width: 46px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  object-fit: cover;
}

.mini-card strong,
.mini-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card small {
  color: var(--stone-500);
  font-size: 12px;
}

.text-link {
  color: var(--amber-700);
  font-weight: 850;
}

.ranking-list-page {
  display: grid;
  gap: 16px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--stone-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(28, 25, 23, 0.07);
}

.ranking-cover {
  position: relative;
}

.ranking-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  object-fit: cover;
}

.ranking-cover em {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--amber-600);
  font-style: normal;
  font-weight: 900;
}

.ranking-card h2 {
  margin: 10px 0 8px;
  color: var(--stone-900);
  font-size: 26px;
  line-height: 1.24;
}

.ranking-card p {
  color: var(--stone-600);
}

.detail-page {
  background: var(--white);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: var(--white);
  background: var(--stone-950);
}

.detail-bg,
.detail-bg-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(6px) saturate(1.08);
  transform: scale(1.06);
  opacity: 0.56;
}

.detail-bg-mask {
  background:
    radial-gradient(circle at 80% 25%, rgba(245, 158, 11, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(12, 10, 9, 0.95), rgba(12, 10, 9, 0.72));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 58px;
}

.breadcrumb.light {
  color: rgba(255, 255, 255, 0.76);
}

.detail-main {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  margin-top: 28px;
}

.detail-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
}

.detail-copy h1 {
  margin: 14px 0;
  color: var(--white);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
}

.detail-copy .lead {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 750;
}

.detail-tags span {
  color: var(--amber-100);
  background: rgba(245, 158, 11, 0.24);
}

.content-wrap {
  padding: 48px 0 80px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--stone-950);
  box-shadow: var(--shadow-strong);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--amber-500);
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.36);
  position: relative;
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 23px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--white);
}

.player-overlay strong {
  max-width: 86%;
  text-align: center;
  font-size: 22px;
}

.detail-article,
.related-section,
.info-card {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--stone-200);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.07);
}

.detail-article h2,
.info-card h2 {
  margin: 0 0 10px;
  color: var(--stone-900);
  font-size: 26px;
}

.detail-article h2:not(:first-child),
.info-card h2:not(:first-child) {
  margin-top: 26px;
}

.detail-article p,
.info-card p,
.info-card li {
  color: var(--stone-700);
  font-size: 16px;
}

.info-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.site-footer {
  color: var(--stone-200);
  background: linear-gradient(135deg, var(--stone-950), var(--stone-800) 54%, var(--amber-900));
}

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

.footer-brand p {
  max-width: 520px;
  color: var(--stone-300);
}

.footer-logo .logo-text strong {
  color: var(--white);
}

.footer-logo .logo-text small {
  color: var(--stone-300);
}

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

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

.footer-links a:hover {
  color: var(--amber-100);
  background: rgba(245, 158, 11, 0.18);
}

.footer-bottom {
  border-top: 1px solid rgba(231, 229, 228, 0.12);
  padding: 16px;
  text-align: center;
  color: var(--stone-300);
  font-size: 14px;
}

@media (max-width: 1060px) {
  .category-grid,
  .movie-grid,
  .movie-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .rank-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-block;
  }

  .hero-carousel {
    min-height: 680px;
  }

  .hero-content,
  .detail-main,
  .quick-search-inner,
  .footer-inner,
  .category-overview-card,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-cover {
    max-width: 260px;
  }

  .quick-search {
    margin-top: -20px;
  }

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

  .category-grid,
  .movie-grid,
  .movie-grid-home,
  .mini-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .logo-text small {
    display: none;
  }

  .hero-content {
    padding-top: 52px;
  }

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

  .category-grid,
  .movie-grid,
  .movie-grid-home,
  .mini-card-row {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .detail-article,
  .related-section,
  .info-card {
    padding: 22px;
    border-radius: 22px;
  }

  .player-overlay strong {
    font-size: 18px;
  }
}
