:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.95);
  --line: rgba(56, 189, 248, 0.18);
  --line-strong: rgba(56, 189, 248, 0.38);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.14);
  --yellow: #facc15;
  --red: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(6, 182, 212, 0.18), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(59, 130, 246, 0.2), transparent 28%),
    linear-gradient(135deg, #020617 0%, #0f172a 44%, #172554 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(30, 64, 175, 0.35);
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, 360px);
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--cyan);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: #06202a;
  background: linear-gradient(135deg, var(--cyan), #e0f2fe);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.35);
}

.brand-text {
  font-size: 20px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted-strong);
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cyan);
  background: var(--cyan-soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.86);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 4px;
  background: var(--cyan);
}

.header-search,
.wide-search {
  position: relative;
}

.header-search input,
.wide-search input,
.filter-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  outline: none;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  padding: 11px 16px;
}

.wide-search input,
.filter-search input {
  padding: 16px 22px;
}

.header-search input:focus,
.wide-search input:focus,
.filter-search input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.96);
  box-shadow: var(--shadow);
}

.search-result-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  color: var(--muted-strong);
}

.search-result-item:hover {
  background: rgba(34, 211, 238, 0.1);
  color: var(--text);
}

.search-result-item img {
  width: 44px;
  height: 60px;
  border-radius: 9px;
  object-fit: cover;
  background: #0f172a;
}

.search-result-item strong,
.search-result-item span {
  display: block;
}

.search-result-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

main {
  position: relative;
  z-index: 1;
}

.page-section,
.detail-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 24px;
}

.first-section {
  padding-top: 28px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.hero-carousel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0f172a;
  box-shadow: var(--shadow);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 32%, rgba(34, 211, 238, 0.26), transparent 28%),
    linear-gradient(to top, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.58) 44%, rgba(2, 6, 23, 0.08));
}

.hero-content {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 66px;
  max-width: 760px;
}

.hero-badges,
.hero-actions,
.detail-actions,
.detail-meta,
.movie-meta-line,
.tag-row,
.breadcrumb,
.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-badges {
  gap: 9px;
  margin-bottom: 16px;
}

.hero-badges span,
.tag-row span {
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(8, 145, 178, 0.12);
}

.hero-badges span {
  padding: 7px 12px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.hero-content h1,
.hero-content h2,
.page-hero h1,
.detail-intro h1 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-content h1,
.hero-content h2 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 72px);
  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.55);
}

.hero-movie-title {
  margin: 16px 0 0;
  color: var(--yellow);
  font-size: 20px;
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions,
.detail-actions {
  gap: 12px;
  margin-top: 24px;
}

.primary-btn,
.ghost-btn,
.section-link,
.ghost-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  padding: 13px 22px;
  color: #06131a;
  background: linear-gradient(135deg, var(--cyan), #e0f2fe);
  box-shadow: 0 16px 34px rgba(34, 211, 238, 0.25);
}

.ghost-btn,
.section-link,
.ghost-mini {
  border: 1px solid var(--line-strong);
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.66);
}

.ghost-btn {
  padding: 12px 20px;
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover,
.ghost-mini:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.68);
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.14);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 46px;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--cyan);
}

.hero-side,
.rank-panel,
.detail-side,
.content-card,
.player-card,
.category-overview-card,
.filter-panel,
.search-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-side,
.rank-panel,
.detail-side {
  padding: 20px;
}

.side-title {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 800;
}

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

.compact-link {
  display: grid;
  grid-template-columns: 28px 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted-strong);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.compact-link:hover {
  border-color: var(--line-strong);
  background: rgba(34, 211, 238, 0.08);
  transform: translateX(3px);
}

.compact-link img {
  width: 56px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: #0f172a;
}

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

.compact-link strong {
  color: var(--text);
  line-height: 1.35;
}

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

.rank-no {
  color: var(--yellow);
  font-weight: 900;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-band h2,
.section-head h2,
.category-overview-head h2,
.player-card h2,
.content-card h2 {
  margin: 0;
  line-height: 1.15;
}

.search-band h2,
.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
}

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

