:root {
  --amber-50: #fff8eb;
  --amber-100: #ffedd0;
  --amber-200: #fed7aa;
  --amber-300: #fdba74;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --ink: #2b1707;
  --muted: #7c5b3e;
  --paper: #fffaf1;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(120, 53, 15, 0.18);
  --soft-shadow: 0 12px 34px rgba(146, 64, 14, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(245, 158, 11, 0.18), transparent 34%),
    linear-gradient(180deg, #fff7ed 0%, #fffaf1 46%, #fff4df 100%);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #fff7ed;
  background: linear-gradient(90deg, var(--amber-800), #c2410c 48%, var(--amber-900));
  box-shadow: 0 12px 35px rgba(69, 26, 3, 0.24);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--amber-900);
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  box-shadow: inset 0 -3px 12px rgba(146, 64, 14, 0.18);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 23px;
  letter-spacing: 0.5px;
}

.brand-text em {
  margin-top: 4px;
  color: #fed7aa;
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  white-space: nowrap;
}

.desktop-nav a {
  color: #fff7ed;
  font-weight: 700;
  opacity: 0.94;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #fde68a;
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(330px, 32vw);
  padding: 4px;
  border: 1px solid rgba(254, 215, 170, 0.35);
  border-radius: 999px;
  background: rgba(69, 26, 3, 0.26);
}

.header-search input,
.mobile-panel input,
.local-filter input,
.search-page-form input,
.hero-search-card input {
  min-width: 0;
  border: 0;
  outline: 0;
}

.header-search input {
  flex: 1;
  padding: 10px 14px;
  color: #fff7ed;
  background: transparent;
}

.header-search input::placeholder,
.mobile-panel input::placeholder {
  color: #fed7aa;
}

.header-search button,
.mobile-panel button,
.search-page-form button,
.hero-search-card button,
.local-filter button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
  padding: 9px 15px;
  color: var(--amber-900);
  background: #fff7ed;
}

.header-search button:hover,
.search-page-form button:hover,
.hero-search-card button:hover,
.local-filter button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff7ed;
}

.mobile-panel {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel.is-open {
  display: grid;
  gap: 12px;
}

.mobile-panel a {
  padding: 10px 0;
  color: #fff7ed;
  font-weight: 700;
}

.mobile-panel form {
  display: flex;
  gap: 8px;
}

.mobile-panel input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff7ed;
  background: rgba(69, 26, 3, 0.32);
}

.mobile-panel button {
  padding: 0 16px;
  color: var(--amber-900);
  background: #fff7ed;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 34px 0 26px;
  background:
    radial-gradient(circle at 16% 20%, rgba(253, 186, 116, 0.36), transparent 32%),
    linear-gradient(135deg, #78350f 0%, #9a3412 48%, #431407 100%);
}

.hero-stage {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  min-height: 580px;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(67, 20, 7, 0.4);
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.68fr);
  align-items: center;
  gap: 36px;
  padding: 58px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: blur(22px) saturate(1.25);
  transform: scale(1.12);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(67, 20, 7, 0.92) 0%, rgba(120, 53, 15, 0.78) 46%, rgba(69, 26, 3, 0.56) 100%),
    radial-gradient(circle at 76% 22%, rgba(253, 230, 138, 0.28), transparent 38%);
}

.hero-copy {
  color: #fff7ed;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-copy .eyebrow {
  color: #fde68a;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -2px;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 26px;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-tags span,
.detail-tags a,
.tag-row span,
.quick-tags a {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  padding: 8px 13px;
  color: #fff7ed;
  border: 1px solid rgba(253, 230, 138, 0.38);
  background: rgba(120, 53, 15, 0.52);
  backdrop-filter: blur(12px);
}

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

.btn-primary,
.btn-ghost,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  padding: 14px 26px;
  color: #431407;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.28);
}

.btn-ghost {
  padding: 13px 24px;
  color: #fff7ed;
  border: 1px solid rgba(255, 247, 237, 0.38);
  background: rgba(255, 247, 237, 0.08);
}

.btn-primary:hover,
.btn-ghost:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  border: 1px solid rgba(255, 247, 237, 0.16);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 247, 237, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

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

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

