:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #071126;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(96, 165, 250, 0.22);
  --line-soft: rgba(148, 163, 184, 0.18);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --blue: #60a5fa;
  --cyan: #67e8f9;
  --deep-blue: #1d4ed8;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.55);
  --radius: 24px;
  --radius-sm: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 34rem),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.18), transparent 30rem),
    linear-gradient(135deg, #020617 0%, #082f49 52%, #020617 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(96, 165, 250, 0.26);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #020617;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 34px rgba(34, 211, 238, 0.3);
  font-weight: 900;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong,
.footer-logo strong {
  font-size: 20px;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #dbeafe, #a5f3fc, #dbeafe);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(191, 219, 254, 0.72);
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: #dbeafe;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.28);
}

.header-search {
  position: relative;
  width: min(260px, 24vw);
}

.header-search input,
.filter-card input,
.filter-card select {
  width: 100%;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  outline: none;
}

.header-search input {
  height: 42px;
  padding: 0 14px;
}

.header-search input:focus,
.filter-card input:focus,
.filter-card select:focus {
  border-color: rgba(103, 232, 249, 0.7);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

.search-result {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  color: #dbeafe;
}

.search-result:hover {
  background: rgba(37, 99, 235, 0.24);
}

.search-result small {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.22);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #dbeafe;
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.42;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.72) 48%, rgba(2, 6, 23, 0.5) 100%),
    radial-gradient(circle at 72% 40%, rgba(59, 130, 246, 0.36), transparent 28rem);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 54px;
  align-items: center;
  padding: 96px 0 120px;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  background: linear-gradient(90deg, #eff6ff, #a5f3fc, #bfdbfe);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p,
.page-hero p,
.detail-copy .lead {
  max-width: 680px;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.78;
}

.meta-pills,
.card-meta,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pills {
  margin: 28px 0;
}

.meta-pills span,
.tag-row span,
.detail-tags a {
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #bae6fd;
  font-size: 13px;
}

.meta-pills span,
.detail-tags a {
  padding: 8px 12px;
}

.tag-row span {
  padding: 5px 8px;
}

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

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

.primary-btn {
  border: 0;
  color: #03111f;
  background: linear-gradient(135deg, #93c5fd, #67e8f9);
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.24);
}

.ghost-btn,
.section-link {
  border: 1px solid rgba(96, 165, 250, 0.34);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.55);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.18);
  border-color: rgba(103, 232, 249, 0.58);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 34px 90px rgba(2, 6, 23, 0.66);
  transform: rotate(1.5deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #03111f;
  background: linear-gradient(135deg, #93c5fd, #67e8f9);
  font-weight: 900;
}

.hero-tools {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
}

.hero-tools button {
  border: 0;
  color: #dbeafe;
  background: transparent;
}

.hero-tools > button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.hero-tools > button:hover {
  background: rgba(96, 165, 250, 0.22);
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.52;
  background: #bfdbfe !important;
}

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

.search-hero,
.page-hero {
  margin-top: 36px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 64, 175, 0.18));
  box-shadow: var(--shadow);
}

.page-hero {
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.compact-page-hero {
  min-height: 240px;
}

.search-hero h2,
.section-heading h2,
.rank-panel h2,
.article-card h2,
.article-side h2 {
  margin: 10px 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.search-hero p,
.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-section {
  padding: 54px 0;
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.5));
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 232, 249, 0.48);
  box-shadow: 0 28px 70px rgba(14, 165, 233, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.76);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.055);
  filter: brightness(1.08);
}