.section-link,
.ghost-mini {
  padding: 9px 15px;
  font-size: 14px;
}

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

.category-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 48px rgba(34, 211, 238, 0.12);
}

.tile-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 116px;
  background: #0f172a;
}

.tile-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-body {
  padding: 18px;
}

.tile-body h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.tile-body p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.tile-body span {
  color: var(--cyan);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.74);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 22px 55px rgba(6, 182, 212, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #0f172a;
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent);
}

.rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #1f1300;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-meta-line {
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta-line span + span::before {
  content: "·";
  margin-right: 8px;
  color: rgba(148, 163, 184, 0.7);
}

.movie-card h2 {
  margin: 8px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h2 a:hover,
.ranking-info h2 a:hover,
.category-overview-head h2 a:hover {
  color: var(--cyan);
}

.movie-card p {
  min-height: 62px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tag-row {
  gap: 7px;
}

.tag-row span {
  padding: 4px 8px;
  font-size: 12px;
}

.page-hero,
.compact-hero {
  max-width: 1440px;
  margin: 28px auto 0;
  padding: 54px 24px 34px;
}

.compact-hero {
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  max-width: 820px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb {
  gap: 9px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.category-overview-card {
  padding: 22px;
}

.category-overview-card > p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
}

.filter-row {
  gap: 9px;
}

.filter-row span:first-child {
  min-width: 42px;
  color: var(--muted-strong);
  font-weight: 800;
}

.filter-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.76);
  cursor: pointer;
}

.filter-row button:hover,
.filter-row button.active {
  color: #06131a;
  border-color: transparent;
  background: var(--cyan);
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 70px 82px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.74);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(15, 23, 42, 0.92);
}

.ranking-num {
  color: var(--yellow);
  font-size: 24px;
  font-weight: 900;
}

.ranking-cover img {
  width: 82px;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
  background: #0f172a;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ranking-info p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.detail-hero {
  padding-top: 44px;
}

.detail-head {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-top: 26px;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

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

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

.detail-meta {
  gap: 10px;
  margin-top: 18px;
  color: var(--muted-strong);
}

.detail-meta span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
}

.detail-one-line {
  max-width: 980px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

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

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card,
.content-card {
  padding: 22px;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 22px;
  background: #000;
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  color: var(--text);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.32), rgba(2, 6, 23, 0.78));
  cursor: pointer;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #06131a;
  background: var(--cyan);
  box-shadow: 0 0 38px rgba(34, 211, 238, 0.42);
  font-size: 32px;
}

.play-overlay strong {
  font-size: 20px;
}

.content-card p {
  margin: 14px 0 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.9;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 54px;
  border-top: 1px solid rgba(30, 64, 175, 0.35);
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(23, 37, 84, 0.9), rgba(2, 6, 23, 0.96));
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 38px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 28px;
}

.footer-logo {
  color: var(--cyan);
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

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

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

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

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

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

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

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .hero-wrap,
  .split-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-side,
  .rank-panel,
  .detail-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .side-title {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .main-nav,
  .header-search {
    grid-column: 1 / -1;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    padding: 10px 0;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .header-search {
    display: none;
  }

  body.nav-open .header-search {
    display: block;
  }

  .hero-carousel {
    min-height: 520px;
  }

  .hero-content {
    left: 24px;
    right: 24px;
    bottom: 58px;
  }

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

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

  .hero-arrow {
    display: none;
  }

  .search-band,
  .detail-head,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-head {
    align-items: start;
  }

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

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

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

  .ranking-row {
    grid-template-columns: 48px 72px 1fr;
  }

  .ranking-row .ghost-mini {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .ranking-cover img {
    width: 72px;
    height: 98px;
  }

  .hero-side,
  .rank-panel,
  .detail-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-section,
  .detail-hero,
  .page-hero,
  .compact-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-carousel {
    border-radius: 18px;
  }

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

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

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

  .movie-card p {
    min-height: 0;
  }

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

  .ranking-num {
    font-size: 20px;
  }

  .ranking-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }
}
