:root {
  --flame-50: #fff3e0;
  --flame-100: #ffe0b2;
  --flame-400: #ffa726;
  --flame-500: #ff6b35;
  --flame-600: #f4511e;
  --flame-900: #bf360c;
  --phoenix-50: #fbe9e7;
  --phoenix-100: #ffccbc;
  --phoenix-500: #c1440e;
  --phoenix-600: #a13810;
  --phoenix-900: #5f220d;
  --honey-50: #fff8e7;
  --honey-100: #fff0d1;
  --honey-300: #ffd875;
  --honey-500: #d4a574;
  --honey-700: #a67c3e;
  --honey-900: #6a4c20;
  --ink: #1f2937;
  --muted: #6b7280;
  --panel: #ffffff;
  --line: rgba(106, 76, 32, 0.16);
  --shadow: 0 18px 45px rgba(95, 34, 13, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--honey-50) 0%, #ffffff 42%, var(--flame-50) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--honey-700), var(--phoenix-600) 48%, var(--flame-600));
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(95, 34, 13, 0.24);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--honey-300), var(--flame-500));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.34);
  animation: flamePulse 3s ease-in-out infinite;
}

.brand-text {
  font-size: 1.18rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link,
.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  transition: background 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 310px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.nav-search input,
.mobile-search input,
.filter-input,
.filter-select {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  font: inherit;
}

.nav-search input,
.mobile-search input {
  color: #ffffff;
  background: transparent;
  padding: 8px 12px;
}

.nav-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.nav-search button,
.mobile-search button,
.primary-btn,
.secondary-btn,
.ghost-btn,
.play-button,
.filter-button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav-search button,
.mobile-search button,
.primary-btn,
.play-button,
.filter-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 14px 28px rgba(193, 68, 14, 0.28);
}

.nav-search button,
.mobile-search button {
  border-radius: 999px;
  padding: 8px 14px;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.play-button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
}

.primary-btn:hover,
.play-button:hover,
.filter-button:hover,
.nav-search button:hover,
.mobile-search button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 34px rgba(193, 68, 14, 0.34);
}

.secondary-btn {
  color: var(--phoenix-600);
  background: #ffffff;
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  border-radius: 18px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.14);
}

main {
  min-height: 62vh;
}

.spotlight {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: #140a06;
  color: #ffffff;
}

.spotlight-track {
  position: relative;
  min-height: 76vh;
}

.spotlight-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  align-items: center;
  gap: 42px;
  padding: 96px max(32px, calc((100vw - 1240px) / 2)) 92px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.spotlight-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.spotlight-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.spotlight-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.spotlight-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 36%, rgba(255, 204, 71, 0.25), transparent 32%),
    linear-gradient(90deg, rgba(20, 10, 6, 0.92) 0%, rgba(20, 10, 6, 0.66) 46%, rgba(20, 10, 6, 0.34) 100%),
    linear-gradient(0deg, rgba(20, 10, 6, 0.88) 0%, transparent 46%);
}

.spotlight-content,
.spotlight-poster {
  position: relative;
  z-index: 1;
}

.spotlight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffe4a3;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.spotlight h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.spotlight h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}

.spotlight-text {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.spotlight-meta,
.detail-meta,
.movie-meta,
.page-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.spotlight-meta {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.spotlight-poster {
  align-self: center;
  justify-self: end;
  width: min(100%, 390px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.46);
  transform: rotate(1deg);
}

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

.spotlight-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.44);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.spotlight-control:hover {
  background: rgba(0, 0, 0, 0.68);
  transform: translateY(-1px) scale(1.05);
}

.spotlight-control.prev {
  left: 18px;
}

.spotlight-control.next {
  right: 18px;
}

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

.spotlight-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.spotlight-dots button.is-active {
  width: 34px;
  background: #ffffff;
}

.section,
.page-section,
.detail-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 66px 0;
}

.section-head,
.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-title,
.page-title {
  margin: 0;
  color: #111827;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-lead,
.page-lead {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(95, 34, 13, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 53, 0.42);
  box-shadow: var(--shadow);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--honey-100), var(--flame-100));
}

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

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

.rating-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.movie-body {
  padding: 16px;
}

.movie-title {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-title:hover {
  color: var(--flame-600);
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.25em;
  margin: 10px 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  color: #7c2d12;
  font-size: 0.84rem;
  font-weight: 700;
}

.movie-meta span,
.detail-meta span,
.page-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--flame-50);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span,
.tag-link {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--honey-900);
  background: var(--honey-100);
  font-size: 0.78rem;
  font-weight: 800;
}

