:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: #111827;
  --panel-2: #1e293b;
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #cbd5e1;
  --blue: #2563eb;
  --cyan: #22d3ee;
  --cyan-dark: #0891b2;
  --orange: #f97316;
  --green: #22c55e;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
  --radius: 24px;
  --shell: min(1280px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--shell);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.28);
}

.logo-text,
.footer-logo {
  background: linear-gradient(90deg, #ffffff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted-2);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(34, 211, 238, 0.12);
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  min-width: 280px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  overflow: hidden;
}

.header-search input,
.large-search input,
.inline-filter input,
.search-panel input,
.search-panel select {
  width: 100%;
  color: white;
  border: 0;
  outline: 0;
  background: transparent;
}

.header-search input {
  padding: 11px 14px;
}

.header-search button,
.large-search button {
  border: 0;
  color: white;
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan-dark));
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
}

.mobile-nav {
  display: none;
  width: var(--shell);
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-nav.open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0) 42%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1280px;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #cffafe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-kicker {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan-dark));
  color: white;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.28);
}

.hero-content h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--muted-2);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.8;
}

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

.hero-tags span,
.tag-list span,
.filter-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan-dark));
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.25);
}

.ghost-button {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.48);
}

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

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: white;
  font-size: 38px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.45);
  transform: translateY(-50%);
  cursor: pointer;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.section {
  padding-block: 58px;
}

.page-main {
  padding-block: 54px 72px;
}

.page-title {
  max-width: 860px;
  margin-bottom: 36px;
}

.page-title h1,
.section-heading h2,
.text-panel h2,
.side-card h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-title p,
.intro-panel p,
.category-overview-card p,
.spotlight-panel p,
.text-panel p {
  color: var(--muted-2);
  line-height: 1.85;
}

.intro-panel,
.spotlight-panel,
.category-title-panel,
.search-panel,
.inline-filter,
.text-panel,
.side-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.72));
  box-shadow: var(--shadow);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.intro-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
}

.large-search {
  display: flex;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.5);
}

.large-search input {
  padding: 0 18px;
}

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

.compact-heading {
  margin-bottom: 18px;
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
}

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

.category-chip {
  min-height: 116px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.88));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-chip:hover,
.category-overview-card:hover,
.movie-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.42);
}

.category-chip strong {
  display: block;
  font-size: 22px;
  margin-bottom: 12px;
}

.category-chip span {
  color: var(--muted);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img,
.horizontal-poster img,
.podium-card img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s ease;
}

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

.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 42px;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
}

.score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), #ef4444);
}

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

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

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

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

.movie-card.compact p {
  font-size: 13px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.horizontal-list {
  display: grid;
  gap: 14px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: auto 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.78);
  transition: background 0.2s ease, transform 0.2s ease;
}

.horizontal-card:hover {
  background: rgba(30, 41, 59, 0.9);
  transform: translateX(4px);
}

.rank-num {
  width: 42px;
  color: var(--cyan);
  font-size: 22px;
  font-weight: 900;
}

.horizontal-poster {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
}

.horizontal-info h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.horizontal-info p {
  margin: 0 0 8px;
  color: var(--muted-2);
  line-height: 1.65;
}

.spotlight-panel {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.spotlight-panel h2 {
  margin: 0 0 14px;
  font-size: 34px;
}

.category-overview-grid {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 150px;
  overflow: hidden;
  border-radius: 18px;
}

.category-cover-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.88);
}

.podium-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.podium-card h2,
.podium-card p {
  margin: 18px 20px 0;
}

.podium-card p {
  color: var(--muted-2);
  line-height: 1.65;
}

.podium-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), #ef4444);
}

.ranking-list {
  margin-bottom: 40px;
}

.inline-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  margin-bottom: 26px;
}

.inline-filter input {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.42);
}

.inline-filter span {
  color: var(--muted);
}

.search-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.search-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted-2);
  font-weight: 700;
}

.search-panel input,
.search-panel select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.48);
}

.search-result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--cyan);
}

.detail-main {
  padding-bottom: 70px;
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.55;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.62)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.1) 52%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 44px 70px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.detail-info h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  color: var(--muted-2);
  font-size: 20px;
  line-height: 1.8;
}

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

.detail-meta-grid span {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  color: var(--muted-2);
  background: rgba(15, 23, 42, 0.62);
}

.detail-meta-grid strong {
  display: block;
  color: white;
  margin-bottom: 5px;
}

.detail-tags {
  margin-bottom: 28px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.content-main,
.content-side {
  display: grid;
  gap: 24px;
}

.player-section {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: white;
  font-size: 18px;
  font-weight: 900;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), rgba(0, 0, 0, 0.44));
  cursor: pointer;
}

.player-start.hidden {
  display: none;
}

.player-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-inline: auto;
  border-radius: 999px;
  color: white;
  font-size: 38px;
  background: linear-gradient(135deg, var(--blue), var(--cyan-dark));
  box-shadow: 0 18px 50px rgba(34, 211, 238, 0.38);
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  margin: 0;
  color: #fef3c7;
  text-align: center;
  pointer-events: none;
}

.text-panel,
.side-card {
  padding: 24px;
}

.text-panel h2,
.side-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

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

.side-card dd {
  margin: 0;
  color: var(--muted-2);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 44px 0 26px;
  background: rgba(2, 6, 23, 0.8);
}

.footer-grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 34px;
}

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

.footer-grid h3 {
  margin: 0 0 12px;
}

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

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: var(--shell);
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  color: var(--muted-2);
  text-align: center;
  background: rgba(15, 23, 42, 0.72);
}

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

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

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

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

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

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

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

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

  .hero-arrow {
    display: none;
  }

  .intro-panel,
  .two-column,
  .category-overview-card,
  .detail-layout,
  .detail-content-grid,
  .footer-grid,
  .inline-filter {
    grid-template-columns: 1fr;
  }

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

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

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

  .content-side,
  .spotlight-panel {
    position: static;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100vw - 20px, 1280px);
  }

  .header-inner {
    min-height: 62px;
  }

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

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

  .hero-content {
    padding-top: 30px;
  }

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

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

  .section {
    padding-block: 38px;
  }

  .section-heading,
  .search-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .detail-meta-grid,
  .podium-grid,
  .search-panel,
  .movie-grid,
  .large-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horizontal-card {
    grid-template-columns: 42px 92px minmax(0, 1fr);
    gap: 10px;
  }

  .horizontal-info p {
    display: none;
  }

  .category-cover-stack {
    height: 120px;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    padding-block: 26px 70px;
  }

  .detail-info h1 {
    font-size: 38px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .large-grid,
  .compact-grid,
  .category-grid,
  .detail-meta-grid,
  .search-panel {
    grid-template-columns: 1fr;
  }

  .mobile-nav.open {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .large-search {
    flex-direction: column;
    border-radius: 22px;
  }

  .large-search button {
    min-height: 48px;
  }
}
