:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #0891b2;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #1d4ed8 45%, #0891b2);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.3);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #2563eb;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

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

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

.desktop-nav a,
.mobile-panel a {
  font-weight: 600;
  opacity: 0.88;
  transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  opacity: 1;
  color: #dbeafe;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(280px, 24vw);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.header-search input,
.mobile-search input,
.large-search input,
.search-page-form input,
.filter-bar input {
  width: 100%;
  border: 0;
  outline: 0;
}

.header-search input {
  min-width: 0;
  padding: 10px 8px 10px 16px;
  color: #fff;
  background: transparent;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button {
  border: 0;
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  background: transparent;
}

.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.mobile-panel a {
  padding: 10px 12px;
  border-radius: 12px;
}

.mobile-panel a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-brand {
  font-size: 18px;
  font-weight: 800;
}

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

.mobile-search input {
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
}

.mobile-search button,
.large-search button,
.search-page-form button {
  border: 0;
  color: #fff;
  padding: 0 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.hero {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  color: #fff;
  background: #020617;
}

.hero-shell {
  position: relative;
  min-height: 74vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 96px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: blur(26px) saturate(1.25);
  transform: scale(1.08);
  opacity: 0.38;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(14, 165, 233, 0.34), transparent 30%),
    radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.45), transparent 28%),
    linear-gradient(110deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.83) 48%, rgba(2, 6, 23, 0.72));
}

.hero-copy,
.hero-poster,
.hero-controls {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.eyebrow.dark {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.12);
}

.hero h1,
.hero h2 {
  margin: 18px 0 14px;
  max-width: 880px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero h2 + p,
.hero h1 + h2 + p {
  max-width: 720px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
}

.hero h1 + h2 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 50px);
  color: #bfdbfe;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tag-row span {
  color: #475569;
  background: #eef2ff;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  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: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.35);
}

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

.ghost-button.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

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

.hero-poster {
  display: block;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transform: perspective(1200px) rotateY(-8deg);
  min-height: 420px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue);
  font-size: 32px;
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 38px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.36);
}

.hero-dot.is-active {
  background: #fff;
}

.section-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 24px;
  align-items: center;
}

.intro-strip h2,
.section-heading h2,
.page-hero h1,
.detail-info h1 {
  margin: 10px 0;
  letter-spacing: -0.035em;
}

.intro-strip p,
.section-heading p,
.page-hero p {
  color: var(--muted);
  margin: 0;
}

.large-search,
.search-page-form {
  display: flex;
  min-height: 58px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.large-search input,
.search-page-form input {
  padding: 0 18px;
  color: var(--text);
  background: transparent;
}

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

.section-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.section-heading > a,
.small-heading > a {
  color: var(--blue);
  font-weight: 800;
}

.center-heading {
  text-align: center;
  justify-content: center;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 38px;
  opacity: 0;
  background: rgba(2, 6, 23, 0.48);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
}

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.year-badge {
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  background: rgba(2, 6, 23, 0.75);
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.34);
}

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

.movie-card-body h2 {
  min-height: 56px;
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card-body h2 a:hover {
  color: var(--blue);
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.movie-meta-line a {
  color: var(--blue);
}

.category-band {
  background: #fff;
}

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

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow);
}

.category-tile::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -36px;
  top: -36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile span {
  position: relative;
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
}

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

.category-tile em {
  position: relative;
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
}

