:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(30, 41, 59, 0.58);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --border: rgba(148, 163, 184, 0.16);
  --text: #ffffff;
  --muted: #94a3b8;
  --subtle: #cbd5e1;
  --brand: #6366f1;
  --brand-strong: #4f46e5;
  --brand-soft: rgba(99, 102, 241, 0.18);
  --warning: #f59e0b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(79, 70, 229, 0.25), transparent 36rem),
    linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 2rem, var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0 0.78rem;
  border-radius: 999px;
  color: var(--subtle);
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(99, 102, 241, 0.16);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-bar input,
.filter-bar select,
.advanced-search input,
.advanced-search select {
  width: 100%;
  color: #fff;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  outline: none;
  padding: 0.72rem 1rem;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.header-search input {
  width: 13rem;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.advanced-search input:focus,
.advanced-search select:focus {
  border-color: rgba(129, 140, 248, 0.72);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.16);
}

.header-search button,
.mobile-search button,
.hero-search button,
.advanced-search button,
.load-more {
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  background: var(--brand-strong);
  padding: 0.72rem 1rem;
  transition: transform 180ms ease, background 180ms ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.advanced-search button:hover,
.load-more:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.8rem;
  background: rgba(30, 41, 59, 0.78);
  cursor: pointer;
  padding: 0.55rem;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 0.33rem 0;
  background: #fff;
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 0 0 1rem;
}

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

.mobile-panel nav {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.hero-carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #000;
}

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

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

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

.hero-image img,
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-shade,
.detail-backdrop-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.18) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.28) 44%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max-width));
  min-height: 650px;
  margin: 0 auto;
  padding: 8rem 0 9rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-bottom: 1rem;
  color: #fff;
  background: rgba(79, 70, 229, 0.78);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 720px;
  margin: 1.2rem 0 0;
  color: var(--subtle);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-tags,
.detail-links,
.tag-list,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags {
  margin-top: 1.35rem;
}

.hero-tags span,
.detail-links a,
.tag-list span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  color: var(--subtle);
  background: rgba(15, 23, 42, 0.68);
  padding: 0.35rem 0.68rem;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.9rem;
  padding: 0 1.35rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 16px 42px rgba(79, 70, 229, 0.32);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  cursor: pointer;
  font-size: 2rem;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-arrow.prev {
  left: 1.2rem;
}

.hero-arrow.next {
  right: 1.2rem;
}

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

.hero-dot {
  width: 0.62rem;
  height: 0.62rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.hero-dot.is-active {
  width: 2.2rem;
  background: #fff;
}

.hero-search {
  position: absolute;
  z-index: 4;
  right: max(1rem, calc((100% - var(--max-width)) / 2));
  bottom: 6.8rem;
  width: min(360px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-search label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
}

.content-wrap {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 4rem 0;
}

.intro-panel {
  padding: 2.5rem 0 1rem;
}

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

.stats-grid div,
.text-card,
.side-card,
.ranking-card,
.board,
.category-tile,
.filter-bar,
.advanced-search,
.player-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

.stats-grid div {
  padding: 1.45rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.section-more {
  color: #a5b4fc;
  font-weight: 700;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.5);
  transition: transform 220ms ease, background 220ms ease, border 220ms ease;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(129, 140, 248, 0.38);
  background: rgba(30, 41, 59, 0.78);
}

.cover-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.35), transparent 38%),
    linear-gradient(135deg, #0f172a, #1e293b);
}

.movie-card .cover-frame {
  aspect-ratio: 16 / 10;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease, opacity 220ms ease;
}

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

.cover-frame.image-fallback::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cover-frame.image-fallback img {
  opacity: 0;
}

.play-chip {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.86);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.card-body {
  padding: 1rem;
}

.card-meta {
  margin: 0 0 0.45rem;
  color: #a5b4fc;
  font-size: 0.78rem;
}

.movie-card h3 {
  min-height: 3.05em;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 180ms ease;
}

.movie-card:hover h3 {
  color: #a5b4fc;
}

