:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.96);
  --line: rgba(147, 51, 234, 0.28);
  --line-strong: rgba(245, 158, 11, 0.45);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --amber: #f59e0b;
  --amber-light: #fcd34d;
  --purple: #7c3aed;
  --purple-soft: #c4b5fd;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.28), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(245, 158, 11, 0.16), transparent 28rem),
    linear-gradient(180deg, #0f172a 0%, #020617 58%, #020617 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(88, 28, 135, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.32);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.18);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #fde68a, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.75rem;
}

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

.nav-link,
.mobile-nav-link {
  color: #cbd5e1;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.header-search,
.mobile-search,
.page-search,
.search-band form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.page-search input,
.search-band input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(147, 51, 234, 0.32);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  border-radius: 12px;
  padding: 11px 14px;
  outline: none;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 210px;
}

.header-search input:focus,
.mobile-search input:focus,
.page-search input:focus,
.search-band input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.header-search button,
.mobile-search button,
.page-search button,
.search-band button {
  border: 0;
  color: white;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 12px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.18);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.68);
  padding: 9px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--amber-light);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px;
  background: rgba(2, 6, 23, 0.92);
}

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

.mobile-nav {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: #020617;
}

.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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.68) 45%, rgba(15, 23, 42, 0.2) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.18));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 72px;
  width: min(720px, calc(100% - 48px));
}

.hero-kicker,
.page-hero span,
.section-heading span,
.search-band span {
  color: var(--amber-light);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  color: #fff;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 680px;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

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

.primary-button {
  color: #fff;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.2);
}

.ghost-button {
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #fde68a;
  background: rgba(15, 23, 42, 0.48);
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-tile:hover {
  transform: translateY(-3px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
  left: 24px;
  transform: translateY(-50%);
}

.hero-next {
  right: 24px;
  transform: translateY(-50%);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

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

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

.page-shell,
.search-band,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-top {
  padding-top: 44px;
}

.search-band {
  margin-top: -34px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-band h2,
.page-hero h1,
.section-heading h2 {
  margin: 7px 0 0;
  color: #fef3c7;
  letter-spacing: -0.04em;
}

.search-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.search-band input,
.page-search input {
  flex: 1;
}

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

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

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.section-more {
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.26);
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.08);
}

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

.movie-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scrollbar-color: rgba(124, 58, 237, 0.8) rgba(15, 23, 42, 0.9);
}

.rail-card {
  width: 305px;
  flex: 0 0 auto;
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(147, 51, 234, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.74), rgba(15, 23, 42, 0.86));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.58);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.09);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  height: 255px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.65), rgba(245, 158, 11, 0.18));
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.1);
  filter: saturate(1.08);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-frame::after {
  opacity: 1;
}

.region-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(124, 58, 237, 0.78);
}

.play-hover {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(245, 158, 11, 0.86);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

.movie-card-body h3 {
  min-height: 2.7em;
  margin: 0 0 9px;
  color: #fef3c7;
  font-size: 1.03rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body p {
  min-height: 3.25em;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row {
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.82rem;
}

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 9px;
  color: #ddd6fe;
  font-size: 0.78rem;
  background: rgba(124, 58, 237, 0.22);
}

.movie-card-horizontal .movie-card-link {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.movie-card-horizontal .poster-frame {
  height: 150px;
}

.movie-card-horizontal .movie-card-body p,
.movie-card-horizontal .movie-card-body h3 {
  min-height: auto;
}

.category-stack {
  display: grid;
  gap: 32px;
}

.mini-category h3 {
  margin: 0 0 16px;
  color: var(--purple-soft);
  font-size: 1.35rem;
}

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

.list-stack {
  display: grid;
  gap: 16px;
}

.page-hero {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.18), transparent 28rem),
    linear-gradient(145deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.78));
  box-shadow: var(--shadow);
}

.compact-hero {
  padding: clamp(28px, 6vw, 58px);
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  color: var(--soft);
  line-height: 1.8;
  font-size: 1.05rem;
}

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

.category-tile,
.wide-card,
.detail-card,
.side-card,
.rank-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.88));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.category-tile {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  border-color: rgba(245, 158, 11, 0.58);
}

