:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #f59e0b;
  --amber-500: #d97706;
  --amber-600: #b45309;
  --amber-700: #92400e;
  --amber-800: #78350f;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --white: #ffffff;
  --shadow-soft: 0 20px 60px rgba(41, 37, 36, 0.16);
  --shadow-card: 0 14px 34px rgba(120, 53, 15, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--stone-800);
  background:
    radial-gradient(circle at 15% 0%, rgba(245, 158, 11, 0.14), transparent 34rem),
    linear-gradient(180deg, var(--amber-50) 0%, var(--stone-50) 28%, var(--white) 100%);
}

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

img {
  display: block;
  width: 100%;
}

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-800), var(--amber-600));
  box-shadow: 0 10px 30px rgba(120, 53, 15, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-800);
  background: linear-gradient(135deg, var(--amber-100), var(--white));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 21px;
  letter-spacing: 0.02em;
}

.brand-copy em {
  margin-top: 4px;
  color: var(--amber-100);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--amber-100);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav a.active {
  background: rgba(255, 255, 255, 0.22);
}

.hero-carousel {
  padding: 24px 0 56px;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: min(1320px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  background: var(--stone-900);
  box-shadow: var(--shadow-soft);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: center;
  padding: 76px 82px;
  color: var(--white);
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  height: 100%;
  object-fit: cover;
  filter: blur(20px) saturate(1.15) brightness(0.58);
  transform: scale(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(245, 158, 11, 0.34), transparent 24rem),
    linear-gradient(90deg, rgba(28, 25, 23, 0.95), rgba(28, 25, 23, 0.72) 48%, rgba(28, 25, 23, 0.42));
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 1;
}

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

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--amber-100);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(253, 230, 138, 0.2);
  font-size: 13px;
}

.hero-content h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions,
.page-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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

.primary-button {
  color: var(--stone-900);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-400));
  box-shadow: 0 14px 26px rgba(245, 158, 11, 0.25);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(120, 53, 15, 0.2);
}

.hero-poster {
  align-self: stretch;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

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

.hero-controls {
  position: absolute;
  z-index: 3;
  right: 42px;
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: inline-flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 99px;
  opacity: 0.58;
}

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

.quick-search {
  margin-top: -28px;
}

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

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading span,
.page-hero span,
.category-card-large span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.category-card-large h2,
.detail-content h2,
.detail-info-card h2 {
  margin: 0;
  color: var(--stone-900);
}

.section-heading h2 {
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p,
.category-card-large p {
  margin: 12px 0 0;
  color: var(--stone-600);
  line-height: 1.8;
}

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

.filter-panel {
  margin: 0 auto 34px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(231, 229, 228, 0.88);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.search-box {
  position: relative;
  display: block;
}

.search-box span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone-500);
  font-size: 14px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 64px;
  border: 1px solid var(--stone-200);
  border-radius: 16px;
  outline: none;
  background: var(--stone-50);
  color: var(--stone-800);
}

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

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--stone-700);
  background: var(--stone-100);
  cursor: pointer;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  background: var(--amber-600);
  transform: translateY(-1px);
}

.category-strip,
.catalog-section,
.ranking-panel,
.category-overview,
.related-section {
  padding: 52px 0;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.category-tile img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.1), rgba(28, 25, 23, 0.82));
}

.category-tile span,
.category-tile em {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
  font-style: normal;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(231, 229, 228, 0.74);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(120, 53, 15, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--stone-200), var(--amber-100));
}

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

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--stone-900);
  background: var(--amber-100);
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  left: auto;
  right: 12px;
  color: var(--white);
  background: var(--amber-600);
}

.movie-card-body {
  padding: 17px;
}

.movie-card-kicker,
.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--stone-500);
  font-size: 12px;
}

.movie-card-kicker a {
  color: var(--amber-700);
  font-weight: 900;
}

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

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

