:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --shadow-soft: 0 18px 50px rgba(146, 64, 14, 0.16);
  --shadow-card: 0 12px 34px rgba(120, 53, 15, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--amber-50), var(--orange-50) 44%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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: 80;
  border-bottom: 1px solid rgba(217, 119, 6, 0.25);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(254, 243, 199, 0.96), rgba(255, 237, 213, 0.96));
  box-shadow: 0 8px 28px rgba(146, 64, 14, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-800);
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.32);
}

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

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

.nav-link,
.mobile-link {
  border-radius: 12px;
  color: var(--amber-800);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--amber-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 20px;
  background: var(--amber-800);
}

.mobile-nav {
  display: none;
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(217, 119, 6, 0.18);
}

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

.hero-carousel {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--amber-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

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

.hero-slide img,
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.active img {
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 22%, rgba(245, 158, 11, 0.34), transparent 32%),
    linear-gradient(90deg, rgba(69, 26, 3, 0.92), rgba(120, 53, 15, 0.78) 46%, rgba(194, 65, 12, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--amber-50);
}

.eyebrow,
.section-heading span,
.page-hero span,
.title-block > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: var(--amber-200);
}

.hero-content h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--amber-100);
  font-size: clamp(17px, 2.3vw, 24px);
  line-height: 1.65;
}

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

.hero-tags span,
.detail-meta span,
.tag-row span,
.detail-tags span,
.filter-chips button {
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--amber-800);
  background: rgba(254, 243, 199, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 18px 35px rgba(217, 119, 6, 0.35);
}

.ghost-button {
  color: var(--amber-50);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

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

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.86);
  font-size: 28px;
  line-height: 1;
}

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

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

.hero-dot.active {
  width: 28px;
  background: var(--amber-200);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 0;
}

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

.section-heading h2,
.page-hero h1,
.title-block h1 {
  margin: 0;
  color: var(--amber-900);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--amber-700);
  font-weight: 900;
}

.compact-heading {
  margin-bottom: 18px;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.search-copy {
  border-radius: var(--radius-xl);
  padding: 30px;
  color: var(--amber-50);
  background: linear-gradient(135deg, var(--amber-900), var(--orange-700));
  box-shadow: var(--shadow-soft);
}

.search-copy span {
  color: var(--amber-200);
  font-weight: 900;
}

.search-copy h2 {
  margin: 12px 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.search-copy p {
  margin: 0;
  color: var(--amber-100);
  line-height: 1.75;
}

.search-box,
.filter-bar {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.search-box input,
.search-box select,
.filter-bar input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--amber-200);
  border-radius: 16px;
  padding: 0 16px;
  outline: none;
  color: var(--amber-900);
  background: var(--white);
}

.search-box input:focus,
.search-box select:focus,
.filter-bar input:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

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

.search-result-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  border-radius: 18px;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.search-result-card img {
  width: 76px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
}

.search-result-card strong,
.card-title,
.wide-body strong,
.rank-card-body a {
  color: var(--gray-900);
  font-weight: 900;
  line-height: 1.35;
}

.search-result-card span,
.search-result-card small {
  display: block;
  margin-top: 5px;
  color: var(--gray-600);
  font-size: 12px;
  line-height: 1.5;
}

.movie-grid,
.poster-grid,
.category-grid,
.rank-card-grid {
  display: grid;
  gap: 24px;
}

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

.featured-grid {
  align-items: stretch;
}

.catalog-grid {
  margin-top: 28px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.14);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover,
.category-tile:hover,
.rank-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 58px rgba(146, 64, 14, 0.18);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--amber-100);
}

.card-media img,
.poster-media img,
.wide-cover img,
.category-mosaic img,
.rank-card-cover img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .card-media img,
.poster-card:hover img,
.wide-card:hover img,
.rank-card:hover img {
  transform: scale(1.08);
}

.card-duration {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 20px;
}

.card-title {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  transition: color 0.2s ease;
}

.card-title:hover,
.wide-body strong:hover,
.rank-card-body a:hover {
  color: var(--amber-700);
}

.card-body p,
.wide-body span,
.rank-card-body p,
.detail-section p,
.title-block p,
.page-hero p {
  color: var(--gray-600);
  line-height: 1.75;
}

.card-body p {
  min-height: 58px;
  margin: 0 0 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
}

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

.poster-card {
  display: block;
}

.poster-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--amber-100);
  box-shadow: var(--shadow-card);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78));
}

.poster-title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

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

.wide-list,
.rank-list {
  display: grid;
  gap: 16px;
}

.wide-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.wide-cover {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  border-radius: 16px;
  background: var(--amber-100);
}

.wide-cover span {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
  font-size: 11px;
  font-weight: 900;
}

