* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --blue-950: #0f172a;
  --blue-900: #172554;
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --cyan-500: #06b6d4;
  --cyan-300: #67e8f9;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 8px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 35px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 45%, #f8fafc 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  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.02em;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

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

.header-search input,
.mobile-search input,
.large-search input,
.filter-bar input,
.filter-bar select {
  min-width: 0;
  color: var(--slate-900);
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input,
.mobile-search input {
  width: 220px;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

.header-search button,
.mobile-search button,
.large-search button,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.34);
  filter: saturate(1.08);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.10);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-links,
.mobile-cats {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

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

.mobile-cats a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800) 58%, #0e7490);
}

.hero-section::before,
.hero-section::after,
.hero-glow {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-section::before {
  width: 380px;
  height: 380px;
  top: 60px;
  left: 7%;
  background: var(--cyan-500);
}

.hero-section::after {
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -160px;
  background: var(--blue-600);
}

.hero-glow {
  width: 260px;
  height: 260px;
  top: 28%;
  right: 33%;
  background: #38bdf8;
}

.hero-slider {
  position: relative;
  min-height: 640px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.58fr);
  align-items: center;
  gap: 48px;
  padding: 84px 0 96px;
  opacity: 0;
  transform: translateX(26px);
  visibility: hidden;
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.50), rgba(15, 23, 42, 0.90)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  mask-image: radial-gradient(circle at 70% 50%, black 0, transparent 66%);
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  color: #bae6fd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.section-kicker {
  color: var(--blue-700);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.12);
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags,
.tag-row,
.detail-meta,
.rank-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.rank-meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
}

.hero-tags span {
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.13);
}

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

.hero-poster {
  position: relative;
  display: block;
  width: min(360px, 100%);
  justify-self: end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

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

.hero-poster:hover img {
  transform: scale(1.07);
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-size: 28px;
  background: rgba(255, 255, 255, 0.90);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

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

.quick-search {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  align-items: center;
  gap: 28px;
  margin-top: -46px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.quick-search h2,
.section-heading h2,
.page-hero h1,
.spotlight-panel h2,
.article-card h2 {
  margin: 0;
  color: var(--slate-900);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.quick-search h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.large-search input {
  flex: 1;
  min-height: 52px;
  padding: 0 18px;
}

.large-search button {
  min-height: 52px;
  padding: 0 28px;
}

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

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

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

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

.section-heading.compact {
  align-items: center;
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  padding: 22px;
  color: var(--white);
  border-radius: 24px;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.84)), var(--tile-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile span {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.movie-card {
  min-width: 0;
}

.movie-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card a:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: var(--shadow-md);
}

.card-poster {
  position: relative;
  height: auto;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--slate-100);
}

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

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

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.54));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.card-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.25);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card a:hover .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-body {
  padding: 18px;
}

.card-meta {
  margin-bottom: 10px;
}

.card-body h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.32;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
}

.ranking-panel,
.spotlight-panel,
.article-card,
.category-overview-card a {
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.ranking-panel,
.spotlight-panel,
.article-card {
  padding: 28px;
}

.spotlight-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(103, 232, 249, 0.28), transparent 38%), linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.spotlight-panel .section-kicker {
  color: #bae6fd;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.spotlight-panel h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
}

.spotlight-panel p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 17px;
}

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

.rank-link {
  display: grid;
  grid-template-columns: 54px 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.rank-number {
  color: var(--blue-700);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.rank-link img {
  width: 92px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.rank-copy h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.rank-copy p {
  margin: 0 0 8px;
  color: var(--slate-600);
  font-size: 14px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 18% 24%, rgba(6, 182, 212, 0.32), transparent 32%), linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.page-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.page-hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.compact-hero > div {
  padding: 56px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 170px 170px;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.filter-bar label {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  height: 46px;
  padding: 0 14px;
}

.empty-state {
  margin-top: 18px;
  padding: 34px;
  color: var(--slate-600);
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

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

.category-overview-card a {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 190px;
  background: var(--slate-100);
}

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

.category-overview-copy {
  padding: 28px;
}

.category-overview-copy h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.category-overview-copy p {
  margin: 0 0 20px;
  color: var(--slate-600);
}

.category-overview-copy span {
  color: var(--blue-700);
  font-weight: 800;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.58)), var(--detail-image);
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 64px;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-line {
  max-width: 760px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.detail-meta span,
.detail-tags span {
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
  margin: 18px 0 28px;
}

.player-section {
  padding-top: 56px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.26), rgba(2, 6, 23, 0.78));
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-shell.is-playing .player-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-size: 30px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.34);
}

.player-text {
  font-size: 18px;
  font-weight: 900;
}

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

.article-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 28px;
}

.article-card h2:not(:first-child) {
  margin-top: 26px;
}

.article-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.info-list div {
  padding: 16px;
  background: var(--slate-50);
  border-radius: 16px;
}

.info-list dt {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 800;
}

.info-list dd {
  margin: 4px 0 0;
  color: var(--slate-900);
  font-weight: 800;
}

.search-page-form {
  max-width: 760px;
  margin-top: 26px;
}

.site-footer {
  margin-top: 82px;
  color: rgba(255, 255, 255, 0.74);
  background: linear-gradient(135deg, var(--slate-900), #111827 58%, var(--blue-950));
}

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

.footer-brand {
  color: var(--white);
  font-size: 20px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

.site-footer p,
.site-footer ul {
  margin: 14px 0 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

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

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

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

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

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 58px 0 96px;
  }

  .hero-poster {
    width: min(280px, 78vw);
    justify-self: start;
  }

  .quick-search,
  .two-column-section,
  .detail-layout,
  .filter-bar,
  .category-overview-card a {
    grid-template-columns: 1fr;
  }

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

  .filter-bar {
    gap: 14px;
  }

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

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 64px;
  }

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

  .mobile-search {
    align-items: stretch;
  }

  .mobile-search input {
    width: 100%;
  }

  .hero-slider {
    min-height: 700px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-line {
    font-size: 16px;
  }

  .quick-search {
    margin-top: -24px;
    padding: 20px;
  }

  .large-search {
    display: grid;
  }

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

  .rank-link {
    grid-template-columns: 44px 76px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-link img {
    width: 76px;
  }

  .rank-copy p {
    display: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

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

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