:root {
  --sand-50: #faf7f1;
  --sand-100: #f3eadc;
  --sand-200: #e6d2b8;
  --sand-300: #d5b487;
  --sand-400: #bd915e;
  --sand-500: #a87543;
  --sand-600: #8b5d34;
  --sand-700: #704a2d;
  --sand-800: #4d3424;
  --sand-900: #24170f;
  --desert-50: #fff4e5;
  --desert-100: #ffe2bd;
  --desert-300: #f0aa58;
  --desert-500: #c97724;
  --desert-600: #a85d1d;
  --desert-700: #824819;
  --text: #211915;
  --muted: #6f5b4e;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(57, 34, 20, 0.16);
  --shadow-soft: 0 10px 30px rgba(57, 34, 20, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, var(--sand-50), #ffffff 40%, var(--sand-50));
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(112, 74, 45, 0.96), rgba(130, 72, 25, 0.96));
  color: var(--sand-50);
  box-shadow: 0 12px 34px rgba(36, 23, 15, 0.25);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: 1240px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark,
.footer-logo .icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffd39b;
}

.brand-mark .icon {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-size: 21px;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 251, 245, 0.9);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  background: rgba(250, 247, 241, 0.13);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: rgba(250, 247, 241, 0.12);
}

.mobile-menu {
  padding: 8px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-link {
  display: block;
}

.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: var(--sand-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(201, 119, 36, 0.26), transparent 34%),
    linear-gradient(90deg, rgba(36, 23, 15, 0.94) 0%, rgba(36, 23, 15, 0.68) 46%, rgba(36, 23, 15, 0.25) 100%),
    linear-gradient(0deg, rgba(36, 23, 15, 0.88), rgba(36, 23, 15, 0.08) 55%);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 84px 0 86px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffd39b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.98;
  font-weight: 900;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.38);
}

.hero-summary {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(250, 247, 241, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-meta span,
.tag-row span,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  padding: 9px 14px;
  color: white;
  background: rgba(250, 247, 241, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-actions {
  margin-top: 28px;
}

.btn,
.quick-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.quick-search button:hover {
  transform: translateY(-2px);
}

.btn-primary,
.quick-search button {
  color: white;
  background: linear-gradient(135deg, var(--desert-500), var(--desert-700));
  box-shadow: 0 12px 28px rgba(201, 119, 36, 0.35);
}

.btn-ghost {
  color: white;
  background: rgba(250, 247, 241, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.32);
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.52);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--desert-300);
}

.home-search-band {
  width: min(1180px, calc(100% - 40px));
  margin: -44px auto 0;
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-search-band h2,
.section-heading h2,
.page-hero h1,
.story-panel h2,
.detail-title-block h1,
.footer-group h2 {
  margin: 0;
  color: var(--sand-900);
  font-weight: 900;
}

.home-search-band h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.home-search-band p,
.page-hero p,
.story-panel p,
.footer-brand p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.quick-search,
.inline-search {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-search input,
.inline-search input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(112, 74, 45, 0.14);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--text);
  background: var(--sand-50);
  outline: 0;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.inline-search input:focus {
  border-color: var(--desert-500);
  box-shadow: 0 0 0 4px rgba(201, 119, 36, 0.12);
}

.section-stack,
.inner-page,
.detail-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-stack {
  padding: 70px 0 90px;
}

.content-section {
  margin-top: 72px;
}

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

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(24px, 3.5vw, 36px);
}

.section-heading h2 .icon {
  color: var(--desert-600);
}

.section-heading a,
.text-link {
  color: var(--desert-700);
  font-weight: 900;
}

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

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

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

.listing-grid {
  padding-bottom: 88px;
}

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-100);
}

.card-wide {
  display: grid;
  grid-template-columns: 44% 1fr;
}

.card-wide .movie-poster {
  aspect-ratio: auto;
  min-height: 315px;
}

.card-large .movie-poster {
  aspect-ratio: 16 / 9;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.66));
  opacity: 0.72;
}

.poster-badge,
.poster-action {
  position: absolute;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: white;
  font-weight: 900;
}

.poster-badge {
  top: 12px;
  right: 12px;
  padding: 7px 11px;
  background: rgba(168, 93, 29, 0.95);
  font-size: 12px;
}

.poster-action {
  left: 14px;
  right: 14px;
  bottom: 14px;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  background: rgba(36, 23, 15, 0.66);
  backdrop-filter: blur(10px);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-action {
  opacity: 1;
  transform: translateY(0);
}

.movie-info {
  padding: 18px;
}

.movie-info h2 {
  margin: 0;
  color: var(--sand-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-info h2 a:hover {
  color: var(--desert-600);
}

.movie-info p {
  display: -webkit-box;
  min-height: 48px;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  justify-content: space-between;
  color: var(--sand-700);
  font-size: 13px;
  font-weight: 800;
}

.tag-row {
  margin-top: 14px;
}

.tag-row span,
.tag-cloud a {
  padding: 7px 10px;
  color: var(--desert-700);
  background: var(--desert-50);
}

.warm-panel,
.sand-panel {
  margin-inline: -24px;
  padding: 48px 24px;
  border-radius: 34px;
}

.warm-panel {
  background: linear-gradient(135deg, rgba(255, 244, 229, 0.94), rgba(250, 247, 241, 0.94));
}

.sand-panel {
  background: var(--sand-100);
}

.scroll-row {
  display: flex;
  gap: 22px;
  padding-bottom: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

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

.category-tile {
  min-height: 150px;
  padding: 24px;
  border-radius: 26px;
  color: white;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 211, 155, 0.32), transparent 30%),
    linear-gradient(135deg, var(--sand-700), var(--desert-700));
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-tile span,
.category-tile em {
  display: block;
}

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

.category-tile em {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.7;
}

.inner-page {
  padding: 28px 0 90px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--desert-700);
}

.breadcrumb .sep {
  color: var(--sand-400);
}

.page-hero {
  margin-top: 24px;
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 20%, rgba(201, 119, 36, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 247, 241, 0.94));
  box-shadow: var(--shadow-soft);
}

.page-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.04;
}

