
:root {
  --forest-950: #0a140d;
  --forest-900: #152819;
  --forest-800: #1d3a23;
  --forest-700: #285132;
  --earth-950: #1c1710;
  --earth-900: #352b1f;
  --earth-800: #4a3d2b;
  --moss-700: #455234;
  --moss-600: #59693f;
  --moss-500: #6d8350;
  --moss-400: #8a9f6e;
  --moss-300: #a8b892;
  --parchment-100: #f5f2ed;
  --parchment-200: #ebe4d9;
  --parchment-300: #dfd4c1;
  --parchment-400: #d3c4a9;
  --ink-soft: rgba(10, 20, 13, 0.72);
  --card: rgba(28, 58, 35, 0.56);
  --card-strong: rgba(53, 43, 31, 0.72);
  --line: rgba(223, 212, 193, 0.14);
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.18), 0 10px 20px -2px rgba(0, 0, 0, 0.14);
  --shadow-strong: 0 8px 40px -8px rgba(0, 0, 0, 0.32), 0 15px 50px -10px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--parchment-100);
  background:
    radial-gradient(circle at 20% 10%, rgba(109, 131, 80, 0.18), transparent 28rem),
    linear-gradient(180deg, var(--forest-950), var(--forest-900) 44%, var(--earth-950));
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 40, 25, 0.95);
  border-bottom: 1px solid rgba(223, 212, 193, 0.10);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 20px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--parchment-100);
  background: linear-gradient(135deg, var(--moss-700), var(--moss-500));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-soft);
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 2px;
  color: var(--parchment-300);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--parchment-200);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link.subtle {
  color: var(--parchment-300);
  font-weight: 500;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--parchment-100);
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid rgba(223, 212, 193, 0.12);
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--parchment-200);
  font-weight: 600;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 540px;
  overflow: hidden;
  background: var(--forest-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 13, 0.88) 0%, rgba(10, 20, 13, 0.48) 46%, rgba(10, 20, 13, 0.18) 100%),
    linear-gradient(0deg, var(--forest-950) 0%, rgba(10, 20, 13, 0.28) 52%, rgba(10, 20, 13, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 0 110px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--moss-300);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.55);
}

.hero-summary {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--parchment-200);
  font-size: 18px;
  line-height: 1.72;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(223, 212, 193, 0.14);
  border-radius: 999px;
  color: var(--parchment-200);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
}

.hero-actions,
.detail-intro .btn {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(223, 212, 193, 0.16);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  border-color: transparent;
  color: var(--parchment-100);
  background: linear-gradient(135deg, var(--moss-600), var(--moss-500));
  box-shadow: var(--shadow-soft);
}

.btn.ghost {
  color: var(--parchment-100);
  background: rgba(255, 255, 255, 0.08);
}

.btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn.full {
  width: 100%;
  margin-top: 10px;
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(223, 212, 193, 0.18);
  border-radius: 50%;
  color: var(--parchment-100);
  background: rgba(10, 20, 13, 0.46);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 242, 237, 0.34);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-thumbs {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(223, 212, 193, 0.12);
  border-radius: 16px;
  background: rgba(10, 20, 13, 0.58);
  backdrop-filter: blur(8px);
}

.hero-thumb img {
  width: 56px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-thumb span {
  color: var(--parchment-200);
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-block {
  padding: 72px 0;
}

.alt-bg {
  background: rgba(53, 43, 31, 0.28);
}

.search-strip {
  padding: 38px 0;
  background: rgba(10, 20, 13, 0.56);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search-panel,
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
}

.home-search {
  display: flex;
  width: min(520px, 100%);
  gap: 12px;
}

.home-search input,
.browser-tools input,
.browser-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(223, 212, 193, 0.16);
  border-radius: 14px;
  color: var(--parchment-100);
  background: rgba(10, 20, 13, 0.72);
  padding: 0 14px;
  outline: none;
}

.browser-tools select option {
  color: #111;
}

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

.section-title-row h2,
.browser-head h2,
.cta-panel h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
}

.section-title-row p,
.browser-head p,
.search-panel p,
.cta-panel p,
.page-hero p {
  color: var(--parchment-300);
  line-height: 1.7;
}

.text-link {
  color: var(--moss-300);
  font-weight: 800;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(168, 184, 146, 0.34);
  box-shadow: var(--shadow-strong);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--forest-800);
}

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

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

.cover-shade,
.tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 20, 13, 0.88), rgba(10, 20, 13, 0.12) 64%);
}

.play-chip,
.genre-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.play-chip {
  left: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  background: var(--moss-500);
  color: var(--parchment-100);
  box-shadow: var(--shadow-soft);
}

.genre-badge {
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: rgba(10, 20, 13, 0.68);
  color: var(--parchment-200);
}

.rank-badge {
  right: 14px;
  top: 14px;
  padding: 6px 10px;
  background: rgba(109, 131, 80, 0.94);
  color: var(--parchment-100);
}

.movie-info {
  padding: 18px;
}

.movie-meta-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--moss-300);
  font-size: 12px;
  font-weight: 800;
}

.movie-info h3 {
  margin: 10px 0 8px;
  color: var(--parchment-100);
  font-size: 19px;
  line-height: 1.32;
}

.movie-info p {
  min-height: 48px;
  margin: 0;
  color: var(--parchment-300);
  line-height: 1.6;
  font-size: 14px;
}

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

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
}

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

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

