/* site 560 — harbor-cyan VOD skin */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

a {
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

/* ── Header: search-first ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  min-height: 68px;
  padding: 10px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  order: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.22);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.nav-search {
  display: flex;
  align-items: center;
  flex: 1 1 340px;
  max-width: 520px;
  order: 2;
  margin: 0 auto;
  background: var(--soft-blue);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.nav-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.nav-search button {
  padding: 10px 18px;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.nav-search button:hover {
  background: var(--cta-hover);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  order: 3;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--soft-blue);
}

.nav-toggle {
  display: none;
  order: 4;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 20px;
  border: 1px solid var(--line);
}

.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 22px 56px;
}

/* ── Home spotlight (search-first hero) ── */
.home-spotlight {
  margin-bottom: 40px;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 55%, #0e7490 100%);
  box-shadow: var(--shadow);
}

.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 28px 36px;
  align-items: end;
}

.spotlight-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.spotlight-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.spotlight-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 560px;
}

.spotlight-search {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.spotlight-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  outline: none;
  border: none;
  font-size: 15px;
  color: var(--ink);
}

.spotlight-search button {
  padding: 14px 22px;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.spotlight-search button:hover {
  background: var(--cta-hover);
}

/* ── Cinema hero carousel ── */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  box-shadow: var(--shadow);
}

.hero-cinema .hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 45, 68, 0.55) 0%, transparent 45%),
              linear-gradient(0deg, rgba(7, 45, 68, 0.88) 0%, transparent 55%);
}

.hero-glow { display: none; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 36px 64px;
  max-width: 620px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow span,
.eyebrow.solo {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  background: rgba(249, 115, 22, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.hero-copy h1,
.hero-copy h2,
.compact-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: #fff;
}

.hero-copy p,
.compact-hero p {
  font-size: 16px;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 540px;
  margin: 0 0 20px;
}

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

.hero-tags span,
.tag-row span,
.tag-cloud a {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: #e0f2fe;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
}

.primary-btn {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}

.primary-btn:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  overflow: hidden;
  transform: none;
  box-shadow: none;
}

.hero-visual:hover { transform: none; }

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  background: var(--primary-mid);
}

.hero-caption {
  display: none;
}

.hero-control {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.hero-control button {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-control button:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-dots { display: flex; gap: 6px; }

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots button.active {
  width: 28px;
  background: var(--cta);
}

/* ── Quick search (legacy, other pages) ── */
.quick-search {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.quick-search h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.quick-search form {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--soft-blue);
}

.quick-search input {
  flex: 1;
  padding: 13px 16px;
  outline: none;
  background: transparent;
}

.quick-search button {
  padding: 0 22px;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
}

/* ── Sections ── */
.section-block { margin-bottom: 48px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line-soft);
}

.section-head--line { border-bottom-color: var(--primary); border-bottom-width: 3px; }

.section-head h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0;
}

.section-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.section-head a {
  color: var(--cta);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.section-head a:hover { color: var(--cta-hover); }

.section-icon {
  display: none;
}

/* ── Movie cards: flat harbor grid ── */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.movie-grid--airy { gap: 24px; }

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.poster-link { display: block; }

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--soft-blue);
  aspect-ratio: 3/4;
}

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

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

.image-off { opacity: 0; }

.rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}

.movie-meta-line span {
  padding: 2px 6px;
  background: var(--soft);
  border-radius: 4px;
}

.movie-card h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card h3 a:hover { color: var(--primary-light); }

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

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.card-actions a {
  display: inline-flex;
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.card-actions a:hover { background: var(--cta-hover); }

.card-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.card-compact {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 150px;
}

.card-compact .poster-frame { height: 100%; aspect-ratio: auto; }

.card-compact .movie-card-body { padding: 12px; }

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

/* ── Category tiles: chip style ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

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

.category-tile,
.overview-card {
  display: block;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.category-tile:hover,
.overview-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.category-tile strong,
.overview-main strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

.category-tile span,
.overview-main span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

/* ── Trust bar ── */
.site-trust-bar {
  margin-top: 12px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}

.site-trust-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 920px;
}

