:root {
  --primary-50: #f0f9f4;
  --primary-100: #dcf2e4;
  --primary-200: #bce5cd;
  --primary-400: #5ab889;
  --primary-600: #267f56;
  --primary-700: #1f6546;
  --accent-50: #fef9ee;
  --accent-100: #fcefd0;
  --accent-200: #f8dc9e;
  --accent-400: #f0a838;
  --accent-600: #cf6913;
  --accent-700: #ac4a12;
  --ink-400: #888888;
  --ink-500: #6d6d6d;
  --ink-600: #5d5d5d;
  --ink-700: #4f4f4f;
  --ink-900: #3d3d3d;
  --paper-50: #fafaf9;
  --paper-200: #e7e5e4;
  --paper-300: #d6d3d1;
  --paper-400: #a8a29e;
  --paper-500: #78716c;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.16);
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.35rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper-50);
  color: var(--ink-900);
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--primary-100);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  max-width: 80rem;
  height: 4rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(38, 127, 86, 0.28);
  font-size: 0.9rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  color: var(--ink-900);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__tagline {
  color: var(--ink-500);
  font-size: 0.75rem;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.35rem;
  height: 2px;
  background: var(--primary-600);
}

.mobile-menu-button {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0.55rem;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink-700);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--primary-100);
  background: var(--white);
}

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

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  color: var(--ink-700);
  font-weight: 600;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: var(--primary-50);
  color: var(--primary-700);
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  background: var(--ink-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.1s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.05));
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 {
  max-width: 44rem;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.hero-subtitle {
  margin: 1rem 0 0;
  color: var(--paper-200);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 300;
}

.hero-copy {
  max-width: 42rem;
  margin: 1rem 0 2rem;
  color: var(--paper-300);
  font-size: 1.05rem;
}

.hero-feature-card {
  max-width: 42rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.hero-feature-card h2 {
  margin: 0.45rem 0;
  color: var(--white);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.hero-feature-card p {
  margin: 0;
  color: var(--paper-200);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.button--primary {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(38, 127, 86, 0.24);
}

.button--primary:hover {
  background: var(--primary-700);
}

.button--glass {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow--prev {
  left: 1rem;
}

.hero-arrow--next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 2.1rem;
  background: var(--white);
}

.page-shell {
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.page-shell--top {
  padding-top: 2rem;
}

.section-block {
  margin-bottom: 4rem;
}

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

.section-heading h2 {
  margin: 0 0 0.35rem;
  color: var(--ink-900);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--ink-600);
}

.movie-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.featured-wrap {
  max-width: 56rem;
  margin: 0 auto;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.movie-card__link {
  display: block;
  height: 100%;
}

.movie-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--ink-900);
}

.movie-card--featured .movie-card__media {
  aspect-ratio: 16 / 9;
}

.movie-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-card__media::after,
.movie-card--featured .movie-card__media::after {
  opacity: 1;
}

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

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

.movie-card__duration {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.18rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(61, 61, 61, 0.82);
  color: var(--white);
  font-size: 0.75rem;
}

.movie-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-600);
  color: var(--white);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .movie-card__play,
.movie-card--featured .movie-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card__body {
  padding: 1rem;
}

.movie-card--featured .movie-card__body {
  padding: 1.4rem;
}

.movie-card__tags,
.detail-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.movie-card__tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.75rem;
  font-weight: 700;
}

.movie-card__tags span:nth-child(even),
.tag-cloud span:nth-child(even) {
  background: var(--accent-100);
  color: var(--accent-700);
}

.movie-card h3 {
  margin: 0.65rem 0 0.35rem;
  color: var(--ink-900);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.1rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--primary-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 2.85rem;
  margin: 0 0 0.95rem;
  overflow: hidden;
  color: var(--ink-600);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--ink-500);
  font-size: 0.82rem;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent-600);
  font-weight: 700;
}

.rating__star {
  color: var(--accent-400);
}

.rating__bar {
  width: 2.6rem;
  height: 0.28rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--accent-100);
}

.rating__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-600);
}

.category-panel {
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
}

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

.category-tile {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink-900);
  box-shadow: var(--shadow-md);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-tile:hover img {
  opacity: 0.7;
  transform: scale(1.06);
}

.category-tile span,
.category-tile p {
  position: absolute;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  color: var(--white);
}

