:root {
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-amber-950: #451a03;
  --color-amber-900: #78350f;
  --color-amber-800: #92400e;
  --color-amber-700: #b45309;
  --color-amber-600: #d97706;
  --color-amber-500: #f59e0b;
  --color-amber-300: #fcd34d;
  --color-yellow-200: #fef08a;
  --color-cream: #fff7ed;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.20), transparent 32rem),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 42%, #f8fafc 100%);
  line-height: 1.6;
}

img,
video {
  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;
  color: #fffbeb;
  background: linear-gradient(90deg, #78350f 0%, #854d0e 45%, #451a03 100%);
  box-shadow: 0 12px 40px rgba(69, 26, 3, 0.30);
  backdrop-filter: blur(16px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.site-logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-amber-950);
  background: linear-gradient(135deg, var(--color-yellow-200), var(--color-amber-500));
  box-shadow: 0 0 28px rgba(252, 211, 77, 0.65);
}

.site-logo__text {
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  background: linear-gradient(90deg, #fef3c7, #fef08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  color: #fde68a;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: #fef08a;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff7ad;
}

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

.mobile-menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(254, 243, 199, 0.28);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.28rem auto;
  background: #fef3c7;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 1rem;
  flex-direction: column;
  gap: 0.75rem;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff7ed;
  background: linear-gradient(135deg, #451a03 0%, #78350f 44%, #111827 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(0deg, rgba(255, 247, 237, 1), rgba(255, 247, 237, 0));
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.32;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-bg-orb--one {
  width: 13rem;
  height: 13rem;
  top: 5rem;
  left: 7vw;
  background: #fcd34d;
}

.hero-bg-orb--two {
  width: 18rem;
  height: 18rem;
  right: 6vw;
  bottom: 5rem;
  background: #f59e0b;
  animation-delay: 1s;
}

.hero-bg-orb--three {
  width: 10rem;
  height: 10rem;
  left: 45%;
  top: 48%;
  background: #fde68a;
  animation-delay: 1.8s;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 6.5rem;
}

.hero-slide {
  display: none;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-slide.is-active {
  display: grid;
}

.hero-slide__copy {
  max-width: 710px;
}

.hero-eyebrow,
.page-hero__inner > span,
.section-heading > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.20);
  border: 1px solid rgba(252, 211, 77, 0.30);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-slide h1 {
  margin: 1.2rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  background: linear-gradient(90deg, #fff7ed 0%, #fef08a 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-summary {
  max-width: 46rem;
  margin: 0;
  color: #fde68a;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags {
  margin-top: 1.4rem;
}

.hero-tags span,
.tag-row span {
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  color: #78350f;
  background: #fef3c7;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions,
.detail-actions,
.section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  color: #451a03;
  background: linear-gradient(135deg, #fef08a, #f59e0b);
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.35);
}

.button--ghost {
  color: #fef3c7;
  border-color: rgba(254, 243, 199, 0.32);
  background: rgba(255, 255, 255, 0.10);
}

.button--outline {
  color: var(--color-amber-900);
  border-color: rgba(180, 83, 9, 0.25);
  background: #fff7ed;
}

.hero-slide__poster {
  position: relative;
  min-height: 470px;
  border-radius: 2rem;
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.40);
}

.hero-slide__poster img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-slide__poster:hover img {
  transform: scale(1.07);
}

.hero-poster-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 10%, rgba(69, 26, 3, 0.30) 60%, rgba(0, 0, 0, 0.60)),
    radial-gradient(circle at top right, rgba(254, 240, 138, 0.22), transparent 45%);
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

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

.hero-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: #451a03;
  background: #fef3c7;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  background: rgba(254, 243, 199, 0.35);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 2.2rem;
  background: #fef08a;
}

.content-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.content-shell--raised {
  position: relative;
  z-index: 4;
  margin-top: -3.2rem;
  padding: clamp(1.3rem, 4vw, 2.2rem);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.content-shell--transparent {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-heading {
  margin-bottom: 1.7rem;
}

.section-heading h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: #111827;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 56rem;
  margin: 0.7rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.featured-grid,
.ranking-grid,
.movie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

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

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.20);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #92400e, #111827);
}

.movie-card--compact .movie-card__poster {
  aspect-ratio: 3 / 4;
}

.movie-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .movie-card__poster img {
  transform: scale(1.07);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.72) 100%);
}

.year-badge,
.rank-badge,
.play-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.76rem;
}

.year-badge {
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.28rem 0.55rem;
  color: #451a03;
  background: #fef3c7;
}

.rank-badge {
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.28rem 0.55rem;
  color: #ffffff;
  background: #dc2626;
}