/* legacy seo block */
.seo-brand-block {
  margin: 0 0 22px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}

.seo-brand-block h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--primary);
}

.seo-brand-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  max-width: 920px;
}

/* ── Panels ── */
.soft-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--soft-blue);
  border: 1px solid var(--line-soft);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 340px;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 14px;
}

.rank-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}

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

/* ── Inner pages ── */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  box-shadow: var(--shadow);
}

.compact-hero { padding: 36px 32px; }

.compact-hero h1 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: #fff;
}

.compact-hero p { color: #cbd5e1; }

.compact-hero .eyebrow.solo {
  background: rgba(249, 115, 22, 0.85);
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 16px;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  padding: 11px 14px;
  outline: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--primary-light);
}

.empty-state {
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--soft-blue);
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

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

.overview-card { display: grid; gap: 14px; }

.overview-links { display: flex; flex-wrap: wrap; gap: 8px; }

.overview-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 13px;
}

.breadcrumb a { color: #bae6fd; }

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

.detail-hero .breadcrumb {
  color: var(--muted);
  margin-bottom: 0;
}

.detail-hero .breadcrumb a { color: var(--primary-light); }

/* ── Detail / player ── */
.detail-hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: var(--soft-blue);
}

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

.detail-info h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--primary);
}

.detail-info p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.detail-info .eyebrow span {
  background: var(--soft-blue);
  color: var(--primary);
  border: 1px solid var(--line);
}

.player-section,
.content-card {
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.player-section { padding: 24px; margin-bottom: 28px; }

.player-section h2,
.content-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #020617;
}

.player-box video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #020617;
}

.video-error[hidden] { display: none !important; }

.video-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(2, 6, 23, 0.78);
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  margin-bottom: 40px;
}

.content-card { padding: 24px; }

.prose-card p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
  margin-bottom: 20px;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.tag-cloud a {
  background: var(--soft-blue);
  color: var(--primary);
  border: 1px solid var(--line);
}

.side-meta ul { display: grid; gap: 10px; }

.side-meta li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.side-meta span { color: var(--muted); font-weight: 600; font-size: 13px; }

.side-meta strong { text-align: right; color: var(--ink); font-size: 14px; }

.side-link {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
}

.side-link:hover { background: var(--cta-hover); }

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

/* ── Footer ── */
.site-footer {
  margin-top: 24px;
  background: var(--primary);
  border-top: none;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 13px;
}

.footer-inner a { color: #e0f2fe; }

.footer-inner a:hover { color: var(--cta); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid,
  .category-grid--chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-hero { grid-template-columns: 240px 1fr; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .rank-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight-inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-wrap {
    min-height: auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .brand { order: 1; }

  .nav-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .nav-search {
    order: 4;
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    order: 5;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .main-nav a:hover { background: var(--soft-blue); }

  .page-main { padding: 20px 16px 48px; }

  .home-spotlight { padding: 28px 20px; }

  .hero-section { min-height: 360px; border-radius: var(--radius-md); }

  .hero-copy { padding: 0 20px 56px; }

  .hero-control { left: 20px; right: 20px; }

  .quick-search { grid-template-columns: 1fr; }

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

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

  .scroll-row { grid-auto-columns: 280px; }

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

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

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

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

  .card-compact { grid-template-columns: 96px minmax(0, 1fr); }
}

@media (max-width: 540px) {
  .brand-text { font-size: 17px; }

  .spotlight-copy h1 { font-size: 24px; }

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

  .hero-copy h1,
  .hero-copy h2 { font-size: 24px; }

  .hero-copy p,
  .detail-info p { font-size: 14px; }

  .movie-grid,
  .related-grid { grid-template-columns: 1fr; }

  .card-compact { grid-template-columns: 100px minmax(0, 1fr); }

  .compact-hero { padding: 24px 20px; }

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

  .detail-hero,
  .player-section,
  .content-card { padding: 18px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
