:root {
  --page-bg: #fff7ed;
  --text-main: #1f2937;
  --text-soft: #4b5563;
  --text-muted: #6b7280;
  --brand-orange: #f97316;
  --brand-pink: #ec4899;
  --brand-purple: #8b5cf6;
  --line-soft: rgba(249, 115, 22, 0.14);
  --card-bg: #ffffff;
  --shadow-soft: 0 18px 45px rgba(31, 41, 55, 0.12);
  --shadow-hover: 0 26px 65px rgba(236, 72, 153, 0.20);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 48%, #f5f3ff 100%);
  min-height: 100vh;
}

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(249, 115, 22, 0.12);
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
}

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

.logo-text,
.center-title,
.section-heading h2,
.preview-top h2 {
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: var(--brand-orange);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 10px;
  background: #374151;
}

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

.mobile-menu[hidden] {
  display: none;
}

.mobile-link {
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(249, 115, 22, 0.12);
}

.page {
  min-height: 70vh;
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
  max-width: 1180px;
}

.hero-content h1 {
  margin: 18px 0 16px;
  max-width: 720px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-pill,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.13);
  color: var(--brand-orange);
  font-size: 14px;
  font-weight: 800;
}

.hero-content .hero-pill {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
}

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

.primary-button,
.ghost-button,
.light-button,
.filter-link,
.preview-top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  padding: 15px 28px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.28);
}

.ghost-button {
  padding: 14px 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.light-button:hover,
.filter-link:hover,
.preview-top a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  z-index: 5;
}

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

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

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

.center-title {
  margin: 0 0 42px;
  text-align: center;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-action {
  color: var(--brand-orange);
  font-weight: 900;
  white-space: nowrap;
}

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

.category-tile {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(31, 41, 55, 0.15);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}

.category-tile::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -34px;
  bottom: -34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.category-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 70px rgba(31, 41, 55, 0.24);
}

.tile-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.20);
  font-size: 24px;
  font-weight: 900;
}

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

