:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --teal-600: #0d9488;
  --teal-100: #ccfbf1;
  --amber-500: #f59e0b;
  --amber-50: #fffbeb;
  --orange-500: #f97316;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 50px rgba(15, 23, 42, 0.13);
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, rgba(236, 253, 245, 0.42) 45%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--emerald-700), var(--teal-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-600));
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.3);
  font-size: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--gray-700);
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--emerald-700);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--emerald-600), var(--teal-600));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--emerald-700);
  background: var(--emerald-50);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.2), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(245, 158, 11, 0.18), transparent 26%),
    linear-gradient(135deg, #d1fae5 0%, #f0fdfa 48%, #fffbeb 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: linear-gradient(rgba(6, 95, 70, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 95, 70, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, #ffffff, transparent);
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 52px;
  align-items: center;
  min-height: 640px;
  padding: 64px 0 92px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  color: var(--emerald-800);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 750;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  background: linear-gradient(90deg, var(--emerald-800), var(--teal-600), var(--emerald-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 660px;
  margin: 0 0 30px;
  color: var(--gray-700);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.section-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 750;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald-600), var(--teal-600));
  box-shadow: 0 18px 34px rgba(5, 150, 105, 0.24);
}

.btn-outline {
  color: var(--emerald-700);
  border-color: var(--emerald-600);
  background: rgba(255, 255, 255, 0.78);
}

.btn-light {
  color: var(--emerald-700);
  background: #ffffff;
}

.hero-panel {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(26px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-card {
  position: relative;
  overflow: hidden;
  height: 520px;
  border-radius: var(--radius-3xl);
  box-shadow: 0 34px 70px rgba(6, 78, 59, 0.28);
  background: var(--gray-100);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.hero-card-content {
  position: absolute;
  inset: auto 0 0;
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.56) 58%, transparent 100%);
}

.hero-card-content h2,
.hero-card-content h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.hero-card-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-meta,
.card-meta,
.detail-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--emerald-700);
  background: var(--emerald-50);
  font-size: 0.78rem;
  font-weight: 750;
}

.hero-card .pill {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-dots {
  position: absolute;
  left: 34px;
  bottom: -32px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.26);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--emerald-600);
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.86), rgba(240, 253, 250, 0.9), rgba(255, 251, 235, 0.78));
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--emerald-700);
  font-weight: 850;
}

.section-title {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-desc {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--gray-600);
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: var(--radius-2xl);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.34);
  box-shadow: var(--shadow-lg);
}

.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--emerald-100), var(--teal-100));
}

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

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald-600), var(--teal-600));
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.28);
  font-size: 0.76rem;
  font-weight: 800;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.card-title {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
}

.movie-card:hover .card-title,
.rank-card:hover .rank-title,
.feature-card:hover .feature-title {
  color: var(--emerald-700);
}

.card-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  margin-top: auto;
  color: var(--gray-500);
  font-size: 0.8rem;
}

.scroll-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(5, 150, 105, 0.25);
}

.feature-card {
  flex: 0 0 310px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-body {
  padding: 18px;
}

.feature-title {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 850;
}

.feature-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 24px;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #ffffff, rgba(236, 253, 245, 0.9));
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(13, 148, 136, 0.16));
}

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

.category-card h2,
.category-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--gray-600);
  font-size: 0.94rem;
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  gap: 30px;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.rank-card .poster {
  border-radius: 0.85rem;
}

.rank-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 850;
}

.rank-desc {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0;
  background: linear-gradient(135deg, var(--emerald-100), rgba(240, 253, 250, 0.96), var(--amber-50));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image: radial-gradient(circle at 14% 20%, rgba(5, 150, 105, 0.18), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(245, 158, 11, 0.18), transparent 22%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--gray-700);
  font-size: 1.08rem;
}

.tools-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.search-box {
  position: relative;
  width: min(100%, 540px);
}

.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: 999px;
  outline: none;
  color: var(--gray-800);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  color: var(--emerald-700);
  background: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald-600), var(--teal-600));
  transform: translateY(-1px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--gray-500);
  font-size: 0.92rem;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.64fr);
  gap: 34px;
  align-items: start;
}

.detail-main,
.detail-side,
.content-card {
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: var(--radius-2xl);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.detail-main {
  overflow: hidden;
}

.player-shell {
  padding: 16px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #000000;
}

.video-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.62), rgba(3, 7, 18, 0.18));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-600));
  box-shadow: 0 22px 44px rgba(5, 150, 105, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-button:hover {
  transform: scale(1.08);
  box-shadow: 0 28px 52px rgba(5, 150, 105, 0.5);
}

.play-button svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.player-status {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.92rem;
}

.detail-copy {
  padding: 30px;
}

.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-one-line {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 1.08rem;
}

.detail-meta {
  margin: 0 0 22px;
}

.detail-side {
  overflow: hidden;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  background: var(--emerald-50);
}

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

.side-info {
  padding: 22px;
}

.side-info h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.side-info dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.side-info div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.side-info dt {
  color: var(--gray-500);
}

.side-info dd {
  margin: 0;
  color: var(--gray-800);
  text-align: right;
  font-weight: 750;
}

.content-card {
  padding: 30px;
  margin-top: 26px;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.content-card p {
  margin: 0 0 16px;
  color: var(--gray-700);
}

.content-card p:last-child {
  margin-bottom: 0;
}

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

.related-card {
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.related-card .poster {
  border-radius: 0;
}

.related-card h3 {
  margin: 0;
  padding: 12px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.site-footer {
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid rgba(16, 185, 129, 0.14);
  color: var(--gray-600);
  background: #ffffff;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--emerald-700);
  font-weight: 700;
}

.empty-state {
  display: none;
  padding: 60px 20px;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 1180px) {
  .movie-grid,
  .movie-grid.dense {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 1.2rem;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-stage,
  .detail-grid,
  .rank-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    gap: 30px;
    min-height: auto;
  }

  .hero-panel,
  .hero-card {
    min-height: 430px;
    height: 430px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .main-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    padding: 42px 0 74px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 15vw, 4rem);
  }

  .hero-panel,
  .hero-card {
    min-height: 390px;
    height: 390px;
  }

  .hero-card-content {
    padding: 24px;
  }

  .hero-dots {
    left: 24px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head,
  .footer-wrap,
  .tools-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .movie-grid.dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .category-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .card-body {
    padding: 14px;
  }

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

  .detail-copy,
  .content-card {
    padding: 22px;
  }

  .player-shell {
    padding: 10px;
  }

  .play-button {
    width: 70px;
    height: 70px;
  }
}