.channel-tools {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.inline-search {
  position: relative;
}

.inline-search .icon {
  position: absolute;
  left: 16px;
  color: var(--desert-700);
}

.inline-search input {
  padding-left: 48px;
}

.filter-pill {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--sand-800);
  background: var(--sand-100);
  font-weight: 900;
}

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

.category-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.category-card {
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 150px;
  padding: 10px;
  background: linear-gradient(135deg, var(--sand-700), var(--desert-700));
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.category-copy {
  padding: 22px;
}

.category-copy h2 {
  margin: 0;
  font-size: 22px;
  color: var(--sand-900);
}

.category-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.ranking-list-section {
  margin-top: 34px;
  padding: 28px;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-card {
  display: grid;
  grid-template-columns: auto 62px 1fr;
  gap: 13px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--sand-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  background: var(--desert-50);
  transform: translateX(3px);
}

.rank-number {
  width: 38px;
  color: var(--desert-700);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.compact-card img {
  width: 62px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
}

.compact-card strong,
.compact-card em {
  display: block;
}

.compact-card strong {
  color: var(--sand-900);
  font-size: 15px;
}

.compact-card em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.detail-page {
  background: var(--sand-50);
}

.detail-top {
  color: white;
  background:
    radial-gradient(circle at 80% 0%, rgba(201, 119, 36, 0.28), transparent 34%),
    linear-gradient(135deg, var(--sand-900), var(--sand-800));
}

.detail-top .breadcrumb {
  padding-top: 28px;
  color: rgba(250, 247, 241, 0.72);
}

.detail-top .breadcrumb a:hover {
  color: #ffd39b;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  padding: 26px 0 50px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  aspect-ratio: 16 / 9;
}

.video-player,
.player-cover,
.player-cover img {
  width: 100%;
  height: 100%;
}

.video-player {
  position: absolute;
  inset: 0;
  object-fit: contain;
  background: #000000;
  z-index: 1;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #000000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  object-fit: cover;
  filter: brightness(0.58) saturate(1.05);
}

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

.play-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--desert-500), var(--desert-700));
  box-shadow: 0 18px 42px rgba(201, 119, 36, 0.42);
  transform: translate(-50%, -50%);
}

.play-core .icon {
  width: 38px;
  height: 38px;
  margin-left: 4px;
  fill: currentColor;
}

.player-error {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: white;
  background: rgba(120, 20, 20, 0.78);
  text-align: center;
  font-weight: 800;
}

.detail-title-block {
  padding-top: 26px;
}

.detail-title-block h1 {
  color: white;
  font-size: clamp(30px, 5vw, 56px);
}

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

.detail-meta span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(250, 247, 241, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.detail-cover {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
}

.aside-panel,
.story-panel {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.aside-panel {
  padding: 18px;
  color: var(--text);
}

.aside-panel h2 {
  margin: 0 0 14px;
  color: var(--sand-900);
  font-size: 20px;
}

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

.detail-content {
  padding: 46px 0 90px;
}

.story-panel {
  padding: 34px;
}

.story-panel h2 {
  margin-top: 28px;
  font-size: 28px;
}

.story-panel h2:first-child {
  margin-top: 0;
}

.story-panel p {
  font-size: 17px;
}

.story-panel .lead {
  color: var(--sand-900);
  font-weight: 800;
}

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

.related-section {
  margin-top: 52px;
}

.site-footer {
  color: var(--sand-200);
  background: linear-gradient(180deg, var(--sand-800), var(--sand-900));
}

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

.footer-logo {
  color: var(--sand-50);
  font-size: 22px;
}

.footer-brand p {
  color: var(--sand-300);
}

.footer-group h2 {
  color: var(--sand-50);
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer-links a {
  color: var(--sand-300);
  font-weight: 700;
}

.footer-links a:hover {
  color: #ffd39b;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--sand-400);
  text-align: center;
  font-size: 14px;
}

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

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

  .feature-grid,
  .player-layout,
  .home-search-band,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding-bottom: 82px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .home-search-band,
  .section-stack,
  .inner-page,
  .detail-shell,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .quick-search {
    flex-direction: column;
    align-items: stretch;
  }

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

  .feature-grid,
  .card-wide {
    grid-template-columns: 1fr;
  }

  .card-wide .movie-poster {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .page-hero,
  .story-panel {
    padding: 26px;
    border-radius: 26px;
  }

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

  .detail-cover {
    display: none;
  }
}

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

  .hero-carousel,
  .hero-content {
    min-height: 76vh;
  }

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

  .hero-summary {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .scroll-row .movie-card {
    flex-basis: 230px;
  }

  .compact-card {
    grid-template-columns: auto 58px 1fr;
  }

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