:root {
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --border: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --gold: #facc15;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(34, 211, 238, 0.18), transparent 38rem),
    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.18), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

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

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

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.28);
}

.logo-text {
  font-size: 18px;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  color: var(--soft);
  padding: 10px 14px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: white;
  background: rgba(34, 211, 238, 0.13);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  padding: 0 20px;
  font-weight: 700;
  transition: 0.25s ease;
}

.header-cta,
.btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 16px 34px rgba(34, 211, 238, 0.22);
}

.header-cta:hover,
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(34, 211, 238, 0.34);
}

.btn.ghost {
  color: white;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  border-color: rgba(34, 211, 238, 0.52);
  background: rgba(15, 23, 42, 0.88);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  margin: 4px auto;
  border-radius: 10px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 16px;
  background: rgba(2, 6, 23, 0.96);
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.mobile-logo {
  padding: 6px 0 12px;
}

.hero-shell {
  position: relative;
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 680px;
  padding: 72px 0 36px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 82%, transparent);
}

.hero-slider {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 40px;
  align-items: center;
  padding: 64px;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(1.015);
}

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

.hero-backdrop,
.detail-backdrop,
.category-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  filter: blur(18px) saturate(1.25);
  transform: scale(1.08);
}

.hero-slide::after,
.detail-hero::after,
.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.7), rgba(2, 6, 23, 0.42)),
    radial-gradient(circle at 75% 35%, rgba(34, 211, 238, 0.2), transparent 26rem);
}

.hero-copy,
.hero-poster,
.detail-inner,
.category-hero > *:not(.category-hero-bg) {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #ffffff, #67e8f9 48%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  color: var(--soft);
  font-size: 18px;
}

.hero-tags,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-tags span {
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.56);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}

.hero-poster {
  justify-self: end;
  width: min(360px, 100%);
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(2deg);
}

.hero-poster img,
.poster-wrap img,
.category-tile img,
.compact-card img,
.rank-row img,
.ranking-table-row img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-dot {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.4);
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dot.active {
  width: 54px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.quick-search,
.content-section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search {
  margin-top: -18px;
  margin-bottom: 76px;
  position: relative;
  z-index: 5;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.quick-search h2,
.section-head h2,
.gallery-panel h2,
.rank-panel h3,
.story-panel h2 {
  margin: 10px 0 0;
  color: white;
  line-height: 1.2;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  outline: 0;
  padding: 0 18px;
  background: rgba(2, 6, 23, 0.62);
  color: white;
  font-size: 15px;
  transition: 0.25s ease;
}

.search-box input:focus {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.content-section {
  padding-bottom: 82px;
}

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

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-head a {
  color: var(--cyan);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.86));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  transition: 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 22px 58px rgba(2, 6, 23, 0.56);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
}

.poster-wrap img {
  transition: transform 0.35s ease;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, var(--gold));
  padding: 4px 10px;
  font-weight: 900;
  font-size: 12px;
}

.card-content {
  padding: 17px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.card-content h3 {
  margin: 9px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.card-content h3 a:hover {
  color: var(--cyan);
}

.card-content p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.11);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.movie-card-large {
  display: grid;
  grid-template-columns: minmax(240px, 0.46fr) minmax(0, 0.54fr);
}

.movie-card-large .poster-wrap {
  min-height: 430px;
}

.movie-card-large .card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.movie-card-large h3 {
  font-size: 30px;
}

.movie-card-large p {
  min-height: auto;
  font-size: 16px;
}

.rank-panel,
.gallery-panel,
.story-panel {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
}

.rank-panel {
  padding: 22px;
}

.rank-panel h3 {
  margin-bottom: 16px;
}

.rank-row,
.ranking-table-row {
  display: grid;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  transition: 0.25s ease;
}

.rank-row {
  grid-template-columns: 32px 48px 1fr auto;
  padding: 9px;
  color: var(--soft);
}

.rank-row:hover,
.ranking-table-row:hover {
  background: rgba(34, 211, 238, 0.1);
}

.rank-row span {
  color: var(--cyan);
  font-weight: 900;
}

.rank-row img {
  height: 60px;
  border-radius: 12px;
}

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

.rank-row em,
.ranking-table-row em,
.compact-card em,
.category-tile em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

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

.category-grid.large-gap {
  gap: 24px;
}

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.42);
}