.movie-card p {
  min-height: 64px;
  margin: 0;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-meta {
  margin-top: 14px;
}

.movie-card-meta span:last-child {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-card .movie-card-body {
  padding: 14px;
}

.compact-card h3 {
  font-size: 16px;
}

.compact-card p {
  min-height: 44px;
  -webkit-line-clamp: 2;
}

.ranking-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rank-row {
  min-height: 82px;
  padding: 10px;
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  box-shadow: 0 8px 24px rgba(41, 37, 36, 0.08);
}

.rank-row span {
  grid-row: 1 / 3;
  color: var(--amber-700);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  grid-row: 1 / 3;
  width: 54px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-row strong {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.page-hero {
  padding: 78px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 12%, rgba(245, 158, 11, 0.4), transparent 24rem),
    linear-gradient(135deg, var(--stone-900), var(--amber-800));
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.page-hero span {
  color: var(--amber-200);
}

.slim-hero {
  padding: 70px 0 66px;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow-card);
}

.category-card-image {
  display: block;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
}

.category-card-image img {
  height: 100%;
  object-fit: cover;
}

.category-card-large h2 {
  font-size: 26px;
}

.category-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-preview-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--amber-50);
  font-size: 13px;
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--stone-900);
}

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

.detail-backdrop img {
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.42) saturate(1.12);
  transform: scale(1.08);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 25, 23, 0.96), rgba(28, 25, 23, 0.62));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.32);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--amber-100);
  font-weight: 800;
}

.detail-intro h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-intro p {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
}

.detail-tags {
  margin-top: 26px;
  margin-bottom: 0;
}

.detail-main {
  padding: 52px 0 20px;
}

.watch-card {
  padding: 16px;
  border-radius: 30px;
  background: var(--stone-900);
  box-shadow: var(--shadow-soft);
}

.watch-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
}

.watch-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
  z-index: 1;
}

.player-cover {
  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: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.64));
  cursor: pointer;
}

.player-cover.hidden {
  display: none;
}

.player-cover span {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--stone-900);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-400));
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.25);
}

.player-cover strong {
  font-size: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
  margin-top: 32px;
}

.detail-content,
.detail-info-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow-card);
}

.detail-content h2,
.detail-info-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

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

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  color: var(--amber-700);
  background: var(--amber-50);
  border-color: var(--amber-100);
}

.detail-info-card dl {
  margin: 0;
}

.detail-info-card dt,
.detail-info-card dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--stone-100);
}

.detail-info-card dt {
  color: var(--stone-500);
  font-size: 14px;
}

.detail-info-card dd {
  color: var(--stone-900);
  font-weight: 800;
}

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

.prev-next {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.prev-next a {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--amber-700);
  background: var(--amber-50);
  font-weight: 900;
}

.empty-state {
  display: none;
  padding: 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--stone-600);
  background: var(--stone-100);
}

.site-footer {
  margin-top: 52px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, var(--stone-900), var(--amber-800));
}

.footer-shell {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.2fr;
  gap: 42px;
}

.footer-brand {
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.site-footer p {
  max-width: 520px;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding: 18px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 14px;
    font-size: 14px;
  }

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 260px;
    padding: 58px 42px;
  }

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

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

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

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

  .nav-toggle {
    display: inline-block;
  }

  .mobile-nav.open {
    display: grid;
  }

  .brand-copy em {
    display: none;
  }

  .hero-stage {
    min-height: 680px;
    border-radius: 24px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: end;
    padding: 34px 24px 92px;
  }

  .hero-poster {
    display: none;
  }

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

  .hero-controls {
    right: 24px;
    left: 24px;
    justify-content: center;
  }

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

  .filter-chips {
    justify-content: flex-start;
  }

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

  .category-card-large {
    grid-template-columns: 1fr;
  }

  .category-card-image {
    min-height: 260px;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

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

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

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .mobile-nav,
  .footer-shell {
    width: min(100% - 22px, var(--container));
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .hero-carousel {
    padding-top: 12px;
  }

  .hero-stage {
    width: min(100% - 20px, 1320px);
    min-height: 610px;
  }

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

  .hero-actions,
  .page-actions,
  .detail-actions,
  .prev-next {
    display: grid;
  }

  .section-heading {
    display: block;
  }

  .movie-grid,
  .category-grid,
  .category-large-grid,
  .ranking-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 36px 52px minmax(0, 1fr);
  }

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

  .watch-card {
    padding: 8px;
    border-radius: 22px;
  }

  .watch-screen {
    border-radius: 16px;
  }
}