.category-tile span {
  bottom: 3.3rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.category-tile p {
  bottom: 0.85rem;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--paper-200);
  font-size: 0.82rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-panel {
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list a {
  display: grid;
  grid-template-columns: auto 4rem 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem;
  border-radius: var(--radius-lg);
  transition: background 0.2s ease;
}

.rank-list a:hover {
  background: var(--primary-50);
}

.rank-number {
  width: 2rem;
  color: var(--accent-600);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.rank-list img {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.45rem;
}

.rank-title {
  color: var(--ink-900);
  font-weight: 700;
}

.rank-score {
  color: var(--accent-600);
  font-weight: 800;
}

.page-hero {
  margin-bottom: 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
}

.page-hero--soft {
  border: 1px solid var(--primary-100);
  background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
}

.page-hero--dark {
  background: linear-gradient(135deg, var(--ink-900), var(--primary-700));
  color: var(--white);
}

.page-hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.page-hero p:last-child {
  max-width: 48rem;
  margin: 0;
  color: var(--ink-600);
  font-size: 1.05rem;
}

.page-hero--dark p:last-child {
  color: var(--paper-200);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-700);
  font-weight: 700;
}

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

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

.category-overview-card__media {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 9rem;
  overflow: hidden;
  background: var(--ink-900);
}

.category-overview-card__media img {
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

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

.category-overview-card h2 {
  margin: 0 0 0.55rem;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}

.category-overview-card p {
  margin: 0 0 1rem;
  color: var(--ink-600);
}

.category-overview-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.category-overview-card__links a {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.filter-panel {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.search-box span {
  color: var(--ink-700);
  font-weight: 700;
}

.search-box input {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-lg);
  padding: 0 1rem;
  outline: none;
  background: var(--paper-50);
}

.search-box input:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(38, 127, 86, 0.12);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-button {
  min-height: 2.25rem;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: var(--primary-50);
  color: var(--ink-700);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

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

.empty-state {
  display: none;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--ink-500);
  text-align: center;
}

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

.ranking-list {
  display: grid;
  gap: 0.9rem;
}

.ranking-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ranking-card a {
  display: grid;
  grid-template-columns: 3rem 7rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
}

.ranking-card__number {
  color: var(--accent-600);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
}

.ranking-card img {
  width: 7rem;
  height: 5rem;
  border-radius: 0.7rem;
  object-fit: cover;
}

.ranking-card__content {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.ranking-card__content strong {
  color: var(--ink-900);
  font-size: 1.05rem;
}

.ranking-card__content em {
  color: var(--ink-600);
  font-style: normal;
}

.ranking-card__content span {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.ranking-card__score {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-weight: 800;
}

.detail-page {
  max-width: 78rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--ink-900), var(--primary-700));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.detail-hero__poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

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

.detail-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.detail-hero__content p:not(.eyebrow) {
  max-width: 46rem;
  margin: 0 0 1.25rem;
  color: var(--paper-200);
  font-size: 1.05rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.detail-meta span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.player-section {
  margin-bottom: 2rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #000000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22));
  color: var(--white);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay__icon {
  width: 5rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-600);
  box-shadow: 0 18px 45px rgba(38, 127, 86, 0.35);
  font-size: 2rem;
}

.player-overlay__title {
  max-width: 80%;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.detail-article,
.detail-side {
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.detail-article {
  padding: 2rem;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 1rem;
  color: var(--ink-900);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}

.detail-article h2:not(:first-child) {
  margin-top: 2rem;
}

.detail-article p {
  margin: 0;
  color: var(--ink-600);
  font-size: 1rem;
}

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

.detail-side dl {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.7rem 1rem;
  margin: 0;
}

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

.detail-side dd {
  margin: 0;
  color: var(--ink-900);
}

.site-footer {
  margin-top: 2rem;
  background: var(--ink-900);
  color: var(--paper-200);
}

.site-footer__inner {
  width: min(80rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--paper-300);
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--paper-300);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-700);
  color: var(--paper-400);
  font-size: 0.85rem;
  text-align: center;
}

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

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

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

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

  .brand__tagline {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 580px;
  }

  .hero-slide__content {
    padding: 5.5rem 0 4.5rem;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid--four,
  .movie-grid--three,
  .category-grid,
  .rank-list,
  .category-overview-grid,
  .footer-grid,
  .detail-content-grid,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .ranking-card a {
    grid-template-columns: 2.5rem 5rem 1fr;
  }

  .ranking-card__score {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .detail-hero {
    padding: 1.25rem;
  }
}

@media (max-width: 560px) {
  .site-header__inner,
  .page-shell,
  .site-footer__inner {
    width: min(100% - 1rem, 80rem);
  }

  .page-shell {
    padding-top: 1rem;
  }

  .hero-feature-card,
  .category-panel,
  .rank-panel,
  .page-hero,
  .detail-article {
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .movie-grid--four,
  .movie-grid--three,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card a {
    grid-template-columns: 2.3rem 4.4rem 1fr;
    gap: 0.7rem;
  }

  .ranking-card img {
    width: 4.4rem;
    height: 3.4rem;
  }

  .search-box {
    grid-template-columns: 1fr;
  }
}
