:root {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --bg-card: #273449;
  --line: rgba(148, 163, 184, 0.22);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.18);
  --emerald: #10b981;
  --rose: #fb7185;
  --cyan: #22d3ee;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 36rem),
    linear-gradient(180deg, #0f172a 0%, #182235 42%, #0f172a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

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: 50;
  background: rgba(15, 23, 42, 0.84);
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.28);
}

.brand-name {
  white-space: nowrap;
}

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

.nav-link {
  padding: 10px 13px;
  color: #cbd5e1;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}

.header-search,
.mobile-search,
.page-search {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.72);
}

.header-search input,
.mobile-search input,
.page-search input {
  width: 230px;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  padding: 11px 15px;
}

.header-search button,
.mobile-search button,
.page-search button {
  margin-right: 4px;
  padding: 8px 16px;
  color: #0f172a;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  font-weight: 800;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  width: min(420px, 92vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
}

.search-suggest.active {
  display: block;
}

.search-suggest a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.search-suggest a:last-child {
  border-bottom: 0;
}

.search-suggest img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}

.search-suggest strong {
  display: block;
  color: #fbbf24;
}

.search-suggest span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.82);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fbbf24;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(245, 158, 11, 0.16);
  background: rgba(15, 23, 42, 0.96);
}

.mobile-panel.active {
  display: block;
}

.mobile-nav {
  display: grid;
  gap: 6px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 8px;
}

.mobile-nav a {
  padding: 12px 0;
  color: #cbd5e1;
}

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

.mobile-search input {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.82) 44%, rgba(15, 23, 42, 0.36) 100%),
    radial-gradient(circle at 58% 42%, rgba(245, 158, 11, 0.26), transparent 34rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: 56px;
  align-items: center;
  padding: 70px 0 96px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.section-kicker.green {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.24);
}

.section-kicker.rose {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.24);
}

.section-kicker.cyan {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.24);
}

.hero h1,
.sub-hero h1 {
  margin: 0;
  color: #fbbf24;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero p,
.sub-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.primary-btn,
.ghost-btn,
.intro-actions a,
.row-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-btn,
.intro-actions a:first-child,
.row-play {
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.24);
}

.ghost-btn,
.intro-actions a:last-child {
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.34);
  background: rgba(15, 23, 42, 0.46);
}

.primary-btn.full {
  width: 100%;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 28px;
  background: rgba(30, 41, 59, 0.64);
  box-shadow: var(--shadow);
}

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

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fbbf24;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  opacity: 0.42;
}

.hero-dot.active {
  width: 26px;
  opacity: 1;
  border-radius: 999px;
  background: #fbbf24;
}

.section-block {
  padding: 68px 0;
}

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding: 32px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
  box-shadow: var(--shadow);
}

.intro-strip h2,
.section-heading h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

.intro-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

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

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

.catalog-grid {
  align-items: stretch;
}

.movie-card,
.wide-card,
.ranking-row,
.side-box,
.detail-content,
.player-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(39, 52, 73, 0.94), rgba(30, 41, 59, 0.94));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.46);
  box-shadow: 0 24px 58px rgba(245, 158, 11, 0.12);
}

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

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .poster-link img,
.wide-card:hover img,
.category-card:hover img,
.hero-poster:hover img {
  transform: scale(1.08);
}

.year-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  font-weight: 900;
}

.year-pill {
  right: 12px;
  padding: 6px 10px;
  color: #0f172a;
  background: #fbbf24;
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #f59e0b);
}

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

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #fbbf24;
  background: var(--amber-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h2,
.wide-card h2,
.ranking-row h2 {
  margin: 12px 0 8px;
  color: #fbbf24;
  font-size: 20px;
  line-height: 1.3;
}

.movie-card p,
.wide-card p,
.ranking-row p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta,
.wide-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta span,
.wide-meta span,
.wide-meta a,
.detail-meta span {
  padding: 5px 9px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.38);
}

.section-panel {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.58));
}

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

.wide-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  overflow: hidden;
  padding: 12px;
  border-radius: 18px;
}

.wide-thumb {
  overflow: hidden;
  border-radius: 14px;
}

.wide-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

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

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

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

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #111827;
  box-shadow: var(--shadow);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.category-card:hover img {
  opacity: 0.5;
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.96));
}

.category-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.46), transparent 68%);
  z-index: 1;
}

.category-card.rose .category-glow {
  background: radial-gradient(circle, rgba(251, 113, 133, 0.46), transparent 68%);
}

.category-card.cyan .category-glow {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.46), transparent 68%);
}

.category-card.emerald .category-glow {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.46), transparent 68%);
}

