:root {
  color-scheme: light;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --slate-950: #111827;
  --slate-800: #1f2937;
  --slate-700: #374151;
  --slate-600: #4b5563;
  --slate-500: #6b7280;
  --slate-200: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 18px rgba(146, 64, 14, 0.12);
  --shadow-lg: 0 20px 45px rgba(146, 64, 14, 0.22);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --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(--slate-800);
  background: linear-gradient(180deg, var(--amber-50), #fff7ed 34%, #ffffff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(252, 211, 77, 0.45);
  box-shadow: var(--shadow-sm);
}

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

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-700), var(--orange-500));
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.26);
  font-size: 14px;
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--amber-800), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--slate-700);
  font-weight: 650;
}

.nav-link {
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
  transition: transform 0.2s ease;
}

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

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input,
.filter-bar select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--slate-800);
}

.header-search input {
  width: 210px;
  padding: 9px 6px 9px 14px;
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  padding: 9px 16px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.22);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-size: 22px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--amber-200);
  background: #fff;
}

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

.mobile-search,
.mobile-nav {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 16px 0 8px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
}

.mobile-nav {
  display: grid;
  gap: 8px;
  padding: 8px 0 18px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--slate-700);
  background: var(--amber-50);
}

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

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

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 10% 20%, rgba(253, 230, 138, 0.32), transparent 28%), linear-gradient(135deg, #92400e 0%, #d97706 46%, #ea580c 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-orb-a {
  width: 340px;
  height: 340px;
  left: 7%;
  top: 50px;
}

.hero-orb-b {
  width: 480px;
  height: 480px;
  right: -120px;
  bottom: -110px;
}

.hero-stage {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.78fr);
  gap: 56px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber-200);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.hero-line {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(20px, 2.5vw, 28px);
  color: #fff7ed;
  font-weight: 750;
}

.hero-summary {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 251, 235, 0.86);
  font-size: 17px;
}

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

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

.hero-tags span,
.detail-tags a,
.tag-row span,
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.hero-tags span {
  padding: 8px 13px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.primary-button,
.ghost-button,
.text-link,
.row-action,
.side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  min-height: 46px;
  padding: 12px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  box-shadow: 0 14px 28px rgba(146, 64, 14, 0.24);
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
}

.primary-button.small {
  min-height: 40px;
  padding: 10px 18px;
}

.ghost-button {
  min-height: 46px;
  padding: 11px 22px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(17, 24, 39, 0.34);
  transform: rotate(1.5deg);
}

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

.hero-poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62), transparent);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}

.hero-dot.is-active {
  background: #fff;
}

.quick-search-section {
  margin-top: -46px;
  position: relative;
  z-index: 3;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(252, 211, 77, 0.52);
}

.quick-search-card h2,
.section-title-row h2,
.page-hero h1,
.detail-copy h1,
.content-card h2,
.side-card h2,
.player-card h2 {
  margin: 0;
  color: var(--slate-950);
  line-height: 1.16;
}

.quick-search-card h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.quick-search-card p,
.section-title-row p,
.category-card p,
.category-overview-body p,
.page-hero p,
.content-card p,
.rank-body p,
.detail-one-line {
  color: var(--slate-600);
}

.big-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.big-search input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
}

.big-search button {
  min-width: 110px;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 38px;
}

.feature-strip > a,
.chip {
  padding: 10px 16px;
  color: var(--amber-800);
  border: 1px solid var(--amber-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feature-strip > a:hover,
.chip:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

.section-inner {
  padding-top: 72px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title-row.stacked {
  display: block;
}

.section-title-row h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.section-kicker {
  color: var(--amber-700);
}

.text-link {
  color: var(--amber-700);
  padding: 9px 14px;
  background: var(--amber-100);
}

.text-link:hover {
  background: var(--amber-200);
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow-lg);
}

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

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

.compact-card .poster-wrap img {
  aspect-ratio: 16 / 10;
}

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent);
}

.duration-pill,
.rank-badge {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.duration-pill {
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  background: rgba(0, 0, 0, 0.66);
}

.rank-badge {
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  background: linear-gradient(135deg, var(--red-500), var(--orange-500));
}

.movie-info {
  padding: 16px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--slate-500);
  font-size: 13px;
}

.movie-info h3,
.rank-body h3 {
  margin: 0;
  color: var(--slate-950);
  font-size: 18px;
  line-height: 1.35;
}

.movie-info h3 a:hover,
.rank-body h3 a:hover {
  color: var(--amber-700);
}

.movie-info p {
  min-height: 48px;
  margin: 8px 0 12px;
  color: var(--slate-600);
  font-size: 14px;
}

.tag-row span {
  padding: 5px 9px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-size: 12px;
}

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

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

