:root {
  --bg: #fffdf2;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --yellow: #facc15;
  --yellow-2: #eab308;
  --green: #86efac;
  --dark: #111827;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
  --soft-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 50%, #ecfdf5 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #facc15 0%, #fde047 45%, #86efac 100%);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #1f2937;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #a16207;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
  animation: pulse-mark 2.6s ease-in-out infinite;
}

.brand-name {
  font-size: 24px;
  letter-spacing: -0.02em;
}

@keyframes pulse-mark {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: #374151;
  transition: 0.24s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #a16207;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--soft-shadow);
}

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

.nav-search input {
  width: min(280px, 26vw);
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.78);
  color: #1f2937;
  transition: 0.22s ease;
}

.nav-search input:focus {
  background: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.24);
}

.nav-search button {
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  color: #1f2937;
  background: #ffffff;
  font-weight: 800;
}

.mobile-nav {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.62);
}

.mobile-link {
  padding: 10px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.mobile-link.active {
  color: #a16207;
}

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

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

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(250, 204, 21, 0.26), transparent 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding-block: 80px;
  color: #ffffff;
}

.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-weight: 800;
}

.hero-tags span,
.detail-tags span {
  padding: 8px 14px;
  background: #facc15;
  color: #1f2937;
  box-shadow: var(--soft-shadow);
}

.hero-content h1 {
  max-width: 820px;
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.48);
}

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

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
  color: #111827;
  background: #facc15;
  box-shadow: 0 20px 42px rgba(250, 204, 21, 0.34);
}

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

.primary-btn:hover {
  background: #fde047;
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
  transition: 0.22s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.38);
}

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

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

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  transition: 0.24s ease;
}

.hero-dots button.active {
  width: 34px;
  background: #facc15;
}

.section-block {
  padding-block: 58px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.section-title > span {
  width: 8px;
  height: 42px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #facc15, #eab308);
  flex: 0 0 auto;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-title p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-title.with-link {
  align-items: center;
}

.section-title.with-link > div {
  flex: 1;
}

.section-title.with-link > a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #a16207;
  background: #fff7cc;
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 205px;
  padding: 24px;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: 0.28s ease;
}

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

.tile-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.28s ease;
}