.category-tile span,
.category-tile em {
  color: var(--muted);
  font-style: normal;
}

.category-tile strong {
  color: #fef3c7;
  font-size: 1.45rem;
}

.wide-card {
  padding: 28px;
}

.wide-card h2 {
  margin-top: 0;
  color: #fef3c7;
}

.wide-card p {
  color: var(--soft);
  line-height: 1.8;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 190px 190px;
  gap: 12px;
  margin: 28px 0 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.76);
}

.empty-state {
  padding: 24px;
  border: 1px dashed rgba(245, 158, 11, 0.38);
  border-radius: 16px;
  color: var(--amber-light);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--soft);
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(147, 51, 234, 0.24);
}

.pagination a.active,
.pagination a:hover {
  color: #fff;
  background: rgba(245, 158, 11, 0.84);
  border-color: rgba(245, 158, 11, 0.84);
}

.ranking-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  margin-top: 44px;
}

.rank-panel {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 22px;
}

.rank-panel h2 {
  margin-top: 0;
  color: #fef3c7;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 56px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--soft);
}

.rank-number {
  color: var(--amber-light);
  font-weight: 900;
  font-size: 1.1rem;
}

.rank-row img {
  width: 56px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  color: #fef3c7;
  line-height: 1.35;
}

.rank-info em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.search-page .page-search {
  max-width: 720px;
  margin-top: 22px;
}

.detail-page {
  padding-bottom: 24px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--amber-light);
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.detail-side {
  position: sticky;
  top: 96px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  border: 1px solid rgba(245, 158, 11, 0.26);
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  border: 0;
  color: white;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.1));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-play-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 18px 45px rgba(245, 158, 11, 0.28);
  font-size: 2rem;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #fde68a;
  background: rgba(0, 0, 0, 0.52);
  pointer-events: none;
  font-size: 0.88rem;
}

.detail-card,
.side-card {
  padding: 24px;
}

.detail-card h1 {
  margin: 0 0 18px;
  color: #fef3c7;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 16px;
  color: var(--amber-light);
}

.detail-one-line {
  color: #fcd34d;
  font-size: 1.13rem;
  line-height: 1.75;
}

.prose-card p {
  color: var(--soft);
  line-height: 1.95;
  text-align: justify;
}

.poster-side {
  padding: 0;
  overflow: hidden;
}

.poster-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.info-row span {
  color: var(--muted);
}

.info-row strong {
  color: var(--soft);
  text-align: right;
}

.side-related {
  display: grid;
  gap: 14px;
}

.side-related-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
}

.side-related-item img {
  width: 62px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
}

.side-related-item strong,
.side-related-item em {
  display: block;
}

.side-related-item strong {
  color: #fef3c7;
  line-height: 1.35;
}

.side-related-item em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

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

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.96));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 42px;
  padding: 42px 0;
}

.footer-logo strong,
.footer-logo span {
  display: block;
}

.footer-logo strong {
  color: #fef3c7;
  font-size: 1.25rem;
}

.footer-logo span,
.footer-brand p,
.footer-group a {
  color: var(--muted);
}

.footer-brand p {
  max-width: 620px;
  line-height: 1.75;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-group h2 {
  margin: 0 0 8px;
  color: var(--amber-light);
  font-size: 1rem;
}

.footer-group a:hover {
  color: var(--amber-light);
}

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

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

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

  .rank-panel,
  .detail-side {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    min-height: 66px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .hero-slider {
    height: 640px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-content {
    bottom: 76px;
  }

  .search-band,
  .footer-inner,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .movie-card-horizontal .movie-card-link {
    grid-template-columns: 150px 1fr;
  }

  .movie-card-horizontal .poster-frame {
    height: 135px;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .search-band,
  .footer-inner,
  .site-header-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-slider {
    min-height: 560px;
    height: 76vh;
  }

  .hero-content h1 {
    font-size: 2.45rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .movie-grid,
  .mini-grid,
  .category-tile-grid {
    grid-template-columns: 1fr;
  }

  .poster-frame {
    height: 290px;
  }

  .movie-card-horizontal .movie-card-link {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal .poster-frame {
    height: 230px;
  }

  .detail-card,
  .side-card,
  .compact-hero {
    padding: 20px;
  }
}