.wide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.wide-body em {
  margin: 7px 0;
  color: var(--amber-700);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.wide-body span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wide-body small {
  margin-top: 8px;
  color: var(--gray-500);
  font-weight: 800;
}

.rank-block {
  position: sticky;
  top: 94px;
  border-radius: var(--radius-xl);
  padding: 22px;
  background: linear-gradient(180deg, var(--amber-900), #451a03);
  box-shadow: var(--shadow-soft);
}

.rank-block .section-heading h2,
.rank-block .section-heading span {
  color: var(--amber-100);
}

.rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  padding: 12px;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.14);
}

.rank-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-200);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta {
  color: var(--amber-200);
  font-size: 12px;
}

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

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

.category-tile {
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.14);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 118px;
  overflow: hidden;
  background: var(--amber-100);
}

.category-info {
  display: block;
  padding: 18px;
}

.category-info strong {
  display: block;
  color: var(--amber-900);
  font-size: 20px;
  font-weight: 900;
}

.category-info small {
  display: block;
  margin-top: 9px;
  color: var(--gray-600);
  line-height: 1.65;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 72px 16px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.26), transparent 30%),
    linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

.page-hero > div {
  width: min(840px, 100%);
}

.page-hero p {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 18px;
}

.filter-shell {
  padding-top: 46px;
}

.filter-chips button {
  border: 0;
  cursor: pointer;
}

.filter-chips button.active,
.filter-chips button:hover {
  color: var(--white);
  background: var(--amber-600);
}

.rank-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.rank-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.rank-card-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: var(--amber-100);
}

.rank-card-cover span {
  position: absolute;
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-200);
  font-weight: 900;
}

.rank-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rank-card-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.rank-card-body small {
  color: var(--gray-500);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 58px;
  background: var(--amber-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.detail-backdrop span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(69, 26, 3, 0.78), var(--amber-900));
}

.detail-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--amber-100);
  font-size: 14px;
  font-weight: 800;
}

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

.breadcrumb a::after {
  content: "/";
  margin-left: 10px;
  color: rgba(254, 243, 199, 0.5);
}

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

.player-card,
.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.36);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: var(--black);
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52));
  cursor: pointer;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 20px 50px rgba(217, 119, 6, 0.42);
  font-size: 34px;
  transform: translateX(3px);
}

.player-frame.playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.detail-poster {
  aspect-ratio: 3 / 4;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}

.detail-main,
.detail-side {
  border: 1px solid rgba(217, 119, 6, 0.14);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.title-block p {
  margin: 18px 0 20px;
  font-size: 18px;
}

.detail-section {
  margin-top: 34px;
}

.detail-section h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--amber-900);
  font-size: 24px;
}

.detail-section p {
  margin: 0;
  font-size: 17px;
}

.detail-tags {
  margin-top: 28px;
}

.detail-side {
  align-self: start;
  position: sticky;
  top: 94px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px 16px;
  margin: 0;
}

.detail-side dt {
  color: var(--amber-700);
  font-weight: 900;
}

.detail-side dd {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.5;
}

.related-grid {
  margin-bottom: 70px;
}

.site-footer {
  margin-top: 82px;
  color: var(--amber-50);
  background: linear-gradient(180deg, var(--amber-900), #451a03);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 0.8fr 1fr;
  gap: 34px;
  padding: 46px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.footer-logo span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--amber-600);
}

.footer-brand p {
  max-width: 450px;
  color: var(--amber-200);
  line-height: 1.75;
}

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

.footer-group h2 {
  margin: 0 0 6px;
  color: var(--amber-100);
  font-size: 18px;
}

.footer-group a {
  color: var(--amber-200);
  font-size: 14px;
}

.footer-group a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 16px;
  color: var(--amber-200);
  text-align: center;
  font-size: 14px;
}

.is-hidden {
  display: none !important;
}

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

  .menu-toggle {
    display: block;
  }

  .site-header.open .mobile-nav {
    display: grid;
    gap: 6px;
  }

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

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

  .split-section,
  .search-panel,
  .detail-content,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .rank-block,
  .detail-side {
    position: static;
  }

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

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

@media (max-width: 720px) {
  .brand-text {
    font-size: 20px;
  }

  .hero-carousel {
    height: 620px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 98px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-actions,
  .hero-tags {
    width: 100%;
  }

  .primary-button,
  .ghost-button {
    flex: 1 1 180px;
  }

  .section-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 48px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .poster-grid,
  .category-grid,
  .large-category-grid,
  .rank-card-grid,
  .search-results {
    grid-template-columns: 1fr;
  }

  .wide-card,
  .rank-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .wide-cover {
    min-height: 132px;
  }

  .detail-hero {
    padding-top: 24px;
  }

  .detail-main,
  .detail-side {
    padding: 22px;
  }

  .player-start span {
    width: 72px;
    height: 72px;
  }

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