.hero-controls {
  position: absolute;
  left: 58px;
  bottom: 34px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--amber-900);
  font-size: 30px;
  line-height: 1;
  background: #fff7ed;
  box-shadow: 0 10px 24px rgba(67, 20, 7, 0.22);
}

.hero-dots {
  display: inline-flex;
  gap: 8px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.42);
}

.hero-dot.is-active {
  width: 30px;
  background: #fef3c7;
}

.category-strip {
  margin: -26px 0 0;
  position: relative;
  z-index: 3;
}

.strip-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-pill,
.category-card,
.panel-card,
.story-card {
  border: 1px solid rgba(217, 119, 6, 0.14);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.category-pill {
  min-height: 118px;
  padding: 22px;
  border-radius: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-pill:hover,
.category-card:hover,
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-pill strong {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-900);
  font-size: 21px;
}

.category-pill span {
  color: var(--muted);
  line-height: 1.7;
}

.section-block {
  width: min(var(--container), calc(100% - 32px));
  margin: 58px auto;
}

.soft-panel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 237, 213, 0.55);
}

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

.section-heading h2 {
  margin: 9px 0 8px;
  color: var(--amber-900);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.section-heading p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.compact-heading {
  align-items: center;
  margin-bottom: 20px;
}

.compact-heading h2 {
  font-size: 28px;
}

.section-link {
  flex-shrink: 0;
  padding: 10px 18px;
  color: var(--amber-800);
  border: 1px solid rgba(217, 119, 6, 0.22);
  background: #fff7ed;
}

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

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

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

.movie-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #92400e);
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(67, 20, 7, 0.68));
}