.category-tile small {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.grad-orange-pink {
  background: linear-gradient(135deg, #fb923c, #ec4899);
}

.grad-pink-rose {
  background: linear-gradient(135deg, #f472b6, #fb7185);
}

.grad-orange-red {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.grad-yellow-orange {
  background: linear-gradient(135deg, #facc15, #f97316);
}

.grad-slate-dark {
  background: linear-gradient(135deg, #475569, #111827);
}

.grad-purple-pink {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
}

.grad-gray-black {
  background: linear-gradient(135deg, #4b5563, #020617);
}

.grad-blue-purple {
  background: linear-gradient(135deg, #60a5fa, #8b5cf6);
}

.grad-amber-red {
  background: linear-gradient(135deg, #f59e0b, #dc2626);
}

.grad-green-teal {
  background: linear-gradient(135deg, #34d399, #0f766e);
}

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

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

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

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

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

.movie-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(249, 115, 22, 0.10);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 32px rgba(31, 41, 55, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 115, 22, 0.28);
}

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

.card-poster {
  position: relative;
  overflow: hidden;
  background: #111827;
}

.poster-square {
  aspect-ratio: 1 / 1;
}

.poster-wide {
  width: 36%;
  min-height: 190px;
  flex: 0 0 36%;
}

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

.corner-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.corner-pill {
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  color: var(--brand-orange);
  background: #ffffff;
  font-size: 12px;
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
  font-size: 14px;
}

.hover-play {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
  color: #ffffff;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .hover-play {
  opacity: 1;
  transform: translateY(0);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--brand-orange);
}

.card-body p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.rating,
.star-fill {
  color: #f59e0b;
  font-weight: 900;
}

.star-muted {
  color: #d1d5db;
}

.movie-card-horizontal {
  display: flex;
  min-height: 190px;
}

.card-body-wide {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.movie-card-large .card-body h3 {
  font-size: 20px;
}

.highlight-band {
  background: linear-gradient(90deg, rgba(255, 237, 213, 0.92), rgba(252, 231, 243, 0.92));
}

.cta-band {
  padding: 82px 16px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 56px);
}

.cta-band p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.light-button {
  padding: 16px 30px;
  color: var(--brand-orange);
  background: #ffffff;
}

.page-hero {
  color: #ffffff;
  padding: 70px 16px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
}

.page-hero > div,
.breadcrumb-bar,
.detail-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.small-hero {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%), linear-gradient(135deg, #fb923c, #ec4899 55%, #8b5cf6);
}

.ranking-hero {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 34%), linear-gradient(135deg, #111827, #ec4899 72%, #f97316);
}

.page-hero h1 {
  max-width: 900px;
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 14px;
}

.breadcrumb a {
  opacity: 0.88;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.category-hero .breadcrumb {
  margin-bottom: 16px;
}

.category-previews {
  display: grid;
  gap: 30px;
}

.category-preview-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  color: #ffffff;
}

.preview-top h2 {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  margin: 0 0 8px;
  font-size: 28px;
}

.preview-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.preview-top a {
  flex: 0 0 auto;
  padding: 12px 20px;
  color: var(--brand-orange);
  background: #ffffff;
}

.compact-grid {
  padding: 24px;
}

.filter-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.07);
}

.advanced-filter {
  align-items: stretch;
}

.search-box,
.select-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
}

.grow-box {
  flex: 1;
}

.search-input,
.filter-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  outline: 0;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text-main);
  padding: 0 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.search-input:focus,
.filter-select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-link {
  min-height: 48px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
}

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

.breadcrumb-bar {
  padding: 24px 0 0;
  color: var(--text-muted);
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 34px;
  padding: 34px 0 20px;
}

.detail-poster-card,
.detail-info-card,
.player-card,
.review-card {
  border: 1px solid rgba(249, 115, 22, 0.10);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.detail-poster-card {
  overflow: hidden;
}

.detail-poster-card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.detail-info-card {
  padding: clamp(24px, 4vw, 40px);
}

.detail-info-card h1 {
  margin: 18px 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.info-grid div {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #faf5ff);
  text-align: center;
}

.info-grid strong {
  display: block;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.45;
}

.info-grid span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
}

.detail-block {
  margin-bottom: 24px;
}

.detail-block h2,
.review-card h2,
.player-title-row h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.detail-block p,
.review-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.9;
}

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

.tag-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.player-section {
  padding-top: 28px;
  padding-bottom: 30px;
}

.player-card {
  padding: clamp(18px, 3vw, 30px);
}

.player-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.player-title-row h2 {
  margin-top: 10px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72));
  cursor: pointer;
}

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

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
  box-shadow: 0 24px 55px rgba(236, 72, 153, 0.38);
  font-size: 30px;
}

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

.review-section {
  padding-top: 0;
  padding-bottom: 22px;
}

.review-card {
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(253, 242, 248, 0.96));
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  border-top: 1px solid rgba(249, 115, 22, 0.14);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

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

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

.footer-grid a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(249, 115, 22, 0.12);
}

[hidden] {
  display: none !important;
}

@media (min-width: 1024px) {
  .hero-slider {
    height: 80vh;
  }
}

@media (max-width: 1100px) {
  .category-grid,
  .movie-grid-five,
  .movie-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .detail-poster-card img {
    max-height: 620px;
  }

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

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

  .menu-toggle {
    display: block;
  }

  .site-logo {
    font-size: 22px;
  }

  .hero-slider {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.42));
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 92px;
  }

  .section-wrap {
    padding: 48px 0;
  }

  .section-heading,
  .preview-top,
  .filter-bar,
  .advanced-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .category-grid,
  .movie-grid-two,
  .movie-grid-four,
  .movie-grid-five,
  .movie-grid-six,
  .ranking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movie-card-horizontal {
    display: block;
  }

  .poster-wide {
    width: 100%;
    min-height: 230px;
    aspect-ratio: 1 / 1;
  }

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

  .detail-poster-card img {
    min-height: 0;
    height: auto;
  }

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

@media (max-width: 520px) {
  .nav-wrap,
  .mobile-menu,
  .section-wrap,
  .breadcrumb-bar,
  .detail-shell,
  .page-hero > div {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions {
    width: 100%;
  }

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

  .category-grid,
  .movie-grid-two,
  .movie-grid-four,
  .movie-grid-five,
  .movie-grid-six,
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 150px;
  }
}