.category-tile strong,
.category-tile small,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile strong {
  font-size: 22px;
}

.category-tile small {
  color: var(--moss-300);
  font-weight: 800;
  margin-top: 4px;
}

.category-tile p {
  color: var(--parchment-300);
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

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

.region-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.region-pill span {
  color: var(--moss-300);
  font-size: 13px;
  font-weight: 800;
}

.cta-block {
  padding-top: 44px;
}

.cta-panel {
  display: block;
  text-align: center;
}

.cta-panel .btn {
  margin-top: 16px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(138, 159, 110, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(21, 40, 25, 0.96), rgba(53, 43, 31, 0.72));
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  padding: 70px 0;
}

.page-hero .container {
  max-width: 920px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--parchment-300);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--moss-300);
  font-weight: 800;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

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

.category-overview-card h2 {
  margin: 0 0 10px;
}

.category-overview-card p {
  color: var(--parchment-300);
  line-height: 1.65;
}

.browser-head {
  align-items: flex-start;
}

.browser-tools {
  display: grid;
  grid-template-columns: 260px 140px 160px;
  gap: 12px;
}

.browser-tools label {
  display: grid;
  gap: 6px;
  color: var(--parchment-300);
  font-size: 12px;
  font-weight: 800;
}

.movie-card.is-hidden {
  display: none;
}

.ranking-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  align-items: start;
}

.ranking-list {
  position: sticky;
  top: 90px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(10, 20, 13, 0.56);
}

.ranking-list h2 {
  margin: 0 0 18px;
}

.ranking-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ranking-list a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.ranking-list span {
  color: var(--moss-300);
  font-weight: 900;
}

.ranking-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-list em {
  grid-column: 2;
  color: var(--parchment-300);
  font-size: 12px;
  font-style: normal;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.detail-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 13, 0.92), rgba(10, 20, 13, 0.54), rgba(10, 20, 13, 0.82)),
    linear-gradient(0deg, var(--forest-950), rgba(10, 20, 13, 0.22));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 42px;
  align-items: center;
  min-height: 560px;
  padding: 60px 0;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(223, 212, 193, 0.18);
  box-shadow: var(--shadow-strong);
}

.detail-intro h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 760px;
  color: var(--parchment-200);
  font-size: 18px;
  line-height: 1.72;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 212, 193, 0.16);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-strong);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: var(--parchment-100);
  background: radial-gradient(circle, rgba(109, 131, 80, 0.26), rgba(10, 20, 13, 0.72));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

.player-play-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--moss-500);
  box-shadow: var(--shadow-strong);
  font-size: 30px;
  line-height: 1;
}

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

.player-overlay small {
  color: var(--parchment-300);
}

.player-status {
  margin: 0;
  padding: 12px 18px;
  color: var(--parchment-300);
  background: rgba(10, 20, 13, 0.82);
  font-size: 13px;
}

.detail-section,
.info-card {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
}

.detail-section h2,
.info-card h2 {
  margin: 0 0 14px;
}

.detail-section p {
  color: var(--parchment-200);
  line-height: 1.9;
  font-size: 16px;
}

.detail-sidebar {
  position: sticky;
  top: 90px;
}

.info-card dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.info-card dt {
  color: var(--moss-300);
  font-weight: 900;
}

.info-card dd {
  margin: 0;
  color: var(--parchment-200);
}

.info-card a {
  color: var(--moss-300);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(10, 20, 13, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 36px;
  padding: 48px 0;
}

.footer-about p {
  max-width: 520px;
  color: var(--parchment-300);
  line-height: 1.7;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

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

.footer-links a {
  color: var(--parchment-300);
}

.footer-links a:hover {
  color: var(--moss-300);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid var(--line);
  color: var(--parchment-400);
  font-size: 13px;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--earth-950);
}

::-webkit-scrollbar-thumb {
  background: var(--moss-500);
  border-radius: 999px;
}

::selection {
  color: var(--parchment-100);
  background: var(--moss-500);
}

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

  .menu-toggle {
    display: block;
  }

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

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

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

  .hero-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-thumb:nth-child(n+4) {
    display: none;
  }

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

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

  .detail-sidebar,
  .ranking-list {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero-slider {
    min-height: 640px;
  }

  .hero-content {
    padding-bottom: 150px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 11vw, 58px);
  }

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

  .hero-arrow {
    display: none;
  }

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

  .hero-thumb:nth-child(n+2) {
    display: none;
  }

  .search-panel,
  .section-title-row,
  .browser-head,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-search {
    flex-direction: column;
  }

  .movie-grid,
  .category-grid,
  .region-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .browser-tools {
    width: 100%;
    grid-template-columns: 1fr;
  }

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

  .detail-hero-inner {
    gap: 24px;
    min-height: auto;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-intro h1 {
    font-size: clamp(34px, 10vw, 54px);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .section-block {
    padding: 50px 0;
  }

  .movie-grid {
    gap: 16px;
  }

  .hero-slider {
    min-height: 600px;
  }

  .hero-content {
    padding-top: 34px;
  }

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

  .brand-text small {
    font-size: 11px;
  }
}

.plain-index { columns: 3; line-height: 1.9; color: var(--parchment-300); }
.plain-index a:hover { color: var(--moss-300); }
@media (max-width: 820px) { .plain-index { columns: 1; } }