.poster-year {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff7ed;
  font-size: 12px;
  font-weight: 900;
  background: rgba(180, 83, 9, 0.88);
  backdrop-filter: blur(8px);
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-body strong {
  overflow: hidden;
  color: var(--amber-900);
  font-size: 19px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-body em {
  overflow: hidden;
  color: var(--amber-700);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-line {
  min-height: 43px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.card-meta {
  color: #9a5f20;
  font-size: 13px;
  font-weight: 800;
}

.tag-row {
  gap: 6px;
}

.tag-row span {
  padding: 5px 8px;
  color: var(--amber-800);
  background: #fff7ed;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 24px;
}

.panel-card {
  padding: 26px;
  border-radius: 28px;
}

.rank-list {
  display: grid;
  gap: 11px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #fff8eb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: #ffedd5;
}

.rank-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff7ed;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-900));
}

.rank-title {
  overflow: hidden;
  color: var(--amber-900);
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta {
  color: var(--muted);
  font-size: 13px;
}

.hero-search-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.hero-search-card input,
.search-page-form input,
.local-filter input {
  width: 100%;
  padding: 15px 17px;
  border-radius: 18px;
  color: var(--ink);
  background: #fff7ed;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.18);
}

.hero-search-card button,
.search-page-form button {
  padding: 0 22px;
  color: #fff7ed;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-900));
}

.quick-tags {
  margin-top: 18px;
}

.quick-tags a {
  padding: 8px 12px;
  color: var(--amber-900);
  background: #ffedd5;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff7ed;
  background:
    radial-gradient(circle at 20% 20%, rgba(253, 230, 138, 0.26), transparent 32%),
    linear-gradient(135deg, #78350f 0%, #9a3412 52%, #431407 100%);
}

.page-hero {
  width: min(var(--container), calc(100% - 32px));
  margin: 34px auto 0;
  padding: 54px;
  border-radius: 32px;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  align-items: end;
  box-shadow: var(--shadow);
}

.slim-hero,
.search-hero {
  grid-template-columns: 1fr;
}

.page-hero h1 {
  margin: 12px 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #ffedd5;
  line-height: 1.8;
}

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

.category-card {
  min-height: 160px;
  padding: 24px;
  border-radius: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber-900);
  font-size: 24px;
  font-weight: 900;
}

.category-card strong {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.all-card {
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.local-filter,
.search-page-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.local-filter button {
  padding: 0 18px;
  color: var(--amber-900);
  background: #fef3c7;
}

.category-nav-bar {
  width: min(var(--container), calc(100% - 32px));
  margin: 22px auto 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.category-nav-bar a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--amber-900);
  font-size: 14px;
  font-weight: 800;
  background: #ffedd5;
}

.empty-state {
  display: none;
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 70px 82px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(217, 119, 6, 0.12);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.ranking-index {
  color: var(--amber-700);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.ranking-row img {
  width: 82px;
  height: 108px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-copy {
  display: grid;
  gap: 6px;
}

.ranking-copy strong {
  color: var(--amber-900);
  font-size: 20px;
}

.ranking-copy em,
.ranking-copy span {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.ranking-badge {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff7ed;
  font-weight: 900;
  background: var(--amber-700);
}

.search-summary {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  min-height: 560px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(22px) saturate(1.2);
  transform: scale(1.12);
  opacity: 0.68;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(67, 20, 7, 0.96), rgba(120, 53, 15, 0.82), rgba(67, 20, 7, 0.68));
}

.detail-wrap {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  color: #fed7aa;
  font-size: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  width: 100%;
  border-radius: 30px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  margin: 16px 0;
  color: #fff7ed;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
}

.lead-text {
  max-width: 760px;
  margin: 0 0 22px;
  color: #ffedd5;
  font-size: 19px;
  line-height: 1.85;
}

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

.detail-meta span {
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 247, 237, 0.12);
  border: 1px solid rgba(255, 247, 237, 0.2);
}

.detail-tags a {
  padding: 8px 12px;
  color: #fff7ed;
  background: rgba(146, 64, 14, 0.56);
  border: 1px solid rgba(253, 230, 138, 0.26);
}

.detail-copy .btn-primary {
  margin-top: 28px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow);
}

.player-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #fff7ed;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(67, 20, 7, 0.24), rgba(0, 0, 0, 0.7));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-symbol {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: var(--amber-900);
  font-size: 34px;
  background: #fef3c7;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

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

.player-overlay em {
  color: #fed7aa;
  font-style: normal;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.story-card {
  padding: 30px;
  border-radius: 28px;
}

.story-card h2 {
  margin: 10px 0 18px;
  color: var(--amber-900);
  font-size: 30px;
}

.story-card p {
  color: #5f4127;
  font-size: 16px;
  line-height: 2;
}

.side-story {
  align-self: start;
}

.site-footer {
  margin-top: 74px;
  color: #ffedd5;
  background: linear-gradient(90deg, #431407, var(--amber-900));
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff7ed;
  font-size: 24px;
  font-weight: 900;
}

.footer-inner p {
  margin: 0;
  color: #fed7aa;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
  max-width: 520px;
}

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

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

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

  .hero-slide {
    grid-template-columns: 1fr 280px;
    padding: 42px;
  }

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

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

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

@media (max-width: 820px) {
  .hero-stage {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 32px;
  }

  .hero-poster {
    width: min(280px, 100%);
  }

  .hero-controls {
    left: 32px;
    bottom: 28px;
  }

  .strip-inner,
  .split-layout,
  .page-hero,
  .detail-grid,
  .detail-content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    display: grid;
    align-items: start;
  }

  .detail-poster {
    width: min(300px, 100%);
  }

  .ranking-row {
    grid-template-columns: 54px 70px 1fr;
  }

  .ranking-badge {
    grid-column: 3;
    justify-self: start;
  }

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

@media (max-width: 560px) {
  .brand-text strong {
    font-size: 19px;
  }

  .brand-text em {
    display: none;
  }

  .hero-shell {
    padding-top: 18px;
  }

  .hero-stage,
  .page-hero {
    border-radius: 24px;
  }

  .hero-stage {
    min-height: 720px;
  }

  .hero-slide,
  .page-hero,
  .story-card,
  .panel-card,
  .soft-panel {
    padding: 22px;
  }

  .hero-copy h1,
  .detail-copy h1 {
    letter-spacing: -1px;
  }

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

  .featured-grid,
  .catalog-grid,
  .six-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .local-filter,
  .search-page-form,
  .hero-search-card {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 48px 1fr;
  }

  .ranking-row img {
    display: none;
  }

  .ranking-badge {
    grid-column: 2;
  }
}
