:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --amber: #f59e0b;
  --orange: #f97316;
  --red: #ef4444;
  --blue: #2563eb;
  --slate: #0f172a;
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

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;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand {
  font-size: 20px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  padding: 9px 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #92400e;
  background: #fffbeb;
}

.top-search {
  width: 280px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.top-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 9px 12px;
  background: transparent;
}

.top-search button,
.primary-btn {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--ink);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.hero-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.28), transparent 30%), linear-gradient(135deg, #0f172a, #111827 50%, #451a03);
  color: #ffffff;
}

.hero-glow {
  position: absolute;
  inset: auto -12% -28% auto;
  width: 540px;
  height: 540px;
  background: rgba(245, 158, 11, 0.35);
  filter: blur(70px);
  border-radius: 50%;
}

.hero-carousel {
  position: relative;
  max-width: 1280px;
  min-height: 720px;
  margin: 0 auto;
  padding: 80px 24px 110px;
}

.hero-slide {
  position: absolute;
  inset: 80px 24px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 58px;
  align-items: center;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -90px -120px;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.25)), var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: blur(5px);
  border-radius: 36px;
}

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

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 730px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.detail-tags,
.tag-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags,
.detail-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  padding: 8px 12px;
  color: #fef3c7;
  background: rgba(251, 191, 36, 0.13);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

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

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 18px;
  backdrop-filter: blur(12px);
}

.dark-ghost {
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--ink);
  background: #ffffff;
}

.hero-poster {
  display: block;
  border-radius: 32px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  border-radius: 24px;
}

.hero-poster span {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--red));
  border-radius: 999px;
  font-size: 24px;
  box-shadow: 0 16px 38px rgba(239, 68, 68, 0.34);
}

.hero-controls {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 46px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 32px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.quick-cats,
.content-section,
.page-shell,
.detail-content,
.player-section {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.quick-cats {
  padding-top: 44px;
  padding-bottom: 20px;
}

.content-section {
  padding-top: 74px;
  padding-bottom: 74px;
}

.no-top {
  padding-top: 32px;
}

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

.section-head span,
.compact-head span {
  color: var(--amber);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.section-head h2,
.compact-head h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head a {
  color: #b45309;
  font-weight: 900;
}

.section-head.inverted h2,
.section-head.inverted a {
  color: #ffffff;
}

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

.quick-cat-grid a,
.category-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-cat-grid a:hover,
.category-card:hover,
.movie-card:hover,
.ranking-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.quick-cat-grid strong,
.category-card strong {
  font-size: 20px;
}

.quick-cat-grid span,
.category-card span {
  color: var(--muted);
  line-height: 1.7;
}

.category-covers {
  display: flex;
  gap: 8px;
  height: 94px;
  margin-bottom: 6px;
}

.category-covers img {
  width: 32%;
  height: 94px;
  object-fit: cover;
  border-radius: 14px;
}

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

.movie-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.86));
}

.card-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.card-meta {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.card-body strong {
  font-size: 18px;
  line-height: 1.35;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tag-row span {
  padding: 5px 8px;
  color: #92400e;
  background: #fffbeb;
}

.light-band {
  max-width: none;
  background: linear-gradient(90deg, #fff7ed, #fffbeb, #fff7ed);
}

.light-band > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.horizontal-list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.horizontal-card {
  flex-direction: row;
  min-height: 190px;
}

.horizontal-card .poster-wrap {
  flex: 0 0 150px;
}

.horizontal-card .poster-wrap img {
  height: 100%;
  aspect-ratio: auto;
}

.dark-band {
  max-width: none;
  background: linear-gradient(135deg, #0f172a, #111827);
}

.dark-band > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.dark-band .movie-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.dark-band .card-desc {
  color: #cbd5e1;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.8fr);
  gap: 24px;
}

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

.ranking-panel,
.ranking-full {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 44px 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-row img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-number {
  color: #f97316;
  font-size: 24px;
  font-weight: 1000;
  text-align: center;
}

.ranking-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ranking-info strong {
  font-size: 17px;
}

.ranking-info em {
  color: var(--amber);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.ranking-info span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ranking-score {
  padding: 8px 11px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-weight: 900;
}

.page-shell {
  padding-top: 42px;
  padding-bottom: 74px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 36px;
  color: #ffffff;
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.35), transparent 30%), linear-gradient(135deg, #0f172a, #1e293b);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.85;
}

.filter-panel {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 20px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.card-filter-input {
  width: 100%;
  border: 1px solid var(--line);
  outline: 0;
  padding: 15px 18px;
  border-radius: 18px;
  background: #f8fafc;
}

.chip-row {
  margin-top: 14px;
}

.chip-row button {
  border: 0;
  color: #475569;
  background: #f1f5f9;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.chip-row button.is-active,
.chip-row button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.6)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.03);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px 24px 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #cbd5e1;
  margin-bottom: 36px;
}

.breadcrumb a {
  color: #fbbf24;
  font-weight: 800;
}

.breadcrumb em {
  font-style: normal;
  color: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-cover {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  margin: 16px 0;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.detail-copy p {
  max-width: 820px;
  color: #e2e8f0;
  font-size: 18px;
  line-height: 1.8;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.detail-stats span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #cbd5e1;
}

.detail-stats strong {
  color: #ffffff;
}

.player-section {
  padding-top: 64px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.72));
  cursor: pointer;
}

.player-start.is-hidden {
  display: none;
}

.player-start span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.34);
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  padding-top: 42px;
}

.story-card {
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.84);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.story-card p {
  margin: 0;
  color: #475569;
  line-height: 1.95;
}

.meta-card {
  grid-column: 1 / -1;
}

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

.meta-card div {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
}

.meta-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.meta-card dd {
  margin: 6px 0 0;
  line-height: 1.7;
}

.compact-card .card-body strong {
  font-size: 16px;
}

.compact-card .card-desc {
  display: none;
}

.related-section {
  padding-top: 56px;
}

.site-footer {
  color: #e2e8f0;
  background: linear-gradient(180deg, #0f172a, #020617);
  margin-top: 42px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fbbf24;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 18px 24px;
  text-align: center;
  color: #94a3b8;
}

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

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

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

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .main-nav,
  .top-search {
    display: none;
    width: 100%;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .top-search {
    display: flex;
  }

  .main-nav {
    flex-wrap: wrap;
    order: 3;
  }

  .top-search {
    order: 4;
  }

  .hero-section,
  .hero-carousel {
    min-height: 900px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-poster {
    max-width: 360px;
    transform: none;
  }

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

  .horizontal-list,
  .ranking-layout,
  .detail-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    max-width: 340px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .quick-cats,
  .content-section,
  .page-shell,
  .detail-content,
  .player-section,
  .detail-hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section,
  .hero-carousel {
    min-height: 860px;
  }

  .hero-carousel {
    padding: 52px 16px 98px;
  }

  .hero-slide {
    inset: 52px 16px 98px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 42px;
  }

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

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

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

  .horizontal-card {
    flex-direction: column;
  }

  .horizontal-card .poster-wrap {
    flex-basis: auto;
  }

  .ranking-row {
    grid-template-columns: 36px 62px minmax(0, 1fr);
  }

  .ranking-score {
    grid-column: 3;
    width: max-content;
  }

  .page-hero {
    padding: 36px 22px;
    border-radius: 28px;
  }

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

@media (max-width: 480px) {
  .movie-grid,
  .quick-cat-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 18px;
  }

  .hero-section,
  .hero-carousel {
    min-height: 820px;
  }

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