:root {
  --blue-950: #0f172a;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --cyan-600: #0891b2;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.28);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-800);
  background: var(--slate-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.container.narrow {
  width: min(100% - 32px, 880px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0));
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--slate-800);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon,
.footer-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .brand-icon,
.site-header.menu-open .brand-icon,
.footer-brand-icon {
  background: var(--amber-500);
  box-shadow: none;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-slogan {
  margin-top: 3px;
  font-size: 12px;
  opacity: 0.82;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active,
.site-header.menu-open .nav-link:hover,
.site-header.menu-open .nav-link.active {
  color: var(--white);
  background: var(--blue-900);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.mobile-nav .nav-link,
.mobile-sub-link {
  display: block;
  color: var(--slate-700);
}

.mobile-sub-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.mobile-sub-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--slate-50);
  font-size: 14px;
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  height: 620px;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-800));
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.1));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - var(--container)) / 2));
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 72px;
  max-width: 760px;
}

.hero-kicker,
.page-kicker,
.section-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-500);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 650px;
  margin: 0 0 24px;
  color: #e2e8f0;
  font-size: clamp(16px, 2vw, 21px);
}

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

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

.hero-tags span,
.detail-tags span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button,
.section-more,
.closing-actions a,
.detail-side-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--amber-500);
  box-shadow: 0 18px 32px rgba(245, 158, 11, 0.28);
}

.primary-button:hover,
.section-more:hover,
.closing-actions a:hover,
.detail-side-card a:hover {
  transform: translateY(-2px);
  background: var(--amber-600);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 34px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

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

.hero-dot.active {
  width: 34px;
  background: var(--white);
}

.hero-search-section {
  margin-top: -38px;
  position: relative;
  z-index: 3;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

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

.search-box input,
.filter-selects select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  color: var(--slate-800);
  background: var(--white);
  outline: none;
}

.search-box input {
  padding: 0 16px;
}

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

.filter-selects select {
  min-width: 138px;
  padding: 0 12px;
}

.content-section {
  padding: 64px 0;
  background: var(--slate-50);
}

.content-section.tone-amber {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.content-section.tone-blue {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.content-section.tone-red {
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.content-section.tone-cyan {
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
}

.content-section.tone-pink {
  background: linear-gradient(135deg, #fdf2f8, #fff1f2);
}

.content-section.tone-violet,
.content-section.tone-purple {
  background: linear-gradient(135deg, #f5f3ff, #faf5ff);
}

.content-section.tone-green,
.content-section.tone-emerald {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.content-section.tone-slate,
.content-section.tone-stone {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.dark-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

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

.section-heading h2 {
  margin: 8px 0 6px;
  color: var(--slate-800);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--slate-600);
}

.dark-section .section-heading h2,
.dark-section .section-heading p {
  color: var(--white);
}

.section-more,
.closing-actions a,
.detail-side-card a {
  color: var(--white);
  background: var(--blue-900);
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

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

.card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--slate-800);
}

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

.movie-card:hover .card-cover img {
  transform: scale(1.07);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-500);
  font-weight: 900;
}

.card-content {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tag-row span {
  padding: 5px 9px;
  color: var(--blue-900);
  background: #e0f2fe;
}

.card-content h3 {
  margin: 0;
  color: var(--slate-900);
  font-size: 19px;
  line-height: 1.25;
}

.card-content p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.meta-row span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--slate-100);
}

.featured-card .card-cover {
  aspect-ratio: 21 / 9;
}

.featured-card .card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 28px;
}

.featured-card .card-link {
  position: relative;
}

.featured-card .card-content h3,
.featured-card .card-content p {
  color: var(--white);
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 20px;
}

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

.category-tile {
  display: grid;
  min-height: 150px;
  align-content: end;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--cyan-600));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

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

.category-tile span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.category-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card a {
  display: grid;
  height: 100%;
}

.category-card-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 138px;
  overflow: hidden;
  background: var(--slate-800);
}

.category-card-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.category-card-body h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: 24px;
}