.category-card,
.category-overview-card,
.ranking-panel,
.content-card,
.side-card,
.player-card,
.filter-bar {
  border: 1px solid rgba(252, 211, 77, 0.48);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.category-card {
  display: block;
  min-height: 188px;
  padding: 22px;
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

.category-card h3 {
  margin: 0 0 8px;
  color: var(--slate-950);
  font-size: 22px;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.category-samples span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-size: 12px;
}

.ranking-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
  align-self: start;
}

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

.rank-row {
  display: grid;
  grid-template-columns: auto 104px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mini-ranking .rank-row {
  grid-template-columns: auto 84px minmax(0, 1fr);
}

.mini-ranking .row-action {
  display: none;
}

.list-rank {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-700), var(--orange-500));
  font-weight: 900;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 12px;
}

.rank-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.row-action {
  padding: 9px 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

.page-hero {
  padding: 78px 0 12px;
  color: #fff;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.14), transparent 26%), linear-gradient(135deg, var(--amber-700), var(--orange-600));
}

.page-hero .section-inner {
  padding-top: 0;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(40px, 7vw, 64px);
}

.page-hero p {
  max-width: 760px;
  color: #fff7ed;
  font-size: 18px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: rgba(255, 247, 237, 0.86);
  font-size: 14px;
}

.crumbs a:hover {
  color: #fff;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  min-height: 230px;
  background: var(--amber-100);
}

.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 114px;
  object-fit: cover;
}

.category-overview-body {
  padding: 28px 28px 28px 0;
}

.category-overview-body h2 {
  margin: 0;
  font-size: 30px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 700;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--amber-200);
  border-radius: 14px;
  background: #fff;
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(8px);
  transform: scale(1.05);
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(146, 64, 14, 0.75));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  padding-top: 70px;
  padding-bottom: 62px;
}

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

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

.detail-copy h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 58px);
}

.detail-one-line {
  max-width: 820px;
  margin: 18px 0 0;
  color: #fff7ed;
  font-size: 20px;
  font-weight: 700;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff7ed;
  font-weight: 750;
}

.detail-tags a {
  padding: 7px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-copy .primary-button {
  margin-top: 26px;
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.player-card,
.content-card,
.side-card {
  border-radius: var(--radius-xl);
  padding: 22px;
}

.player-card h2,
.content-card h2,
.side-card h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.26);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.58));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  display: inline-grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.34);
  font-size: 30px;
  padding-left: 4px;
}

.hidden-play-button {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  background: rgba(17, 24, 39, 0.82);
  text-align: center;
}

.content-card p {
  margin: 0;
  font-size: 17px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
}

.info-list dt {
  color: var(--slate-500);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: var(--slate-800);
}

.side-link {
  width: 100%;
  justify-content: flex-start;
  padding: 11px 14px;
  margin-top: 10px;
  color: var(--amber-800);
  background: var(--amber-100);
}

.side-link:hover {
  background: var(--amber-200);
}

.related-section {
  padding-bottom: 80px;
}

.site-footer {
  margin-top: 60px;
  color: var(--amber-50);
  background: linear-gradient(135deg, var(--amber-800), #7c2d12);
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 40px;
  padding: 46px 0;
}

.footer-main p {
  max-width: 420px;
  color: var(--amber-100);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a {
  color: var(--amber-100);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 230, 138, 0.24);
  padding: 18px;
  color: var(--amber-100);
  text-align: center;
}

[data-card].is-hidden {
  display: none;
}

.search-page-form {
  max-width: 680px;
  margin-top: 24px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  border-radius: var(--radius-xl);
  color: var(--slate-600);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

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

  .movie-grid,
  .latest-grid,
  .category-movie-grid,
  .search-results,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .ranking-panel {
    order: -1;
  }
}

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-slider,
  .hero-stage {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    align-content: center;
    padding: 42px 0 74px;
  }

  .hero-poster {
    max-width: 310px;
    margin: 0 auto;
  }

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

  .category-overview-body {
    padding: 0 24px 24px;
  }

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

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

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

@media (max-width: 640px) {
  .header-inner {
    height: 62px;
  }

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

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

  .hero-line {
    font-size: 19px;
  }

  .hero-actions,
  .big-search,
  .mobile-search,
  .section-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .big-search {
    border-radius: 24px;
  }

  .big-search button,
  .big-search input {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 24px, var(--container));
    padding-top: 54px;
  }

  .movie-grid,
  .latest-grid,
  .category-movie-grid,
  .search-results,
  .related-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .rank-row,
  .mini-ranking .rank-row {
    grid-template-columns: auto 86px minmax(0, 1fr);
  }

  .row-action {
    display: none;
  }

  .page-hero {
    padding-top: 58px;
  }

  .info-list div {
    grid-template-columns: 1fr;
  }
}