.play-chip {
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.7rem;
  color: #451a03;
  background: linear-gradient(135deg, #fef08a, #f59e0b);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translateY(0);
}

.movie-card__body {
  padding: 1rem;
}

.movie-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--color-amber-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.movie-card h3 {
  margin: 0.45rem 0 0.45rem;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #111827;
}

.movie-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__line {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0 0 0.75rem;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row span {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.category-band {
  background:
    linear-gradient(135deg, rgba(120, 53, 15, 0.92), rgba(15, 23, 42, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(252, 211, 77, 0.30), transparent 30rem);
}

.category-band .section-heading h2,
.category-band .section-heading p {
  color: #fff7ed;
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.78));
}

.category-tile__content {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff7ed;
}

.category-tile__content strong,
.category-tile__content em {
  display: block;
}

.category-tile__content strong {
  font-size: 1.2rem;
}

.category-tile__content em {
  color: #fde68a;
  font-style: normal;
  font-size: 0.88rem;
}

.filter-panel {
  margin: 1.8rem 0;
  padding: 1rem;
  border: 1px solid rgba(180, 83, 9, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.search-box,
.sort-box {
  display: grid;
  gap: 0.45rem;
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 900;
}

.search-box input,
.sort-box select {
  width: 100%;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: #111827;
}

.search-box input:focus,
.sort-box select:focus {
  border-color: var(--color-amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-panel__tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid rgba(180, 83, 9, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: #78350f;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.chip.is-active,
.chip:hover {
  color: #ffffff;
  background: var(--color-amber-700);
}

.result-count {
  margin: 0.9rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.empty-state {
  display: none;
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  color: #92400e;
  background: #fffbeb;
}

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

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff7ed;
  background: linear-gradient(135deg, #451a03, #111827);
}

.page-hero--compact {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.page-hero--image {
  min-height: 430px;
}

.page-hero--image > img,
.detail-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay,
.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(69, 26, 3, 0.92), rgba(15, 23, 42, 0.62)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
}

.page-hero__inner,
.detail-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-hero--image .page-hero__inner {
  padding: 5.5rem 0;
}

.page-hero__inner h1 {
  margin: 0.8rem 0 0.5rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
}

.page-hero__inner p {
  max-width: 42rem;
  margin: 0;
  color: #fde68a;
  font-size: 1.12rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: #fde68a;
  font-size: 0.92rem;
}

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

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

.category-overview-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.category-overview-card__posters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 150px;
  background: #111827;
}

.category-overview-card__posters img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.category-overview-card__body {
  padding: 1.25rem;
}

.category-overview-card__body span {
  color: var(--color-amber-700);
  font-size: 0.82rem;
  font-weight: 900;
}

.category-overview-card__body h2 {
  margin: 0.35rem 0;
  color: #111827;
}

.category-overview-card__body p {
  color: var(--color-muted);
}

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

.rank-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.rank-hero-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff7ed;
}

.rank-hero-card--1 {
  min-height: 360px;
}

.rank-hero-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

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

.rank-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #451a03;
  background: #fef08a;
  font-size: 1.25rem;
  font-weight: 900;
}

.rank-hero-card__body {
  position: absolute;
  z-index: 2;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
}

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

.rank-hero-card__body strong {
  font-size: 1.3rem;
}

.rank-hero-card__body em {
  color: #fde68a;
  font-style: normal;
}

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

.detail-hero__inner {
  padding: 4.5rem 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

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

.detail-copy h1 {
  margin: 1rem 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.detail-one-line {
  max-width: 48rem;
  color: #fde68a;
  font-size: 1.18rem;
}

.detail-tags span {
  margin-top: 0.1rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #020617;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  color: #fff7ed;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.78)),
    radial-gradient(circle at center, rgba(245, 158, 11, 0.28), transparent 22rem);
  cursor: pointer;
}

.play-overlay.is-hidden {
  display: none;
}

.play-overlay__icon {
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #451a03;
  background: linear-gradient(135deg, #fef08a, #f59e0b);
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.58);
  font-size: 1.8rem;
}

.play-overlay strong {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.play-overlay em {
  color: #fde68a;
  font-style: normal;
}

.player-status {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
}

.detail-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1.5rem;
}

.detail-text__main,
.detail-info-card {
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.detail-text__main {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.detail-text__main h2,
.detail-info-card h2 {
  margin: 0 0 0.75rem;
  color: #111827;
}

.detail-text__main p {
  margin: 0 0 1.35rem;
  color: #374151;
}

.detail-info-card {
  padding: 1.4rem;
  align-self: start;
}

.detail-info-card dl {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.detail-info-card dt {
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-info-card dd {
  margin: -0.65rem 0 0;
  color: #111827;
}

.site-footer {
  color: #fde68a;
  background: linear-gradient(180deg, #111827, #451a03);
}

.site-footer__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p,
.footer-meta span {
  color: #fcd34d;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

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

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

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1rem, -1rem, 0) scale(1.08);
  }
}

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

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

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

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

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

  .hero-slide,
  .detail-layout,
  .detail-text,
  .site-footer__inner,
  .rank-hero-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide__poster {
    min-height: 360px;
    transform: none;
  }

  .hero-slide__poster img {
    min-height: 360px;
  }

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

  .filter-panel__tools {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero__inner {
    padding-top: 3.8rem;
  }

  .hero {
    min-height: auto;
  }

  .featured-grid,
  .ranking-grid,
  .movie-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .content-shell,
  .site-header__inner,
  .mobile-nav,
  .site-footer__inner,
  .page-hero__inner,
  .detail-hero__inner,
  .hero__inner {
    width: min(100% - 1rem, 1180px);
  }

  .content-shell--raised {
    margin-top: -1.4rem;
  }

  .movie-card--compact .movie-card__poster {
    aspect-ratio: 16 / 10;
  }
}
