:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.22);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --orange: #f97316;
  --red: #ef4444;
  --shadow: 0 24px 80px rgba(8, 47, 73, 0.32);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 32rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 30rem),
    linear-gradient(135deg, #020617 0%, #0f172a 45%, #020617 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.32);
  color: white;
  font-size: 18px;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(34, 211, 238, 0.12);
}

.nav-search {
  width: 240px;
  position: relative;
}

.nav-search input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 0 44px 0 16px;
  color: white;
  background: rgba(15, 23, 42, 0.72);
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

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

.nav-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  color: white;
  background: rgba(15, 23, 42, 0.8);
}

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

.mobile-panel {
  display: none;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.92) 42%, rgba(15, 23, 42, 0.42) 68%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, transparent 42%, rgba(2, 6, 23, 0.35) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: end;
  padding-top: 72px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker,
.page-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}

.hero-title {
  margin: 0;
  color: white;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-movie {
  display: block;
  margin-top: 14px;
  color: var(--cyan);
}

.hero-desc {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-meta {
  margin-top: 22px;
}

.meta-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-primary,
.btn-ghost,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.btn-primary {
  min-height: 52px;
  padding: 0 24px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 44px rgba(34, 211, 238, 0.28);
}

.btn-primary:hover,
.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(34, 211, 238, 0.36);
}

.btn-ghost {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: white;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.1);
}

.btn-small {
  min-height: 38px;
  padding: 0 15px;
  color: white;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.35);
}

.hero-panel {
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel h2,
.hero-panel h3 {
  margin: 0 0 14px;
  color: white;
  font-size: 18px;
}

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

.hero-mini {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-mini:hover {
  background: rgba(34, 211, 238, 0.1);
  transform: translateX(4px);
}

.hero-mini-cover {
  width: 76px;
  height: 50px;
  border-radius: 12px;
  background-image: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.72)), var(--cover-image);
  background-size: cover;
  background-position: center;
}

.hero-mini strong {
  display: block;
  color: white;
  font-size: 14px;
  line-height: 1.35;
}

.hero-mini span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.hero-dot {
  width: 46px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.35);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section {
  padding: 64px 0;
}

.section.compact {
  padding-top: 36px;
}

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

.section-title {
  margin: 0;
  color: white;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 12px 42px rgba(2, 6, 23, 0.26);
  transition: transform 0.32s ease, border 0.32s ease, box-shadow 0.32s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.48);
  box-shadow: 0 28px 72px rgba(8, 145, 178, 0.2);
}

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

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.86)),
    var(--cover-image),
    linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(59, 130, 246, 0.22));
  background-size: cover;
  background-position: center;
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(34, 211, 238, 0.16), transparent 30%);
  opacity: 0;
  transition: opacity 0.32s ease;
}

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

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: white;
  background: rgba(34, 211, 238, 0.88);
  transform: translate(-50%, -50%) scale(0.76);
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

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

.card-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(34, 211, 238, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.card-score {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(2, 6, 23, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 18px;
}

.card-title {
  margin: 0;
  color: white;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.movie-card:hover .card-title {
  color: var(--cyan);
}

.card-desc {
  display: -webkit-box;
  min-height: 48px;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  color: #64748b;
  font-size: 12px;
}

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

.category-tile {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 12rem),
    rgba(15, 23, 42, 0.72);
  transition: transform 0.28s ease, border 0.28s ease, background 0.28s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.42);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.24), transparent 12rem),
    rgba(15, 23, 42, 0.86);
}

.category-tile strong {
  display: block;
  color: white;
  font-size: 22px;
}

.category-tile span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 56px 104px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.62);
  transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(15, 23, 42, 0.86);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-weight: 900;
}

.rank-cover {
  width: 104px;
  height: 66px;
  border-radius: 16px;
  background-image: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.75)), var(--cover-image);
  background-size: cover;
  background-position: center;
}

.rank-title {
  margin: 0;
  color: white;
  font-size: 18px;
}

.rank-desc {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.rank-meta {
  color: var(--muted);
  font-size: 13px;
  justify-content: flex-end;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 56px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.15), transparent 28rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 24rem),
    rgba(2, 6, 23, 0.64);
}

.page-title,
.detail-title {
  margin: 0;
  max-width: 980px;
  color: white;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-desc,
.detail-desc {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

.filter-panel {
  margin: -28px auto 40px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 0.7fr));
  gap: 12px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  padding: 0 14px;
  color: white;
  background: rgba(2, 6, 23, 0.58);
  outline: none;
}

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

.empty-state {
  display: none;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.62);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  min-height: 560px;
  display: flex;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.9) 48%, rgba(2, 6, 23, 0.38) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.95), transparent 44%),
    var(--detail-image);
  background-size: cover;
  background-position: center;
}

.detail-meta {
  margin-top: 22px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #020617;
  box-shadow: 0 30px 90px rgba(8, 47, 73, 0.42);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.78));
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.player-overlay-inner {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.play-orb {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 24px 70px rgba(34, 211, 238, 0.42);
  font-size: 32px;
  transform: translateX(2px);
}

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

.player-shell.is-playing .player-overlay,
.player-shell.is-ready .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  min-height: 24px;
  color: #fde68a;
  font-size: 14px;
  text-align: center;
  pointer-events: none;
}

.content-card {
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 18px 54px rgba(2, 6, 23, 0.22);
}

.content-card + .content-card {
  margin-top: 18px;
}

.content-card h2,
.content-card h3 {
  margin: 0 0 14px;
  color: white;
  font-size: 24px;
}

.content-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.86;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.quick-list {
  display: grid;
  gap: 10px;
}

.quick-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--muted-strong);
}

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

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

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

.footer-title {
  margin: 0 0 12px;
  color: white;
  font-size: 18px;
}

.footer-text,
.footer-links a {
  color: var(--muted);
  line-height: 1.75;
}

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

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

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  font-size: 13px;
}

.hidden-card {
  display: none;
}

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

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

  .hero-panel {
    display: none;
  }

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

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

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

  .nav-toggle {
    display: block;
  }

  .mobile-panel {
    position: fixed;
    inset: 72px 16px auto;
    z-index: 90;
    display: none;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

  body.menu-open .mobile-panel {
    display: grid;
    gap: 10px;
  }

  .mobile-panel a,
  .mobile-panel input,
  .mobile-panel button {
    width: 100%;
  }

  .mobile-panel a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.65);
  }

  .mobile-panel form {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 8px;
  }

  .mobile-panel input {
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    padding: 0 12px;
    color: white;
    background: rgba(15, 23, 42, 0.8);
  }

  .mobile-panel button {
    border: 0;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
  }

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

  .hero-slide {
    padding: 72px 0 86px;
    align-items: end;
  }

  .hero-title {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-desc,
  .page-desc,
  .detail-desc {
    font-size: 16px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .filter-controls {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 44px 80px minmax(0, 1fr);
  }

  .rank-meta {
    grid-column: 3;
    justify-content: flex-start;
  }

  .rank-cover {
    width: 80px;
    height: 54px;
  }

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

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

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

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

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

  .section {
    padding: 46px 0;
  }

  .page-hero,
  .detail-hero {
    padding: 64px 0 44px;
    min-height: 520px;
  }

  .content-card {
    padding: 22px;
  }

  .player-shell {
    border-radius: 20px;
  }
}
