:root {
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-850: #211d1a;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(41, 37, 36, 0.16);
  --shadow-deep: 0 28px 60px rgba(12, 10, 9, 0.35);
  --radius-lg: 18px;
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--stone-800);
  background: linear-gradient(180deg, #fff7ed 0%, var(--stone-50) 36%, #fff7ed 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--stone-900), var(--stone-950), var(--stone-900));
  border-bottom: 2px solid var(--amber-600);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--amber-100);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-400));
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.32);
}

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

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

.nav-link {
  position: relative;
  color: var(--stone-300);
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -24px;
  height: 3px;
  background: var(--amber-400);
  transition: right 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 12px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  color: var(--stone-300);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.14);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 16px 48px;
  background: radial-gradient(circle at 18% 12%, rgba(251, 191, 36, 0.55), transparent 28%), linear-gradient(135deg, var(--amber-700), var(--amber-500) 45%, var(--stone-900));
}

.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 18px);
}

.hero-intro {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  text-align: center;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 800;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.eyebrow.dark {
  color: var(--amber-700);
  background: var(--amber-100);
}

.hero-intro h1 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-intro p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.88);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  background: rgba(28, 25, 23, 0.85);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 520px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(28, 25, 23, 0.82));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 64px);
  color: var(--white);
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.detail-meta,
.movie-meta-row,
.tag-row,
.hero-actions,
.filter-controls,
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-meta span,
.movie-meta-row span,
.tag-row span {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-100);
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.primary-btn,
.ghost-btn,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  min-height: 46px;
  padding: 12px 20px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn {
  color: var(--amber-700);
  background: var(--white);
  box-shadow: 0 18px 35px rgba(255, 255, 255, 0.18);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

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

.hero-dot.is-active {
  width: 36px;
  background: var(--amber-400);
}

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

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

.section-head.compact {
  align-items: center;
  margin-bottom: 18px;
}

.section-head h2,
.page-hero h1,
.detail-copy h1,
.detail-article h2,
.detail-side h2 {
  margin: 10px 0 0;
  color: var(--stone-800);
  line-height: 1.12;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section-link {
  color: var(--amber-700);
  background: var(--amber-100);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  margin: 0 0 28px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(41, 37, 36, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.16);
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--stone-600);
  font-weight: 800;
}

.search-box input,
.filter-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  color: var(--stone-800);
  background: var(--stone-50);
  padding: 0 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.filter-controls {
  justify-content: flex-end;
}

.filter-select {
  min-width: 140px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(41, 37, 36, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.cover-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--stone-800), var(--amber-700));
}

.movie-card .cover-frame,
.detail-poster {
  aspect-ratio: 3 / 4;
}

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

.movie-card:hover .cover-frame img {
  transform: scale(1.08);
}

.cover-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(12, 10, 9, 0.82));
  opacity: 0.92;
}

.cover-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: var(--white);
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.cover-empty .cover-title {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  text-align: center;
}

.play-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(245, 158, 11, 0.86);
  box-shadow: 0 10px 24px rgba(12, 10, 9, 0.3);
}

.movie-info {
  padding: 14px;
}

.movie-meta-row {
  color: var(--stone-500);
  margin-bottom: 10px;
}

.movie-meta-row span {
  color: var(--amber-700);
  background: var(--amber-100);
  border: 0;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--stone-800);
}

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

.movie-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.6;
}

.tag-row span {
  color: var(--stone-700);
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
}

.tag-row.large span {
  padding: 8px 12px;
  color: var(--amber-100);
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(251, 191, 36, 0.26);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.category-card,
.category-overview-card,
.rank-panel,
.detail-side,
.detail-article {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(41, 37, 36, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.14);
}

.category-card {
  display: grid;
  gap: 10px;
  min-height: 156px;
  padding: 22px;
  background: linear-gradient(135deg, var(--white), #fff7ed);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-name {
  color: var(--stone-800);
  font-size: 24px;
  font-weight: 900;
}

.category-desc,
.category-sample {
  color: var(--stone-600);
  line-height: 1.65;
}

.category-sample {
  color: var(--amber-700);
  font-weight: 800;
}

.rank-panel {
  padding: 24px;
  position: sticky;
  top: 94px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--stone-50);
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: var(--amber-100);
}

.rank-num,
.ranking-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-400));
}

