:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: #1e293b;
  --line-soft: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --emerald: #10b981;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.48);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(6, 182, 212, 0.12), transparent 34rem),
    radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.10), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(30, 41, 59, 0.92);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.28);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

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

.desktop-nav a,
.mobile-panel a {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: #22d3ee;
}

.top-search,
.mobile-search,
.inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.mobile-search input,
.inline-search input,
.filter-bar input,
.filter-bar select {
  min-height: 42px;
  border: 1px solid #334155;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input {
  width: 220px;
  padding: 0 14px;
}

.top-search input:focus,
.mobile-search input:focus,
.inline-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.top-search button,
.mobile-search button,
.inline-search button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: #fff;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: #fff;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.78);
  width: 42px;
  height: 42px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px;
  background: rgba(15, 23, 42, 0.98);
}

.mobile-panel.is-open {
  display: grid;
  gap: 16px;
}

.mobile-panel nav,
.mobile-category-links {
  display: grid;
  gap: 8px;
}

.mobile-panel a {
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(30, 41, 59, 0.48);
}

.mobile-search input {
  width: 100%;
  padding: 0 14px;
}

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

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.82) 42%, rgba(2, 6, 23, 0.18)),
    linear-gradient(0deg, #020617, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 28px;
}

.hero-badge,
.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.16);
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-badge {
  margin-bottom: 24px;
  padding: 8px 16px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-meta,
.detail-meta,
.movie-card-foot,
.movie-line-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta {
  margin-bottom: 34px;
}

.hero-meta span:first-child,
.detail-meta span:first-child {
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--cyan);
  color: #fff;
  font-weight: 800;
}

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

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

.primary-button {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: #fff;
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.23);
}

.ghost-button {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.62);
  color: #e2e8f0;
  backdrop-filter: blur(12px);
}

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

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #64748b;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search-panel {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 20px;
  align-items: center;
  margin-top: -44px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  padding: 22px;
  background: rgba(15, 23, 42, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-search-panel strong {
  display: block;
  font-size: 20px;
}

.home-search-panel span {
  color: var(--muted);
  font-size: 14px;
}

.inline-search input {
  width: 100%;
  padding: 0 14px;
}

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

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading > span {
  display: block;
  width: 5px;
  height: 38px;
  margin-top: 5px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--teal));
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

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

.section-heading.with-link a {
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  padding: 9px 16px;
  color: #67e8f9;
  font-size: 14px;
  font-weight: 800;
  background: rgba(6, 182, 212, 0.09);
}

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

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(166px, 1fr));
  gap: 18px;
}

.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
  transform: translateY(-5px);
}

.movie-card a {
  display: block;
  height: 100%;
}

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

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

.movie-card:hover .poster-wrap img,
.category-tile:hover img,
.rank-row:hover img {
  transform: scale(1.08);
}

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.86);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 26px rgba(6, 182, 212, 0.3);
}

.movie-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.card-kicker {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 800;
}

.movie-card strong,
.horizontal-copy strong,
.large-card-overlay strong,
.rank-copy strong {
  color: #fff;
  line-height: 1.3;
}

.movie-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 42px;
  font-size: 16px;
}

.movie-card em,
.horizontal-copy em,
.large-card-overlay em,
.rank-copy em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  -webkit-box-orient: vertical;
}

.movie-card em {
  min-height: 42px;
  font-size: 13px;
  -webkit-line-clamp: 2;
}

.movie-card-foot {
  justify-content: space-between;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 10px;
  font-size: 12px;
}

.movie-card-foot span:last-child {
  overflow: hidden;
  max-width: 110px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-card-large {
  position: relative;
  border-radius: 24px;
}

.movie-card-large .poster-landscape {
  aspect-ratio: 16 / 9;
}

.large-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 24px;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.18) 64%, transparent);
}

.large-card-overlay strong {
  font-size: 22px;
}

.large-card-overlay em {
  -webkit-line-clamp: 2;
}

.movie-card-horizontal {
  border-radius: 18px;
}

.movie-card-horizontal a {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.poster-small {
  width: 132px;
  min-width: 132px;
  aspect-ratio: 16 / 10;
}

.horizontal-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 14px 12px 0;
}

.horizontal-copy em {
  font-size: 13px;
  -webkit-line-clamp: 2;
}

.horizontal-copy span {
  color: var(--muted);
  font-size: 12px;
}

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

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

