:root {
  --blue: #2563eb;
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --yellow: #fde047;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --light: #f8fafc;
  --panel: #ffffff;
  --dark: #0f172a;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --small-radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--light);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand-text em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-cta,
.btn-primary,
.btn-secondary,
.rank-action,
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav-cta,
.btn-primary,
.mobile-cta {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
}

.nav-cta:hover,
.btn-primary:hover,
.mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 99px;
  background: #1f2937;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.52), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(253, 224, 71, 0.28), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 54%, #06b6d4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.64), rgba(6, 182, 212, 0.26));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.78fr);
  gap: 44px;
  align-items: center;
  padding: 84px 0 110px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px;
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(253, 224, 71, 0.8);
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero h1 b {
  color: var(--yellow);
  font-weight: inherit;
}

.hero-lead {
  max-width: 700px;
  margin: 0 0 30px;
  color: #dbeafe;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-tags span,
.tag-row span,
.detail-tags span,
.movie-info-list span,
.rank-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.hero-tags span {
  padding: 7px 13px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.btn-secondary {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-panel {
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(20px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.28);
}

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

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(15, 23, 42, 0.82));
}

.hero-poster strong {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  font-size: 26px;
  line-height: 1.2;
}

.hero-panel-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero-panel-meta span {
  min-height: 70px;
  padding: 12px;
  border-radius: 18px;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.24);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transform: translateX(-50%);
}

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

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

.hero-dot.active {
  width: 34px;
  background: #ffffff;
}

.hero-mini-list {
  display: flex;
  gap: 12px;
  overflow: hidden;
}

.hero-mini-list a {
  max-width: 180px;
  padding: 9px 14px;
  overflow: hidden;
  color: #dbeafe;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

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

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 46px 0;
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-head p,
.page-hero p,
.detail-title p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.stats-section {
  background: #ffffff;
}

.stats-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 24px;
  text-align: center;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.stat-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #ffffff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.stat-card strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #ffffff;
  border-radius: 18px;
  font-size: 24px;
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

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

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

.poster-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 900;
}

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

.movie-title {
  display: -webkit-box;
  min-height: 54px;
  overflow: hidden;
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-title:hover {
  color: var(--blue);
}

.movie-meta {
  margin: 7px 0 10px;
  color: #64748b;
  font-size: 13px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 52px;
  margin: 0 0 13px;
  overflow: hidden;
  color: #475569;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.tag-row span,
.detail-tags span {
  padding: 5px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-panel {
  padding: 28px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  box-shadow: var(--shadow);
}

.feature-panel:nth-child(2) {
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.feature-panel:nth-child(3) {
  background: linear-gradient(135deg, #0369a1, #22d3ee);
}

.feature-panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.feature-panel p {
  margin: 0;
  color: #e0f2fe;
}

.page-hero {
  padding: 70px 0 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 800;
}

.filter-bar {
  position: sticky;
  top: 92px;
  z-index: 20;
  margin-bottom: 34px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(140px, 0.7fr));
  gap: 14px;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: #0f172a;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: #ffffff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-grid input:focus,
.filter-grid select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.empty-state {
  display: none;
  padding: 70px 24px;
  text-align: center;
  color: #64748b;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 74px 112px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.rank-cover {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: #e2e8f0;
}

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

.rank-title {
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
}

.rank-title:hover {
  color: var(--blue);
}

.rank-content p {
  margin: 8px 0 10px;
  color: #475569;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-meta span {
  padding: 5px 10px;
  color: #475569;
  background: #f1f5f9;
  font-size: 12px;
}

.rank-action {
  min-width: 108px;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.detail-shell {
  background: linear-gradient(180deg, #eff6ff, #f8fafc 420px);
}

.detail-hero {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  background: #dbeafe;
  box-shadow: var(--shadow);
}

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

.detail-title h1 {
  margin-top: 0;
}

.movie-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.movie-info-list span {
  padding: 8px 12px;
  color: #1e40af;
  background: #dbeafe;
}

.watch-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 70px;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.34);
}

.player-wrap {
  position: relative;
  background: #020617;
}

.player-wrap video {
  width: 100%;
  max-height: 72vh;
  display: block;
  background: #020617;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2), rgba(2, 6, 23, 0.42));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-overlay span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.36);
  font-size: 38px;
}

.player-status {
  min-height: 26px;
  margin: 0;
  padding: 14px 20px 18px;
  color: #bfdbfe;
  font-size: 14px;
}

.detail-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.content-card {
  padding: 34px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.content-card + .content-card {
  margin-top: 24px;
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.content-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

.content-card p + p {
  margin-top: 16px;
}

.side-card {
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.side-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

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

.side-list a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.side-list img {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.side-list strong {
  display: -webkit-box;
  overflow: hidden;
  color: #0f172a;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.side-list span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.site-footer {
  margin-top: 80px;
  color: #cbd5e1;
  background: #0f172a;
}

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

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

.site-footer p {
  margin: 0 0 12px;
  color: #cbd5e1;
}

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

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

.site-footer a:hover {
  color: #38bdf8;
}

.footer-note {
  color: #94a3b8;
  font-size: 14px;
}

.feature-list li::before {
  content: "✓";
  margin-right: 8px;
  color: #38bdf8;
  font-weight: 900;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
  color: #cbd5e1;
  font-size: 14px;
}

.from-blue-to-cyan {
  background: linear-gradient(135deg, #2563eb, #22d3ee);
}

.from-violet-to-sky {
  background: linear-gradient(135deg, #7c3aed, #38bdf8);
}

.from-rose-to-orange {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.from-orange-to-yellow {
  background: linear-gradient(135deg, #f97316, #facc15);
}

.from-indigo-to-cyan {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.from-cyan-to-green {
  background: linear-gradient(135deg, #06b6d4, #22c55e);
}

.from-pink-to-blue {
  background: linear-gradient(135deg, #ec4899, #3b82f6);
}

.from-amber-to-red {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.from-green-to-blue {
  background: linear-gradient(135deg, #22c55e, #2563eb);
}

.from-slate-to-blue {
  background: linear-gradient(135deg, #334155, #2563eb);
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 18px;
  }

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

  .hero-panel {
    max-width: 440px;
  }

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

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

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

  .menu-button {
    display: block;
  }

  .mobile-nav {
    display: grid;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    transition: max-height 0.24s ease, padding 0.24s ease;
  }

  .menu-open .mobile-nav {
    max-height: 420px;
    padding: 0 0 18px;
  }

  .mobile-link,
  .mobile-cta {
    padding: 13px 15px;
    border-radius: 14px;
  }

  .mobile-link {
    color: #334155;
    background: #f8fafc;
    font-weight: 800;
  }

  .mobile-link.active {
    color: var(--blue);
    background: #eff6ff;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    padding: 54px 0 118px;
  }

  .hero-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-mini-list {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

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

  .rank-item {
    grid-template-columns: 56px 86px minmax(0, 1fr);
  }

  .rank-action {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 66px;
  }

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

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero,
  .hero-content {
    min-height: 820px;
  }

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

  .hero-panel-meta,
  .stats-grid,
  .category-grid,
  .movie-grid,
  .feature-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 52px 0;
  }

  .rank-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .rank-cover {
    display: none;
  }

  .rank-action {
    grid-column: 1 / -1;
  }

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