:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eff6ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --secondary: #2563eb;
  --accent: #22d3ee;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb 62%, #7c3aed);
  box-shadow: 0 12px 26px rgba(8, 145, 178, 0.26);
}

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

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

.nav-link,
.mobile-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: #475569;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--primary-dark);
  background: rgba(6, 182, 212, 0.12);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 290px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-bar input,
.filter-bar select {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search input {
  flex: 1;
  padding: 8px 10px;
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.header-search button {
  padding: 8px 14px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
  gap: 10px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding-top: 8px;
}

.mobile-search input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.mobile-search button {
  padding: 10px 16px;
}

.hero-carousel {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  height: clamp(620px, 76vh, 820px);
  overflow: hidden;
  background: #020617;
}

.hero-stage,
.hero-slide,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.65s ease, visibility 0.65s ease, transform 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-bg {
  background: radial-gradient(circle at 72% 30%, rgba(34, 211, 238, 0.42), transparent 32%), linear-gradient(135deg, #020617, #0f172a 55%, #164e63);
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.70) 45%, rgba(2, 6, 23, 0.28)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.90), transparent 46%);
}

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

.hero-copy {
  max-width: 780px;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 38px);
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #075985;
  background: #cffafe;
  font-size: 12px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

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

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

.hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), transparent 52%);
}

.hero-card div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.hero-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.hero-card span {
  color: #bae6fd;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(12px);
}

.hero-controls button {
  border: 0;
  color: #ffffff;
  background: transparent;
}

.hero-controls > button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.hero-controls > button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42) !important;
}

.hero-dot.active {
  width: 28px;
  background: #67e8f9 !important;
}

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

.quick-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  margin-top: -54px;
  position: relative;
  z-index: 10;
}

.quick-search-card,
.spotlight-list,
.content-section,
.page-hero,
.category-overview-card,
.story-card,
.watch-section,
.detail-hero {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-search-card,
.spotlight-list {
  padding: 28px;
}

.quick-search-card h2,
.spotlight-list h2,
.section-head h2,
.page-hero h1,
.detail-copy h1,
.watch-section h2,
.story-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.quick-search-card h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.large-search {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.large-search input {
  flex: 1;
  padding: 12px 14px;
}

.large-search button {
  padding: 0 24px;
}

.spotlight-list {
  display: grid;
  gap: 12px;
}

.spotlight-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  transition: transform 0.2s ease, background 0.2s ease;
}

.spotlight-item:hover {
  transform: translateX(3px);
  background: #ecfeff;
}

.spotlight-item span {
  color: var(--primary);
  font-weight: 800;
}

.spotlight-item strong {
  display: block;
}

.spotlight-item em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.content-section {
  margin: 38px 0;
  padding: 28px;
}

.no-top-space {
  margin-top: 0;
}

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

.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.section-head span,
.page-hero p,
.category-overview-card p,
.quick-search-card p,
.footer-inner p,
.detail-one-line,
.story-card p {
  color: var(--muted);
}

.section-head > a,
.text-link {
  color: var(--primary-dark);
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #164e63, #0f172a);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.64;
  transition: transform 0.4s ease;
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.12));
}

.category-tile div {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #ffffff;
}

.category-tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.category-tile span {
  display: -webkit-box;
  overflow: hidden;
  color: #dbeafe;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.14);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #67e8f9, transparent 28%), linear-gradient(145deg, #0f172a, #164e63 60%, #0891b2);
}

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

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent);
}

.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(239, 68, 68, 0.28);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 9px 0 8px;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

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

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

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

.ranking-grid .movie-card:nth-child(1),
.ranking-grid .movie-card:nth-child(2),
.ranking-grid .movie-card:nth-child(3) {
  border-color: rgba(249, 115, 22, 0.35);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.sticky-filter {
  position: sticky;
  top: 88px;
  z-index: 20;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.filter-bar input {
  flex: 1 1 260px;
}

.page-main,
.detail-main {
  padding: 34px 0 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.32), transparent 30%),
    linear-gradient(135deg, #ffffff, #eff6ff 60%, #ecfeff);
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
}

.compact-hero,
.search-hero,
.ranking-hero,
.category-hero {
  min-height: 260px;
}

.slim-actions .ghost-button {
  color: var(--primary-dark);
  border-color: rgba(8, 145, 178, 0.28);
  background: #ecfeff;
}

.category-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 40px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 18px;
}

.category-cover-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a, #0891b2);
}

.category-cover-set img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
}

.detail-hero {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: clamp(24px, 5vw, 56px);
  overflow: hidden;
  padding: clamp(20px, 4vw, 42px);
  background:
    radial-gradient(circle at 90% 15%, rgba(34, 211, 238, 0.28), transparent 32%),
    linear-gradient(135deg, #ffffff, #f0f9ff);
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 20%, #67e8f9, transparent 28%), linear-gradient(145deg, #0f172a, #164e63 60%, #0891b2);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.detail-copy {
  align-self: center;
}

.detail-copy h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}

.detail-one-line {
  margin: 18px 0 24px;
  font-size: 18px;
}

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

.detail-meta-grid span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.detail-meta-grid strong {
  color: var(--muted);
  font-size: 12px;
}

.detail-tags {
  margin: 6px 0 4px;
}

.watch-section {
  margin: 28px 0;
  padding: 24px;
}

.watch-section h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 36px);
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: #020617;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.28);
}

.video-player,
.video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-player {
  object-fit: contain;
  background: #000000;
}

.video-cover {
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-trigger {
  width: clamp(72px, 9vw, 110px);
  height: clamp(72px, 9vw, 110px);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-trigger:hover {
  transform: scale(1.06);
  box-shadow: 0 28px 62px rgba(37, 99, 235, 0.44);
}

.play-trigger span {
  margin-left: 6px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
}

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

.story-card {
  padding: 26px;
}

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

.story-card p {
  margin: 0;
  white-space: pre-line;
}

.related-section {
  margin-bottom: 48px;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 22px;
}

.footer-inner p {
  max-width: 520px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  max-width: 520px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  padding: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .header-search {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }

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

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

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 40px;
  }

  .hero-card {
    display: none;
  }

  .quick-panel,
  .detail-hero,
  .detail-text-section,
  .footer-inner,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    margin-top: 24px;
  }

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

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

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 66px;
  }

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

  .hero-carousel {
    min-height: 600px;
    height: auto;
  }

  .hero-content {
    padding: 76px 0 118px;
  }

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

  .hero-actions,
  .large-search,
  .section-head,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .large-search button {
    width: 100%;
  }

  .content-section,
  .quick-search-card,
  .spotlight-list,
  .watch-section,
  .story-card,
  .page-hero {
    padding: 20px;
  }

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

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

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

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

  .detail-poster img {
    min-height: 360px;
  }

  .sticky-filter {
    position: static;
  }
}

@media (max-width: 460px) {
  main,
  .page-main,
  .detail-main,
  .header-inner,
  .mobile-nav,
  .footer-inner {
    width: min(100% - 22px, 1240px);
  }

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

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

  .category-cover-set img {
    height: 120px;
  }
}