.category-tile:hover .tile-glow {
  opacity: 0.12;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #ffffff;
  font-size: 22px;
  background: linear-gradient(135deg, #facc15, #22c55e);
  box-shadow: var(--soft-shadow);
}

.category-tile strong,
.category-tile em,
.category-tile small {
  position: relative;
  display: block;
}

.category-tile strong {
  font-size: 21px;
  margin-bottom: 8px;
}

.category-tile em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.category-tile small {
  margin-top: 12px;
  color: #a16207;
  line-height: 1.5;
}

.accent-red .tile-glow,
.category-hero.accent-red {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.accent-gray .tile-glow,
.category-hero.accent-gray {
  background: linear-gradient(135deg, #4b5563, #111827);
}

.accent-yellow .tile-glow,
.category-hero.accent-yellow {
  background: linear-gradient(135deg, #facc15, #f59e0b);
}

.accent-pink .tile-glow,
.category-hero.accent-pink {
  background: linear-gradient(135deg, #ec4899, #fb7185);
}

.accent-orange .tile-glow,
.category-hero.accent-orange {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.accent-purple .tile-glow,
.category-hero.accent-purple {
  background: linear-gradient(135deg, #a855f7, #6366f1);
}

.accent-cyan .tile-glow,
.category-hero.accent-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.accent-green .tile-glow,
.category-hero.accent-green {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.accent-teal .tile-glow,
.category-hero.accent-teal {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.accent-blue .tile-glow,
.category-hero.accent-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.accent-indigo .tile-glow,
.category-hero.accent-indigo {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.accent-amber .tile-glow,
.category-hero.accent-amber {
  background: linear-gradient(135deg, #f59e0b, #facc15);
}

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

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

.library-grid {
  align-items: stretch;
}

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

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

.card-poster {
  position: relative;
  display: block;
  height: 255px;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #374151);
}

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

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

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 60%);
  transition: 0.28s ease;
}

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

.card-badge,
.card-year {
  position: absolute;
  z-index: 2;
  top: 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.card-badge {
  left: 12px;
  padding: 7px 10px;
  color: #1f2937;
  background: #facc15;
}

.card-year {
  right: 12px;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
}

.card-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #111827;
  background: #facc15;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: 0.28s ease;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

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

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.card-body strong {
  font-size: 18px;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row span {
  padding: 5px 8px;
  color: #a16207;
  background: #fef3c7;
  font-size: 12px;
}

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

.card-meta em {
  font-style: normal;
}

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

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

.wide-card {
  display: flex;
  overflow: hidden;
  min-height: 158px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffbeb, #ecfdf5);
  box-shadow: var(--soft-shadow);
  transition: 0.25s ease;
}

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

.wide-poster {
  position: relative;
  flex: 0 0 185px;
  background: #111827;
  overflow: hidden;
}

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

.play-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #111827;
  background: #facc15;
  transform: translate(-50%, -50%);
}

.wide-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
}

.wide-copy strong {
  font-size: 20px;
}

.wide-copy span {
  color: var(--muted);
  line-height: 1.6;
}

.wide-copy em {
  margin-top: auto;
  color: #a16207;
  font-style: normal;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ranking-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
  list-style: none;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #facc15, #eab308);
  font-weight: 950;
}

.ranking-list li:nth-child(n + 4) .rank-number {
  color: #64748b;
  background: #f3f4f6;
}

.mini-card {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  transition: 0.22s ease;
}

.mini-card:hover {
  background: #fffbeb;
}

.mini-poster {
  flex: 0 0 82px;
  height: 58px;
  overflow: hidden;
  border-radius: 10px;
  background: #111827;
}

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

.mini-copy {
  min-width: 0;
}

.mini-copy strong,
.mini-copy em {
  display: block;
}

.mini-copy strong {
  overflow: hidden;
  color: #1f2937;
  font-size: 15px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-copy em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.filter-panel {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 160px 160px;
  gap: 12px;
}

.filter-row input,
.filter-row select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  outline: 0;
  background: #ffffff;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18);
}

.filter-empty {
  padding: 20px 8px 4px;
  color: #a16207;
  font-weight: 800;
}

.page-hero {
  padding: 90px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #334155);
}

.subtle-hero {
  color: #1f2937;
  background:
    radial-gradient(circle at 20% 20%, rgba(250, 204, 21, 0.24), transparent 30%),
    linear-gradient(135deg, #fffbeb 0%, #ffffff 52%, #ecfdf5 100%);
}

.page-hero .container {
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #1f2937;
  background: #facc15;
  font-weight: 900;
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: currentColor;
  opacity: 0.82;
}

.category-hero .ghost-btn {
  color: #ffffff;
}

.detail-head {
  position: relative;
  padding: 62px 0;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 12%, rgba(250, 204, 21, 0.26), transparent 28%),
    linear-gradient(135deg, #111827, #1f2937 55%, #0f172a 100%);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38);
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.breadcrumbs a {
  color: #facc15;
}

.breadcrumbs em {
  font-style: normal;
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.detail-line {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
}

.detail-tags {
  margin: 24px 0;
}

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

.detail-meta div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.detail-meta dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.detail-meta dd {
  margin: 0;
  font-weight: 850;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.28);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #111827;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.62));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: #facc15;
  font-size: 36px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.38);
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.detail-body article {
  padding: 30px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.detail-body h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.detail-body p {
  margin: 0;
  color: #475569;
  line-height: 1.95;
}

.site-footer {
  margin-top: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding: 50px 0;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #facc15;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.22s ease;
}

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

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

[hidden] {
  display: none !important;
}

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

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

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

  .mobile-nav {
    display: grid;
  }

  .nav-wrap {
    min-height: 62px;
  }

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

  .nav-search input {
    width: min(210px, 42vw);
  }

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

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

  .category-grid,
  .movie-grid,
  .movie-grid.compact,
  .wide-list.two-col,
  .split-section,
  .detail-body,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1280px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

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

  .nav-search button {
    display: none;
  }

  .nav-search input {
    width: 38vw;
    min-width: 120px;
    padding: 9px 12px;
  }

  .hero-carousel {
    height: 76vh;
    min-height: 560px;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .section-block {
    padding-block: 42px;
  }

  .movie-grid,
  .movie-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-poster {
    height: 210px;
  }

  .card-body {
    padding: 14px;
  }

  .wide-card {
    flex-direction: column;
  }

  .wide-poster {
    flex-basis: 220px;
  }

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

  .page-hero,
  .detail-head {
    padding: 54px 0;
  }
}