.rank-card {
  position: sticky;
  top: 92px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 26px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(6, 182, 212, 0.08)),
    rgba(15, 23, 42, 0.8);
  box-shadow: var(--shadow);
}

.rank-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.rank-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.category-preview-stack {
  display: grid;
  gap: 34px;
}

.tinted-section {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 28px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.54));
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 58px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(20, 184, 166, 0.06)),
    radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.16), transparent 26rem),
    #020617;
}

.slim-hero {
  padding: 70px 0 52px;
}

.category-hero {
  padding: 62px 0 46px;
}

.eyebrow {
  margin-bottom: 16px;
  padding: 7px 14px;
}

.page-hero h1 {
  max-width: 840px;
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: #67e8f9;
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: #475569;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-tile {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 24px;
  background: #0f172a;
}

.category-tile a {
  position: relative;
  display: block;
  min-height: 250px;
}

.category-tile img,
.category-tile-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  transition: transform 0.55s ease;
}

.category-tile-shade {
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.15));
}

.category-tile-copy {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 24px;
}

.category-tile-copy strong {
  font-size: 24px;
}

.category-tile-copy em {
  color: var(--muted-strong);
  font-style: normal;
}

.filter-panel {
  padding-top: 34px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 28px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 22px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.72);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 0 14px;
}

.movie-card.is-hidden {
  display: none;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 70px;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.33;
  filter: blur(2px);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #020617 6%, rgba(2, 6, 23, 0.72), #020617 96%),
    linear-gradient(0deg, #020617, transparent 45%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

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

.detail-copy h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: var(--muted-strong);
  font-size: 18px;
}

.detail-meta {
  margin-bottom: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tag-row span {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.68);
  font-size: 13px;
}

.detail-section {
  padding-top: 42px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow);
}

.media-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  background-position: center;
  background-size: cover;
  color: #fff;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  display: grid;
  width: clamp(72px, 12vw, 104px);
  height: clamp(72px, 12vw, 104px);
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 22px 46px rgba(6, 182, 212, 0.32);
  font-size: clamp(26px, 5vw, 40px);
  padding-left: 5px;
}

.play-text {
  max-width: min(86%, 780px);
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.72);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 5;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(2, 6, 23, 0.72);
  color: #cbd5e1;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.detail-article {
  display: grid;
  gap: 16px;
  max-width: 1180px;
}

.detail-article h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 28px;
}

.detail-article p {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  padding: 22px;
  background: rgba(15, 23, 42, 0.62);
  color: var(--muted-strong);
  font-size: 16px;
}

.rankings-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 42px;
}

.ranking-block {
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 28px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-row a {
  display: grid;
  grid-template-columns: 40px 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 18px;
  padding: 10px;
  background: rgba(30, 41, 59, 0.46);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row a:hover {
  background: rgba(30, 41, 59, 0.78);
  transform: translateX(3px);
}

.rank-num {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.16);
  color: #67e8f9;
  font-weight: 900;
}

.rank-row img {
  width: 72px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rank-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-copy em {
  -webkit-line-clamp: 1;
  font-size: 13px;
}

.rank-copy span {
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.site-footer {
  margin-top: 84px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 46px 0;
}

.footer-brand p,
.site-footer p,
.site-footer li,
.footer-bottom {
  color: var(--muted);
  font-size: 14px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 18px 0 28px;
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-control {
    display: none;
  }

  .home-search-panel,
  .split-section,
  .detail-grid,
  .rankings-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-card {
    position: static;
  }

  .detail-grid {
    align-items: start;
  }

  .detail-poster {
    width: min(260px, 72vw);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

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

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 96px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .home-search-panel {
    margin-top: 18px;
  }

  .inline-search,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .inline-search {
    display: grid;
  }

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

  .movie-card {
    border-radius: 16px;
  }

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

  .movie-card strong {
    min-height: 39px;
    font-size: 14px;
  }

  .movie-card em {
    min-height: 38px;
    font-size: 12px;
  }

  .poster-small {
    width: 104px;
    min-width: 104px;
  }

  .movie-card-horizontal a {
    gap: 10px;
  }

  .horizontal-copy {
    padding-right: 10px;
  }

  .page-hero,
  .detail-hero {
    padding-top: 42px;
  }

  .player-shell {
    border-radius: 18px;
  }

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