:root {
  --blue-950: #0f2454;
  --blue-900: #12336d;
  --blue-800: #1d4f91;
  --blue-700: #1d65bd;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-100: #eaf4ff;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 35, 82, 0.14);
  --shadow-soft: 0 14px 42px rgba(15, 35, 82, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 42%, #ffffff 100%);
  color: var(--slate-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.96), rgba(15, 35, 82, 0.96));
  color: var(--white);
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  color: var(--slate-900);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
}

.nav-shell {
  width: min(var(--container), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue-600);
  font-size: 21px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.site-header.is-scrolled .brand-mark {
  background: var(--blue-600);
  color: var(--white);
}

.brand-text {
  font-size: 21px;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  padding: 9px 12px;
  border-radius: 12px;
  color: currentColor;
  opacity: 0.88;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-700);
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.site-search-form input {
  width: 220px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.site-search-form button,
.primary-button,
.ghost-button,
.section-heading.with-action > a,
.hero-link-row a {
  border: 0;
  border-radius: 13px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-search-form button:hover,
.primary-button:hover,
.section-heading.with-action > a:hover,
.hero-link-row a:hover {
  transform: translateY(-2px);
  background: var(--blue-700);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.site-header.is-scrolled .site-search-form input {
  color: var(--slate-900);
  border-color: var(--slate-200);
  background: var(--white);
}

.site-header.is-scrolled .site-search-form input::placeholder {
  color: var(--slate-500);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  color: var(--slate-900);
  box-shadow: var(--shadow-soft);
}

.mobile-panel.is-open {
  display: grid;
  gap: 8px;
}

.mobile-search {
  margin: 0;
}

.mobile-search input {
  width: 100%;
  color: var(--slate-900);
  border-color: var(--slate-200);
  background: var(--slate-50);
}

.mobile-search input::placeholder {
  color: var(--slate-500);
}

.hero-section {
  position: relative;
  min-height: 710px;
  padding-top: 68px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.hero-slider {
  position: relative;
  height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(59, 130, 246, 0.36), transparent 36%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(15, 35, 82, 0.62) 52%, rgba(15, 35, 82, 0.15) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: max(28px, calc((100% - var(--container)) / 2));
  transform: translateY(-50%);
  width: min(620px, calc(100% - 56px));
  color: var(--white);
}

.hero-kicker,
.detail-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--white);
  background: rgba(37, 99, 235, 0.86);
}

.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-meta,
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta span,
.detail-meta-row span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

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

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.hero-intro-panel {
  position: absolute;
  left: 50%;
  bottom: -56px;
  z-index: 5;
  width: min(var(--container), calc(100% - 32px));
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.hero-intro-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.18;
}

.hero-intro-panel p {
  max-width: 860px;
  margin: 0;
  color: var(--slate-600);
}

.hero-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.section-shell,
.page-hero,
.breadcrumb,
.detail-hero {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section-shell {
  padding: 76px 0 0;
}

.category-strip {
  padding-top: 132px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2,
.page-hero h1,
.content-card h2 {
  margin: 0 0 10px;
  color: var(--slate-950);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--slate-600);
}

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

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

.quick-category-links a {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-md);
  color: var(--blue-800);
  background: linear-gradient(135deg, #ffffff, #edf6ff);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-category-links a:hover,
.category-card:hover,
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-600));
}

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

.movie-card:hover .poster-link img {
  transform: scale(1.06);
}

.play-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}

.play-pill {
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  background: rgba(37, 99, 235, 0.88);
  font-size: 13px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-size: 14px;
}

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

.card-meta {
  display: flex;
  gap: 8px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  min-height: 2.6em;
  margin: 8px 0;
  color: var(--slate-950);
  font-size: 18px;
  line-height: 1.3;
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.9em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span,
.detail-tag-row span {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-700);
  background: rgba(37, 99, 235, 0.09);
  font-size: 12px;
  font-weight: 700;
}

.movie-card-small .movie-card-body {
  padding: 13px;
}

.movie-card-small h3 {
  font-size: 15px;
}

.movie-card-small p {
  min-height: 3.2em;
  -webkit-line-clamp: 2;
}

.soft-panel {
  width: min(calc(var(--container) + 56px), calc(100% - 20px));
  margin-top: 76px;
  padding: 44px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(234, 244, 255, 0.92), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow-soft);
}