.category-card.violet .category-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.46), transparent 68%);
}

.category-card.orange .category-glow {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.46), transparent 68%);
}

.category-card.lime .category-glow {
  background: radial-gradient(circle, rgba(132, 204, 22, 0.46), transparent 68%);
}

.category-card.sky .category-glow {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.46), transparent 68%);
}

.category-card div {
  position: absolute;
  inset: auto 22px 22px 22px;
  z-index: 2;
}

.category-card h2 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 28px;
}

.category-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  background:
    radial-gradient(circle at 78% 20%, rgba(245, 158, 11, 0.22), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.84));
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
}

.sub-hero.category-hero.rose {
  background: radial-gradient(circle at 78% 20%, rgba(251, 113, 133, 0.2), transparent 28rem), linear-gradient(135deg, #0f172a, #1e293b);
}

.sub-hero.category-hero.cyan,
.sub-hero.search-hero {
  background: radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.2), transparent 28rem), linear-gradient(135deg, #0f172a, #1e293b);
}

.sub-hero.category-hero.emerald {
  background: radial-gradient(circle at 78% 20%, rgba(16, 185, 129, 0.2), transparent 28rem), linear-gradient(135deg, #0f172a, #1e293b);
}

.sub-hero.ranking-hero {
  background: radial-gradient(circle at 78% 20%, rgba(251, 113, 133, 0.22), transparent 28rem), linear-gradient(135deg, #0f172a, #1e293b);
}

.sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sub-links a {
  padding: 9px 13px;
  color: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.4);
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-bar input,
.filter-bar select,
.page-search input {
  min-height: 48px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background: rgba(15, 23, 42, 0.68);
  padding: 0 16px;
}

.filter-bar select {
  appearance: none;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px 88px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
}

.ranking-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #0f172a;
  background: linear-gradient(135deg, #fb7185, #fbbf24);
  border-radius: 14px;
  font-weight: 900;
}

.ranking-cover {
  overflow: hidden;
  border-radius: 12px;
}

.ranking-cover img {
  width: 88px;
  height: 112px;
  object-fit: cover;
}

.ranking-main h2 {
  margin-top: 0;
}

.page-search {
  width: min(620px, 100%);
  margin-top: 30px;
  border-radius: 18px;
}

.page-search input {
  width: 100%;
  border: 0;
}

.detail-shell {
  padding: 38px 0 10px;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: #fbbf24;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
}

.player-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #000;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.54;
  filter: saturate(1.08);
}

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

.play-circle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding-left: 6px;
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  font-size: 32px;
}

.detail-content {
  margin-top: 22px;
  padding: 30px;
  border-radius: 24px;
}

.detail-content h1 {
  margin: 16px 0 12px;
  color: #fbbf24;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
}

.detail-content h2,
.side-box h2,
.site-footer h2 {
  margin: 30px 0 12px;
  color: #f8fafc;
  font-size: 22px;
}

.detail-content p {
  margin: 0 0 16px;
  color: #d1d5db;
  line-height: 1.92;
  font-size: 16px;
}

.detail-content .lead {
  color: #f8fafc;
  font-size: 18px;
}

.detail-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 18px;
}

.side-poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

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

.side-box {
  padding: 22px;
  border-radius: 22px;
}

.side-box h2 {
  margin-top: 0;
}

.side-box dl {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.side-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.side-box dt {
  color: var(--muted);
}

.side-box dd {
  margin: 0;
  color: #f8fafc;
  text-align: right;
}

.site-footer {
  margin-top: 50px;
  border-top: 1px solid rgba(245, 158, 11, 0.16);
  background: rgba(15, 23, 42, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
  line-height: 1.8;
}

.site-footer ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer h2 {
  margin-top: 0;
  color: #fbbf24;
  font-size: 18px;
}

.footer-bottom {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.is-filtered-out {
  display: none !important;
}

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

  .hero-content {
    grid-template-columns: 1fr 240px;
  }

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

  .category-grid.large,
  .wide-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
    grid-template-columns: 260px 1fr;
  }
}

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

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

  .hero {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 52px;
  }

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

  .intro-strip,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .wide-card,
  .ranking-row {
    grid-template-columns: 110px 1fr;
  }

  .ranking-number,
  .row-play {
    display: none;
  }

  .ranking-cover img,
  .wide-thumb img {
    width: 110px;
    height: 140px;
  }

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

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

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

  .brand-name {
    max-width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

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

  .hero-controls {
    bottom: 18px;
  }

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

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

  .wide-thumb img,
  .ranking-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .detail-content {
    padding: 22px;
  }

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