.category-card-body p {
  margin: 0;
  color: var(--slate-600);
}

.category-card-body span {
  color: var(--amber-600);
  font-weight: 900;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: auto 138px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-row:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.ranking-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-500);
  font-weight: 900;
}

.ranking-row img {
  width: 138px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
  background: var(--slate-800);
}

.ranking-main {
  display: grid;
  gap: 4px;
}

.ranking-main strong {
  font-size: 18px;
}

.ranking-main em {
  color: var(--slate-300);
  font-style: normal;
  font-size: 14px;
}

.ranking-meta {
  color: var(--slate-300);
  font-size: 13px;
  white-space: nowrap;
}

.page-hero,
.detail-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--cyan-600));
}

.compact-hero {
  padding: 132px 0 64px;
}

.dark-hero {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.category-hero {
  padding: 124px 0 58px;
}

.page-hero h1,
.detail-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p,
.detail-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

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

.detail-hero {
  padding: 122px 0 56px;
  background-size: cover;
  background-position: center;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 38px;
  align-items: end;
}

.detail-poster {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-800);
  box-shadow: var(--shadow-strong);
}

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

.detail-one-line {
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 18px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.player-section {
  padding: 42px 0;
  background: var(--slate-900);
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #020617;
  box-shadow: var(--shadow-strong);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.28));
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

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

.player-play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-500);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.42);
  font-size: 34px;
}

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

.detail-article,
.detail-side-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-article {
  padding: 30px;
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 28px;
  color: var(--slate-700);
  font-size: 17px;
}

.detail-side-card {
  padding: 24px;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px 14px;
  margin: 0 0 22px;
}

.detail-side-card dt {
  color: var(--slate-500);
  font-weight: 800;
}

.detail-side-card dd {
  margin: 0;
  color: var(--slate-800);
}

.closing-banner {
  padding: 70px 0;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--blue-900), var(--cyan-600));
}

.closing-banner h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
}

.closing-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.closing-actions {
  justify-content: center;
}

.site-footer {
  color: var(--slate-300);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand strong,
.site-footer h2 {
  color: var(--white);
}

.footer-brand div {
  display: grid;
}

.footer-brand span:last-child {
  color: var(--slate-400);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--slate-400);
  font-size: 14px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 17px;
}

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

.site-footer a {
  color: var(--slate-400);
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--amber-500);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--slate-500);
  font-size: 14px;
}

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

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

  .movie-grid.three-columns,
  .footer-grid,
  .detail-content-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .menu-button {
    display: grid;
    place-items: center;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .header-inner {
    height: 66px;
  }

  .brand-name {
    font-size: 19px;
  }

  .hero-carousel {
    height: 580px;
  }

  .hero-content {
    left: 18px;
    right: 18px;
    bottom: 78px;
  }

  .hero-arrow {
    display: none;
  }

  .filter-panel,
  .filter-selects,
  .section-heading,
  .detail-hero-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filter-selects {
    display: grid;
  }

  .section-heading {
    align-items: start;
  }

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

  .featured-card .card-cover {
    aspect-ratio: 16 / 10;
  }

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

  .ranking-row img {
    width: 96px;
  }

  .ranking-meta {
    grid-column: 3;
  }

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

  .detail-article,
  .detail-side-card {
    padding: 22px;
  }

  .content-section {
    padding: 46px 0;
  }
}

@media (max-width: 480px) {
  .container,
  .footer-inner,
  .header-inner,
  .mobile-nav {
    width: min(100% - 24px, var(--container));
  }

  .brand-slogan {
    display: none;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: 34px;
  }

  .hero-tags span,
  .detail-tags span {
    padding: 6px 10px;
  }

  .primary-button,
  .ghost-button,
  .section-more,
  .closing-actions a,
  .detail-side-card a {
    width: 100%;
  }

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

  .ranking-number {
    width: auto;
  }

  .ranking-row img {
    width: 100%;
  }

  .ranking-meta {
    grid-column: auto;
  }
}