.band {
  padding: 62px 0;
  background: linear-gradient(90deg, var(--honey-100), #fff8e1 48%, var(--flame-100));
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--phoenix-600);
  background: #ffffff;
  border: 1px solid rgba(255, 107, 53, 0.22);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(95, 34, 13, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(193, 68, 14, 0.16);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 46px 72px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(95, 34, 13, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.rank-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-500), var(--flame-500));
  font-weight: 900;
}

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

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

.rank-copy strong {
  color: #111827;
  font-size: 1rem;
  line-height: 1.35;
}

.rank-copy em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.rank-score {
  color: var(--flame-600);
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 204, 71, 0.28), transparent 30%),
    linear-gradient(135deg, var(--honey-900), var(--phoenix-900) 52%, var(--flame-900));
}

.page-hero-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 70px;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.page-hero p {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  border-radius: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-700), var(--phoenix-600) 55%, var(--flame-500));
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.category-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.45rem;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.84);
}

.category-card a {
  position: relative;
  z-index: 1;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(160px, 220px)) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(95, 34, 13, 0.06);
}

.filter-input,
.filter-select {
  padding: 13px 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(106, 76, 32, 0.16);
}

.filter-button {
  white-space: nowrap;
}

.empty-state {
  display: none;
  padding: 24px;
  border-radius: 22px;
  color: var(--muted);
  background: #ffffff;
  border: 1px dashed rgba(106, 76, 32, 0.28);
  text-align: center;
}

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

.detail-hero {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(20, 10, 6, 0.94), rgba(20, 10, 6, 0.68)),
    var(--phoenix-900);
}

.detail-hero-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 40px;
  padding: 62px 0;
}

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

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

.detail-copy h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.detail-copy .eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffe4a3;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.detail-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.detail-meta {
  margin: 22px 0;
}

.detail-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(95, 34, 13, 0.08);
}

.panel-body {
  padding: 26px;
}

.panel h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 1.45rem;
}

.panel p {
  margin: 0 0 18px;
  color: #4b5563;
}

.player-card {
  overflow: hidden;
  margin-bottom: 28px;
}

.player-wrap {
  position: relative;
  background: #000000;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: #ffffff;
  background: #000000;
  cursor: pointer;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.66));
}

.play-button {
  position: relative;
  z-index: 2;
  min-width: 150px;
  font-size: 1rem;
}

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

.player-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #ffffff;
}

.player-titlebar strong {
  color: #111827;
  font-size: 1.05rem;
}

.player-titlebar span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.side-link {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--honey-50);
  transition: transform 0.2s ease, background 0.2s ease;
}

.side-link:hover {
  transform: translateX(4px);
  background: var(--flame-50);
}

.side-link img {
  width: 68px;
  height: 88px;
  border-radius: 13px;
  object-fit: cover;
}

.side-link strong {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 0.95rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.side-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
}

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


.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, var(--honey-900), var(--phoenix-900) 48%, var(--flame-900));
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  padding: 54px 0 42px;
}

.footer-brand p,
.footer-col p {
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 0;
}

.footer-col h2 {
  margin: 0 0 14px;
  color: var(--honey-300);
  font-size: 1.05rem;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

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

@keyframes flamePulse {
  0%, 100% {
    filter: brightness(1);
    transform: translateY(0);
  }
  50% {
    filter: brightness(1.12);
    transform: translateY(-1px);
  }
}

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

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

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

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

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

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

@media (max-width: 820px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .spotlight,
  .spotlight-track {
    min-height: 720px;
  }

  .spotlight-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding: 74px 22px 92px;
  }

  .spotlight-poster {
    justify-self: start;
    width: min(64vw, 260px);
    border-radius: 24px;
  }

  .spotlight-control {
    top: auto;
    bottom: 24px;
  }

  .spotlight-control.prev {
    left: 18px;
  }

  .spotlight-control.next {
    right: 18px;
  }

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

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

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

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

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

@media (max-width: 540px) {
  .brand-text {
    font-size: 1rem;
  }

  .section,
  .page-section,
  .detail-section {
    width: min(100% - 24px, 1240px);
    padding: 44px 0;
  }

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

  .rank-row {
    grid-template-columns: 38px 60px 1fr;
  }

  .rank-score {
    display: none;
  }

  .player-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }

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