.score,
.rank-badge,
.play-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.score {
  right: 12px;
  top: 12px;
  padding: 6px 9px;
  color: #03111f;
  background: linear-gradient(135deg, #fef3c7, #67e8f9);
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  color: #03111f;
  background: linear-gradient(135deg, #93c5fd, #67e8f9);
}

.play-chip {
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #dbeafe;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(96, 165, 250, 0.26);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

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

.movie-card h3 {
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: #7dd3fc;
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 12px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
}

.card-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: rgba(148, 163, 184, 0.6);
}

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

.category-tile,
.category-card {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(30, 64, 175, 0.22));
  box-shadow: 0 18px 52px rgba(2, 6, 23, 0.25);
  transition: 0.22s ease;
}

.category-card {
  min-height: 210px;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(103, 232, 249, 0.5);
}

.category-tile span,
.category-card h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.category-tile p,
.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #03111f;
  background: linear-gradient(135deg, #93c5fd, #67e8f9);
  font-weight: 900;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.36);
  border: 1px solid transparent;
}

.horizontal-card:hover {
  border-color: rgba(103, 232, 249, 0.38);
  background: rgba(37, 99, 235, 0.18);
}

.horizontal-card img {
  width: 66px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}

.horizontal-card strong {
  display: block;
  color: #ffffff;
  line-height: 1.35;
}

.horizontal-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.full-width {
  width: 100%;
}

.filter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.76);
}

.filter-card input,
.filter-card select {
  height: 48px;
  padding: 0 14px;
}

.filter-controls {
  display: flex;
  gap: 12px;
}

.empty-state {
  display: none;
  padding: 42px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(96, 165, 250, 0.28);
  border-radius: 20px;
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 42px;
}

.detail-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 580px;
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(1.08);
  transform: scale(1.07);
  opacity: 0.36;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.64), #020617 86%);
}

.detail-layout {
  position: relative;
  z-index: 1;
  padding-top: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
  color: #bfdbfe;
  font-size: 14px;
}

.breadcrumb strong {
  color: #ffffff;
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  background: #000000;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.74));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 50%;
  color: #03111f;
  background: linear-gradient(135deg, #93c5fd, #67e8f9);
  box-shadow: 0 20px 60px rgba(34, 211, 238, 0.35);
  font-size: 32px;
  padding-left: 6px;
}

.video-overlay span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.7);
  color: #dbeafe;
  font-weight: 800;
}

.detail-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  margin-top: 30px;
  align-items: center;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

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

.detail-poster span {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #03111f;
  background: linear-gradient(135deg, #fef3c7, #67e8f9);
  font-weight: 900;
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 30px 0 20px;
}

.article-card,
.article-side {
  padding: 26px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow);
}

.article-card h2,
.article-side h2 {
  font-size: 26px;
}

.article-card p {
  margin: 0 0 26px;
  color: #cbd5e1;
  line-height: 1.95;
  font-size: 16px;
}

.article-card p:last-child {
  margin-bottom: 0;
}

.article-side {
  align-self: start;
  position: sticky;
  top: 92px;
}

.article-side dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.article-side dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.36);
}

.article-side dt {
  color: var(--muted);
}

.article-side dd {
  margin: 0;
  color: #ffffff;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.44), rgba(2, 6, 23, 0.98));
}

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

.footer-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 16px;
}

.footer-grid a:not(.footer-logo) {
  display: block;
  margin: 10px 0;
  color: var(--muted);
}

.footer-grid a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 20px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(148, 163, 184, 0.78);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

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

  .rank-panel,
  .article-side {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav {
    order: 4;
    display: none;
    width: 100%;
    margin-left: 0;
    padding: 8px 0 2px;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-link {
    padding: 13px 14px;
  }

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

  .header-search {
    order: 3;
    width: 100%;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 0 112px;
  }

  .hero-poster {
    max-width: 270px;
    transform: none;
  }

  .search-hero,
  .section-heading,
  .filter-card,
  .footer-bottom {
    flex-direction: column;
    display: flex;
    align-items: flex-start;
  }

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

  .filter-controls {
    width: 100%;
    flex-direction: column;
  }

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

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

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .footer-grid,
  .footer-bottom,
  .hero-content {
    width: min(100% - 22px, 1180px);
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    font-size: 11px;
  }

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

  .search-hero,
  .page-hero,
  .article-card,
  .article-side {
    padding: 20px;
    border-radius: 20px;
  }

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

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

  .big-play {
    width: 70px;
    height: 70px;
    font-size: 26px;
  }
}