.card-summary {
  min-height: 3.05em;
  margin: 0.65rem 0 0.8rem;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags span {
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
}

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

.ranking-card,
.board,
.side-card,
.text-card,
.player-card {
  padding: 1.35rem;
}

.ranking-card h2,
.board h2,
.side-card h2,
.text-card h2 {
  margin: 0 0 1rem;
}

.rank-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-number,
.rank-badge {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: rgba(79, 70, 229, 0.24);
  color: #c7d2fe;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
}

.rank-title {
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta,
.rank-score {
  color: var(--muted);
  font-size: 0.82rem;
}

.rank-score {
  grid-column: 2 / -1;
}

.quick-region-grid,
.quick-genre-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quick-region-grid a,
.quick-genre-grid a,
.category-tile {
  min-height: 5.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.42);
  padding: 1rem;
  transition: transform 180ms ease, border 180ms ease, background 180ms ease;
}

.quick-genre-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.quick-region-grid a:hover,
.quick-genre-grid a:hover,
.category-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(79, 70, 229, 0.16);
}

.quick-region-grid strong,
.category-tile strong {
  font-size: 1.1rem;
}

.quick-region-grid span,
.quick-genre-grid span,
.category-tile span {
  color: var(--muted);
  font-size: 0.86rem;
}

.page-hero.slim {
  padding: 4rem 0 2rem;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--subtle);
  font-size: 1.05rem;
}

.page-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.page-count strong {
  color: #fff;
}

.filter-bar,
.advanced-search {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr auto;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.filter-bar label,
.advanced-search label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  min-width: 2.6rem;
  min-height: 2.6rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.85rem;
  color: #fff;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border);
  padding: 0 0.8rem;
}

.pagination a.is-current,
.pagination a:hover {
  background: var(--brand-strong);
}

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

.detail-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  min-height: 520px;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.poster-frame {
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.detail-one-line {
  max-width: 820px;
  color: var(--subtle);
  font-size: 1.12rem;
}

.detail-links {
  margin-top: 1.2rem;
}

.detail-main {
  min-width: 0;
}

.player-card {
  padding: 0.75rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 1.1rem;
  background: #000;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.7rem;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.68));
  cursor: pointer;
}

.player-start span {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-strong);
  font-size: 1.8rem;
  box-shadow: 0 24px 50px rgba(79, 70, 229, 0.38);
}

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

.player-status {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  text-align: center;
  pointer-events: none;
}

.text-card {
  margin-top: 1.2rem;
}

.text-card p {
  color: var(--subtle);
  white-space: pre-line;
}

.detail-side {
  display: grid;
  gap: 1.2rem;
}

.side-card dl {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.65rem 0.8rem;
  margin: 0;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  margin: 0;
  color: #fff;
}

.mini-list {
  display: grid;
  gap: 0.2rem;
}

.board.wide {
  grid-column: 1 / -1;
}

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

.search-summary {
  margin: 1rem 0;
  color: var(--muted);
}

.load-more {
  display: block;
  margin: 2rem auto 0;
}

.load-more[hidden] {
  display: none;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.sitemap-list a {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: rgba(30, 41, 59, 0.45);
  padding: 0.75rem 0.9rem;
  color: var(--subtle);
}

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

.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand p,
.footer-bottom p {
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.site-footer section a {
  display: block;
  margin: 0.4rem 0;
  color: var(--muted);
}

.site-footer section a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1.2rem 0 2rem;
  text-align: center;
}

[hidden],
.is-hidden {
  display: none !important;
}

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

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

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

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-carousel,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    padding-bottom: 11rem;
  }

  .hero-search {
    left: 1rem;
    right: 1rem;
    bottom: 4.8rem;
    width: auto;
    grid-template-columns: 1fr;
  }

  .hero-arrow {
    display: none;
  }

  .stats-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .catalog-grid,
  .quick-region-grid,
  .quick-genre-grid,
  .category-grid,
  .sitemap-list,
  .guide-grid,
  .footer-inner,
  .ranking-layout,
  .split-layout,
  .detail-layout,
  .detail-intro {
    grid-template-columns: 1fr;
  }

  .detail-intro {
    align-items: end;
  }

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

  .filter-bar,
  .advanced-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .content-wrap {
    width: min(100% - 1.2rem, var(--max-width));
    padding: 2.7rem 0;
  }

  .header-inner {
    width: min(100% - 1rem, var(--max-width));
  }

  .brand-copy small {
    display: none;
  }

  .hero-content h1,
  .detail-copy h1,
  .page-hero h1 {
    letter-spacing: -0.035em;
  }

  .rank-row {
    grid-template-columns: auto 1fr;
  }

  .rank-meta,
  .rank-score {
    grid-column: 2 / -1;
  }
}
