:root {
  --bg: #f8fafc;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --blue: #2563eb;
  --blue-dark: #1e3a8a;
  --cyan: #06b6d4;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

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

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.nav-links a,
.mobile-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.78);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-open,
.menu-toggle {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 9px 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.search-open:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #172554, #1d4ed8 55%, #06b6d4);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(1.1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(14, 165, 233, 0.45), transparent 34%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.68), rgba(2, 132, 199, 0.38));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 60px;
  align-items: center;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy h1,
.sub-hero h1,
.detail-hero-content h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-copy p,
.sub-hero p,
.detail-hero-content p {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

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

.hero-tags {
  margin-top: 26px;
}

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

.hero-tags span {
  padding: 7px 12px;
  color: #eff6ff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.primary-btn,
.ghost-btn,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.35);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 28px;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-btn:hover {
  color: #1d4ed8;
  background: #ffffff;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span,
.hover-play,
.play-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.88);
  color: #ffffff;
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  font-size: 36px;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.48);
}

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

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

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

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

.content-section > .section-heading,
.content-section > .movie-grid,
.content-section > .featured-strip,
.content-section > .horizontal-scroller,
.content-section > .category-grid,
.content-section > .ranking-layout,
.content-section > .category-overview-list,
.content-section > .detail-grid {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.white-section {
  background: #ffffff;
}

.muted-section {
  background: #f1f5f9;
}

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

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-more,
.text-link {
  color: var(--blue);
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.horizontal-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  scroll-snap-align: start;
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #172554, #2563eb);
}

.poster-wrap img,
.category-tile img,
.category-overview-cover img,
.compact-card img,
.detail-hero > img,
.poster-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-wrap img {
  transition: transform 0.35s ease;
}

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.7));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.year-badge {
  right: 10px;
  background: rgba(15, 23, 42, 0.72);
}

.rank-badge {
  left: 10px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.hover-play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 14px;
}

.movie-info h3 {
  margin: 0;
  min-height: 44px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info p {
  margin: 8px 0 0;
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 8px;
  color: #1d4ed8;
  background: #dbeafe;
}

.wide-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 250px;
}

.wide-card .poster-wrap {
  aspect-ratio: auto;
  min-height: 100%;
}

.horizontal-card {
  min-height: 100%;
}

.compact-grid .movie-info p,
.ranking-page-grid .movie-info p,
.category-movie-grid .movie-info p {
  min-height: 62px;
  -webkit-line-clamp: 3;
}

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

.category-tile {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-tile > div {
  padding: 24px;
}

.category-tile strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.category-tile p {
  color: var(--muted);
  line-height: 1.7;
}

.category-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-preview span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

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

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

.ranking-list,
.compact-list {
  display: grid;
  gap: 12px;
}

.compact-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.compact-card img {
  width: 64px;
  height: 84px;
  border-radius: 12px;
}

.compact-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.compact-card > span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: #2563eb;
  font-weight: 900;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 84px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.45), transparent 30%),
    linear-gradient(135deg, #0f172a, #1e3a8a 55%, #0284c7);
}

.sub-hero > * {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.inline-filter {
  margin-top: 26px;
}

.inline-filter input {
  width: min(620px, 100%);
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0 22px;
  color: #ffffff;
  outline: none;
  background: rgba(255, 255, 255, 0.13);
}

.inline-filter input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.category-overview-list {
  display: grid;
  gap: 26px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.category-overview-cover {
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
}

.category-overview-body h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
}

.category-overview-body p {
  color: var(--muted);
  line-height: 1.7;
}

.category-overview-body .compact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(1px) saturate(1.1);
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(6, 182, 212, 0.42), transparent 34%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.66));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 78px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.breadcrumb a:hover {
  color: #ffffff;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.13);
}

.detail-section {
  background: #f8fafc;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.detail-main-column,
.detail-side-column {
  display: grid;
  gap: 24px;
  align-content: start;
}

.player-card,
.story-card,
.side-card {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.player-card,
.story-card,
.side-card:not(.poster-side) {
  padding: 22px;
}

.player-card h2,
.story-card h2,
.side-card h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 900;
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.34), rgba(2, 6, 23, 0.74));
  cursor: pointer;
}

.play-layer.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 82px;
  height: 82px;
  font-size: 34px;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.42);
}

.story-card p {
  margin: 0 0 24px;
  color: #334155;
  line-height: 1.9;
  font-size: 16px;
}

.poster-side {
  padding: 0;
  overflow: hidden;
}

.poster-side img {
  aspect-ratio: 2 / 3;
}

.info-side dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

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

.info-side dd {
  margin: 0;
  font-weight: 700;
}

.info-side a {
  color: var(--blue);
}

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

.search-panel[hidden] {
  display: none;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: 86px 16px 24px;
}

.search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(12px);
}

.search-card {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
}

.search-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 30px;
}

.search-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 900;
}

.search-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  outline: none;
  padding: 0 18px;
  background: #f8fafc;
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.search-result {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 13px;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease;
}

.search-result:hover {
  background: #eff6ff;
}

.search-result img {
  width: 64px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
}

.search-result strong {
  display: block;
  font-weight: 900;
}

.search-result p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 36px;
}

.footer-brand {
  color: #ffffff;
}

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

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

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

.site-footer a:hover {
  color: #93c5fd;
}

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav.open {
    display: flex;
  }

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

  .hero-poster {
    display: none;
  }

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

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

@media (max-width: 760px) {
  .nav-shell {
    min-height: 64px;
  }

  .brand,
  .footer-brand {
    font-size: 18px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 590px;
  }

  .hero-content {
    display: flex;
  }

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

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

  .movie-grid,
  .category-movie-grid,
  .ranking-page-grid,
  .related-grid,
  .featured-strip,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .category-tile,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .category-tile img,
  .category-overview-cover {
    min-height: 220px;
  }

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

  .detail-hero {
    min-height: 500px;
  }

  .detail-hero-content {
    padding-bottom: 56px;
  }

  .category-overview-body .compact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .category-movie-grid,
  .ranking-page-grid,
  .related-grid,
  .featured-strip,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-scroller {
    grid-auto-columns: minmax(230px, 82vw);
  }

  .hero-copy h1,
  .sub-hero h1,
  .detail-hero-content h1 {
    font-size: 40px;
  }
}