.color-blue { background: linear-gradient(135deg, #2563eb, #0891b2); }
.color-cyan { background: linear-gradient(135deg, #0891b2, #0e7490); }
.color-purple { background: linear-gradient(135deg, #7c3aed, #db2777); }
.color-emerald { background: linear-gradient(135deg, #059669, #14b8a6); }
.color-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.color-rose { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.color-pink { background: linear-gradient(135deg, #db2777, #f97316); }
.color-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
.color-slate { background: linear-gradient(135deg, #334155, #0f172a); }
.color-red { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.color-indigo { background: linear-gradient(135deg, #4f46e5, #1d4ed8); }
.color-teal { background: linear-gradient(135deg, #0d9488, #2563eb); }

.rank-band {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 28px;
}

.rank-list,
.compact-grid,
.side-list {
  display: grid;
  gap: 12px;
}

.mini-movie {
  display: grid;
  grid-template-columns: auto 108px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-grid .mini-movie,
.side-list .mini-movie {
  grid-template-columns: 92px 1fr;
}

.compact-grid .mini-rank,
.side-list .mini-rank {
  display: none;
}

.mini-movie:hover {
  transform: translateX(3px);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
}

.mini-rank {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.mini-movie img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 13px;
  background: #e2e8f0;
}

.mini-movie strong {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-movie em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  min-height: 280px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(34px, 6vw, 64px);
  color: #fff;
  border-radius: 32px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.page-hero p {
  max-width: 720px;
  color: #dbeafe;
  font-size: 18px;
}

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

.filter-bar {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.filter-bar input {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  background: #f1f5f9;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tags button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #334155;
  cursor: pointer;
  font-weight: 700;
  background: #e2e8f0;
}

.filter-tags button.is-active,
.filter-tags button:hover {
  color: #fff;
  background: var(--blue);
}

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

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

.category-preview {
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.small-heading {
  align-items: center;
  margin-bottom: 22px;
}

.search-status {
  margin: 12px 4px 0;
  color: var(--muted);
  font-weight: 700;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #020617;
}

.detail-bg {
  position: absolute;
  inset: -40px;
  background-position: center;
  background-size: cover;
  opacity: 0.28;
  filter: blur(24px) saturate(1.1);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.78), rgba(37, 99, 235, 0.58));
}

.detail-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: #bfdbfe;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fff;
}

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

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 460px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
  background: #1e293b;
}

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

.detail-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue);
  font-size: 30px;
  background: rgba(255, 255, 255, 0.94);
  transform: translate(-50%, -50%);
}

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

.lead-text {
  max-width: 760px;
  color: #dbeafe;
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #e0f2fe;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-tags span {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.13);
}

.player-section {
  padding-bottom: 32px;
}

.player-card {
  padding: clamp(14px, 3vw, 24px);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.player-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.46));
}

.player-cover.is-hidden {
  display: none;
}

.play-circle {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: var(--blue);
  font-size: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.player-cover:hover .play-circle {
  transform: scale(1.06);
}

.player-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6px 0;
}

.player-title-row h2 {
  margin: 0;
}

.player-title-row a {
  color: var(--blue);
  font-weight: 800;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 28px;
  padding-top: 32px;
}

.text-panel,
.side-panel {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}

.text-panel h2,
.side-panel h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.text-panel p {
  margin: 0 0 28px;
  color: #334155;
  font-size: 17px;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
}

.footer-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(220px, 0.8fr);
  gap: 36px;
  padding: 52px 0;
}

.footer-logo .brand-mark {
  color: #0f172a;
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.footer-links a:hover {
  color: #93c5fd;
}

.footer-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-cats h2 {
  grid-column: 1 / -1;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-card].is-hidden {
  display: none;
}

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

  .header-search {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .hero-poster {
    display: none;
  }

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

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

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

@media (max-width: 760px) {
  .nav-shell {
    min-height: 62px;
  }

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

  .header-search {
    display: none;
  }

  .hero,
  .hero-shell {
    min-height: 78vh;
  }

  .hero-slide {
    width: min(100% - 28px, 1280px);
    padding: 58px 0 84px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .intro-strip,
  .detail-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .page-hero,
  .player-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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

  .movie-card-body h2 {
    min-height: auto;
    font-size: 16px;
  }

  .mini-movie,
  .compact-grid .mini-movie,
  .side-list .mini-movie {
    grid-template-columns: 86px 1fr;
  }

  .mini-rank {
    display: none;
  }

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

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

  .footer-cats {
    grid-template-columns: 1fr;
  }
}
