:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --cyan: #0891b2;
  --cyan-deep: #0e7490;
  --blue: #2563eb;
  --dark: #020617;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 34rem), var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

.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;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand.dark {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #334155;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: #334155;
  border-radius: 99px;
}

main {
  padding-bottom: 72px;
}

.hero-carousel,
.page-hero,
.detail-page {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 0;
}

.hero-shell {
  position: relative;
  min-height: 610px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 36px;
  padding: 70px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: saturate(1.08);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(6, 182, 212, 0.42), transparent 28rem),
    linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent 48%);
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
  color: #ffffff;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.15);
  color: #0e7490;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #ffffff;
  background: rgba(8, 145, 178, 0.82);
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.28);
}

.hero-content h1,
.hero-content h2 {
  margin: 20px 0 12px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-title-line {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  color: #a5f3fc;
}

.hero-content p:not(.hero-title-line) {
  max-width: 690px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.detail-tags span {
  color: #0f172a;
  background: #e0f2fe;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 32px rgba(8, 145, 178, 0.28);
}

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

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.ghost-btn.light {
  color: var(--cyan-deep);
  background: #e0f2fe;
  border-color: #bae6fd;
}

.hero-poster {
  display: block;
  align-self: center;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.52);
  font-size: 34px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.78);
}

.hero-arrow.left {
  left: 20px;
}

.hero-arrow.right {
  right: 20px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 30px;
  background: #ffffff;
}

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

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

.section-head.compact {
  align-items: center;
}

.section-head h2,
.page-hero h1,
.content-card h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.section-head a {
  color: var(--cyan-deep);
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 14px;
  padding: 16px;
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 0 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card.wide {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.movie-card.wide .movie-poster {
  aspect-ratio: auto;
  min-height: 240px;
}

.movie-poster img,
.detail-poster img,
.rank-poster img,
.hero-poster img,
.category-covers img {
  transition: transform 0.5s ease;
}

.movie-card:hover img,
.detail-poster:hover img,
.rank-row:hover img,
.category-tile:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade,
.detail-poster:hover .poster-shade {
  opacity: 1;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(8, 145, 178, 0.86);
  box-shadow: 0 15px 30px rgba(8, 145, 178, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-icon.large {
  width: 74px;
  height: 74px;
  font-size: 26px;
}

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

.year-badge,
.rank-mark {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 145, 178, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.rank-mark {
  left: 12px;
  right: auto;
  background: rgba(37, 99, 235, 0.92);
}

.movie-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  flex: 1;
}

.movie-title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.movie-title:hover {
  color: var(--cyan-deep);
}

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

.movie-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.movie-meta a {
  color: var(--cyan-deep);
  background: #ecfeff;
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.hot-card,
.page-hero,
.category-overview-card,
.content-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.hot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 22rem),
    linear-gradient(135deg, #ffffff, #eff6ff);
}

.hot-card h2 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.06em;
}

.hot-card p,
.page-hero p,
.category-overview-head p,
.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.category-tile {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  height: 92px;
  overflow: hidden;
  border-radius: 16px;
}

.category-covers img {
  min-width: 0;
  border-radius: 10px;
}

.category-tile strong {
  font-size: 18px;
  font-weight: 900;
}

.category-tile span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.rank-list {
  display: grid;
  gap: 16px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.rank-poster {
  position: relative;
  display: block;
  height: 132px;
  border-radius: 14px;
  overflow: hidden;
}

.rank-poster span {
  position: absolute;
  left: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.25);
}

.rank-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.rank-copy > a {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.rank-copy > a:hover {
  color: var(--cyan-deep);
}

.rank-copy p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.rank-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f9;
}

.page-hero {
  padding: 54px;
  min-height: 290px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.22), transparent 24rem),
    linear-gradient(135deg, #ffffff, #eff6ff);
}

.simple-hero,
.channel-hero,
.ranking-hero {
  overflow: hidden;
}

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

.category-overview-card {
  padding: 28px;
}

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.category-overview-head h2 {
  margin: 8px 0 8px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

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

.detail-page {
  margin-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 26px;
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.34), transparent 30rem),
    linear-gradient(135deg, #020617, #0f172a 56%, #0e7490);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.detail-poster {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.detail-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.detail-lead {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-meta div {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-meta dt {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
}

.detail-meta dd {
  margin: 5px 0 0;
  font-weight: 900;
}

.player-section {
  scroll-margin-top: 92px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

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

.video-trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(8, 145, 178, 0.32), rgba(2, 6, 23, 0.72)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.56), rgba(2, 6, 23, 0.36));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-trigger span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 42px rgba(8, 145, 178, 0.32);
  font-size: 28px;
}

.video-trigger strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.video-trigger.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.content-card {
  padding: 28px;
}

.content-card h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

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

.site-footer {
  margin-top: 80px;
  background: #020617;
  color: #cbd5e1;
}

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

.footer-brand p {
  max-width: 460px;
  color: #94a3b8;
  line-height: 1.8;
}

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

.footer-links {
  display: grid;
  gap: 10px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #67e8f9;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

[data-movie-card].is-hidden {
  display: none;
}

@media (max-width: 1024px) {
  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 250px;
    padding: 54px;
  }

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

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

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

  .detail-hero {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 0 18px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-shell {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-items: end;
    padding: 36px 28px 70px;
  }

  .hero-poster {
    width: 180px;
    grid-row: 1;
    align-self: start;
    justify-self: end;
  }

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

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

  .hot-card,
  .category-overview-head,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .detail-poster {
    min-height: auto;
    aspect-ratio: 2 / 3;
  }

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

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .hero-carousel,
  .page-hero,
  .detail-page,
  .section-wrap {
    width: min(100% - 20px, 1180px);
  }

  .hero-shell {
    border-radius: 22px;
    min-height: 720px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 38px;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .movie-grid.mini-grid,
  .related-grid,
  .category-grid,
  .compact-rank {
    grid-template-columns: 1fr;
  }

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

  .rank-row {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .rank-poster {
    height: 118px;
  }

  .page-hero,
  .content-card,
  .category-overview-card {
    padding: 24px;
    border-radius: 22px;
  }

  .detail-copy {
    padding: 4px;
  }

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