.rank-main {
  display: grid;
  gap: 5px;
}

.rank-main strong {
  color: var(--stone-800);
}

.rank-main em {
  color: var(--stone-500);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 16px;
  text-align: center;
  color: var(--white);
  background: radial-gradient(circle at 18% 18%, rgba(251, 191, 36, 0.35), transparent 28%), linear-gradient(120deg, var(--stone-900), var(--stone-800), var(--amber-700));
}

.page-hero.slim {
  padding: 64px 16px;
}

.page-hero h1 {
  margin: 16px 0 12px;
  color: var(--white);
  font-size: clamp(38px, 6vw, 64px);
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  justify-content: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
}

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

.category-overview-card {
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-head {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stone-200);
}

.category-overview-head span {
  color: var(--stone-800);
  font-size: 24px;
  font-weight: 900;
}

.category-overview-head em {
  color: var(--stone-600);
  font-style: normal;
  line-height: 1.65;
}

.compact-list {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.compact-link {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: var(--stone-50);
}

.compact-link:hover {
  background: var(--amber-100);
}

.compact-title {
  color: var(--stone-800);
  font-weight: 800;
}

.compact-link span:last-child {
  color: var(--stone-500);
  font-size: 13px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(41, 37, 36, 0.07);
}

.ranking-row h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ranking-row h2 a:hover {
  color: var(--amber-700);
}

.ranking-row p {
  margin: 0;
  color: var(--stone-600);
  line-height: 1.6;
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  max-width: 320px;
}

.ranking-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--stone-700);
  background: var(--stone-100);
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--stone-950);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(3px) saturate(1.08);
}

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

.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.96), rgba(12, 10, 9, 0.72), rgba(12, 10, 9, 0.36));
}

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

.breadcrumb.light {
  justify-content: flex-start;
  margin: 0 0 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-deep);
}

.detail-copy {
  color: var(--white);
}

.detail-copy h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 70px);
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 18px 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  margin-bottom: 18px;
}

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

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: var(--shadow-deep);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), rgba(12, 10, 9, 0.66));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: var(--amber-700);
  background: var(--white);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
  font-size: 32px;
}

.player-overlay strong {
  font-size: 22px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--amber-100);
  background: rgba(12, 10, 9, 0.78);
}

.player-message.is-visible {
  display: block;
}

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

.detail-article,
.detail-side {
  padding: 28px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--stone-700);
  line-height: 1.9;
  font-size: 17px;
}

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

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

.detail-side dd {
  margin: 0;
  color: var(--stone-800);
  font-weight: 700;
}

.site-footer {
  margin-top: 40px;
  padding: 48px 16px 24px;
  color: var(--stone-300);
  background: linear-gradient(180deg, var(--stone-900), var(--stone-950));
  border-top: 2px solid var(--amber-600);
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: var(--amber-100);
}

.site-footer p {
  margin: 0;
  color: var(--stone-400);
  line-height: 1.8;
}

.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: var(--stone-400);
}

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

.footer-bottom {
  width: min(1180px, 100%);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 211, 209, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--stone-500);
}

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

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

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

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

  .rank-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .hero-visual::after {
    background: rgba(12, 10, 9, 0.72);
  }

  .hero-copy {
    position: relative;
    z-index: 3;
    min-height: 520px;
  }

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

  .filter-controls {
    justify-content: stretch;
  }

  .filter-select {
    flex: 1 1 160px;
  }

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

  .detail-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero-section {
    padding-top: 48px;
  }

  .hero-shell,
  .hero-slide,
  .hero-copy {
    min-height: 560px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-actions,
  .section-head,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-grid,
  .featured-grid,
  .home-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-info h3 {
    font-size: 16px;
  }

  .ranking-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ranking-meta {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .detail-content {
    padding: 34px 0;
  }

  .player-frame {
    border-radius: 18px;
  }

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

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