.rank-list .poster-link,
.movie-row .poster-link {
  aspect-ratio: 4 / 5;
}

.page-main {
  padding-top: 96px;
}

.page-hero {
  padding: 58px 36px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at 76% 24%, rgba(96, 165, 250, 0.46), transparent 34%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  box-shadow: var(--shadow);
}

.page-hero span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
}

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

.category-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  min-height: 210px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-collage img {
  width: 100%;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-600));
}

.category-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-card-body h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

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

.category-card-body span {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--blue-700);
  background: rgba(37, 99, 235, 0.1);
  font-weight: 800;
}

.filter-panel {
  margin-bottom: 26px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-panel input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.filter-button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--slate-700);
  background: var(--slate-100);
  cursor: pointer;
  font-weight: 800;
}

.filter-button.is-active,
.filter-button:hover {
  color: var(--white);
  background: var(--blue-600);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--slate-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue-700);
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(96, 165, 250, 0.42), transparent 35%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.34);
  background: linear-gradient(135deg, var(--blue-950), var(--blue-600));
}

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

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

.detail-copy p {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.detail-tag-row {
  margin-bottom: 24px;
}

.detail-tag-row span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.player-section {
  padding-top: 56px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.28), rgba(2, 6, 23, 0.5));
  cursor: pointer;
}

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

.player-button {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-600);
  font-size: 36px;
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-layer:hover .player-button {
  transform: scale(1.08);
  background: var(--blue-700);
}

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

.content-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.content-card p {
  margin: 0;
  color: var(--slate-700);
}

.info-card {
  grid-column: 1 / -1;
}

.info-card ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  padding: 14px;
  border-radius: 14px;
  background: var(--slate-50);
}

.info-card strong {
  display: block;
  color: var(--slate-500);
  font-size: 13px;
}

.info-card span {
  display: block;
  color: var(--slate-950);
  font-weight: 800;
}

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

.site-footer {
  margin-top: 86px;
  padding: 56px 0 26px;
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(180deg, var(--slate-900), #000000);
}

.footer-grid {
  width: min(var(--container), calc(100% - 32px));
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin: 0 auto;
}

.footer-brand,
.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

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

.site-footer li {
  margin-bottom: 8px;
}

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

.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-600);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

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

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

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

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

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

@media (max-width: 860px) {
  .desktop-nav,
  .nav-shell > .site-search-form {
    display: none;
  }

  .mobile-toggle {
    display: block;
    margin-left: auto;
    color: currentColor;
  }

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

  .hero-slider {
    height: 590px;
  }

  .hero-content {
    top: 54%;
  }

  .hero-arrow {
    display: none;
  }

  .hero-intro-panel {
    bottom: -116px;
  }

  .category-strip {
    padding-top: 184px;
  }

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

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

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

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

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

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

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

@media (max-width: 560px) {
  .nav-shell {
    width: calc(100% - 24px);
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-content p,
  .detail-copy p {
    font-size: 16px;
  }

  .hero-intro-panel {
    padding: 22px;
  }

  .section-shell,
  .page-hero,
  .breadcrumb,
  .detail-hero {
    width: calc(100% - 24px);
  }

  .page-hero,
  .detail-hero,
  .content-card {
    padding: 22px;
  }

  .quick-category-links,
  .movie-grid,
  .movie-row,
  .rank-list,
  .related-row,
  .footer-grid,
  .info-card ul {
    grid-template-columns: 1fr;
  }

  .poster-link {
    aspect-ratio: 16 / 10;
  }

  .movie-card-small .poster-link {
    aspect-ratio: 16 / 10;
  }

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

  .category-collage img {
    height: 78px;
  }

  .player-button {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}