.category-tile img {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  transition: 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.06);
  opacity: 0.46;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.24));
}

.tile-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.18);
  filter: blur(12px);
}

.tile-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

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

.compact-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.13);
  transition: 0.25s ease;
}

.compact-card:hover {
  background: rgba(34, 211, 238, 0.1);
}

.compact-card img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
}

.compact-card span {
  display: grid;
  gap: 4px;
}

.compact-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.page-hero {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 70px;
  text-align: center;
}

.small-hero h1,
.category-hero h1 {
  margin: 18px auto 14px;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, white, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .eyebrow {
  margin: 0 auto;
}

.page-hero p {
  margin: 0 auto;
}

.centered {
  justify-content: center;
}

.hero-search {
  width: min(620px, 100%);
  margin: 28px auto 0;
  text-align: left;
}

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

.category-list li {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.category-list a {
  color: var(--cyan);
  font-weight: 900;
}

.category-list span {
  color: var(--muted);
}

.category-hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 34px 34px;
}

.toolbar {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.search-box.slim {
  max-width: 620px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.74);
  color: var(--soft);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.25s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: white;
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.14);
}

.ranking-table {
  display: grid;
  gap: 12px;
}

.ranking-table-row {
  grid-template-columns: 52px 64px minmax(0, 1fr) auto 54px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.ranking-number,
.ranking-table-row b {
  color: var(--gold);
  font-weight: 900;
}

.ranking-table-row img {
  width: 64px;
  height: 86px;
  border-radius: 12px;
}

.detail-hero {
  min-height: 680px;
}

.detail-hero::after {
  z-index: 1;
}

.detail-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  color: white;
  cursor: pointer;
  background: #000;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.74));
}

.play-icon {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 47%;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.34);
  font-size: 30px;
  padding-left: 4px;
}

.player-cover strong {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: calc(47% + 58px);
  font-size: 18px;
}

.player-shell.is-playing .player-cover {
  opacity: 0;
  pointer-events: none;
}

.detail-info h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.one-line {
  color: var(--soft);
  font-size: 18px;
}

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

.meta-list div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.meta-list dt {
  color: var(--muted);
  font-size: 12px;
}

.meta-list dd {
  margin: 3px 0 0;
  color: white;
  font-weight: 800;
}

.detail-tags span {
  font-size: 13px;
}

.detail-content {
  margin-top: -26px;
  position: relative;
  z-index: 5;
}

.story-panel {
  padding: clamp(24px, 4vw, 42px);
}

.story-panel p {
  color: var(--soft);
  font-size: 17px;
  margin: 14px 0 28px;
}

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

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

.footer-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.footer-logo {
  width: fit-content;
  color: white;
}

.footer-inner p {
  max-width: 720px;
  margin: 0;
}

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

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

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

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

  .featured-layout,
  .split-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .gallery-panel {
    position: static;
  }
}

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

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

  .hero-shell {
    min-height: auto;
    padding-top: 28px;
  }

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

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

  .hero-poster {
    justify-self: center;
    width: min(260px, 76vw);
  }

  .quick-search-inner,
  .movie-card-large,
  .category-list,
  .compact-grid.four {
    grid-template-columns: 1fr;
  }

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

  .ranking-table-row {
    grid-template-columns: 38px 54px minmax(0, 1fr) 44px;
  }

  .ranking-table-row em {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .quick-search,
  .content-section,
  .page-hero,
  .detail-inner,
  .footer-inner,
  .hero-shell {
    width: min(100% - 22px, 1220px);
  }

  .logo-text {
    font-size: 16px;
  }

  .hero-slider {
    min-height: 660px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 24px;
  }

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

  .hero-copy p,
  .page-hero p,
  .one-line {
    font-size: 16px;
  }

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

  .meta-list {
    grid-template-columns: 1fr;
  }

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

  .detail-inner {
    padding-bottom: 44px;
  }
}
