:root {
  --bg: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --panel: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --green: #16a34a;
  --yellow: #f59e0b;
  --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 25px 70px rgba(15, 23, 42, 0.18);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.top-nav {
  max-width: var(--container);
  height: 68px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
  font-size: 14px;
}

.brand-text {
  font-size: 26px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

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

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #374151;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 18px;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #374151;
  background: #f9fafb;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.26), transparent 22%),
    radial-gradient(circle at 18% 74%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(135deg, #2563eb 0%, #06b6d4 52%, #14b8a6 100%);
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  min-height: 600px;
  margin: 0 auto;
  padding: 70px 20px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: 48px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
  background: #f3f4f6;
}

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

.btn-outline:hover {
  color: var(--blue);
  background: #ffffff;
}

.hero-search {
  display: flex;
  max-width: 620px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #ffffff;
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--blue);
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.hero-slider {
  position: relative;
}

.hero-card {
  display: none;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(18px);
}

.hero-card.is-active {
  display: block;
  animation: fadeSlide 0.62s ease both;
}

.hero-card .poster-frame {
  height: 360px;
  border-radius: 0;
}

.hero-card-body {
  padding: 24px;
}

.hero-card-body h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.hero-card-body p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.hero-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 18px;
}

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

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

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  width: 100%;
  height: 86px;
}

.main-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 62px 20px;
}

.main-section.tight {
  padding-top: 34px;
}

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

.section-heading h2 {
  margin: 0 0 5px;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

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

.section-more {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

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

.stat-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

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

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

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

.movie-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  height: 310px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background:
    radial-gradient(circle at 65% 20%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #1d4ed8, #06b6d4 48%, #14b8a6);
}

.compact-card .poster-frame,
.movie-grid.six .poster-frame {
  height: 245px;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.2s ease;
}

.cover-img.is-missing {
  opacity: 0;
}

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

.region-badge,
.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.region-badge {
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  color: #ffffff;
  background: var(--blue);
}

.year-badge {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 12px;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  border-radius: 0;
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.28);
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  min-height: 3em;
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-info h3 {
  color: var(--blue);
}

.movie-info p {
  min-height: 3.05em;
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.52;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.feature-band {
  position: relative;
  overflow: hidden;
  margin: 60px 0;
  padding: 38px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 22px 56px rgba(37, 99, 235, 0.22);
}

.feature-band::before,
.feature-band::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.feature-band::before {
  top: -110px;
  right: -80px;
}

.feature-band::after {
  left: -80px;
  bottom: -120px;
}

.feature-band-inner {
  position: relative;
  z-index: 1;
}

.band-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.band-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.band-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.28);
}

.band-item strong {
  display: block;
  margin-bottom: 6px;
}

.scroll-row {
  overflow-x: auto;
  padding: 0 0 18px;
}

.scroll-track {
  display: flex;
  gap: 22px;
  width: max-content;
}

.scroll-card {
  width: 320px;
}

.page-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 23%),
    linear-gradient(105deg, var(--blue), var(--cyan));
}

.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 74px 20px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

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

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.search-input {
  min-width: 260px;
  flex: 1;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.filter-button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #374151;
  background: #f3f4f6;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #ffffff;
  background: var(--blue);
  transform: translateY(-1px);
}

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

.category-card {
  min-height: 190px;
  padding: 24px;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -40px;
  bottom: -40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.ranking-list {
  display: grid;
  gap: 14px;
  counter-reset: ranking;
}

.ranking-row {
  counter-increment: ranking;
  display: grid;
  grid-template-columns: 70px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ranking-row::before {
  content: counter(ranking);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
}

.ranking-thumb {
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.ranking-title h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.ranking-title p {
  margin: 0;
  color: var(--muted);
}

.score-pill {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  font-weight: 900;
  white-space: nowrap;
}

.detail-hero {
  background: linear-gradient(120deg, #111827, #1d4ed8 58%, #06b6d4);
}

.detail-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  color: #ffffff;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.detail-info .breadcrumbs {
  margin-bottom: 20px;
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.detail-info p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.detail-meta span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 20px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
}

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

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

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

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.85;
}

.player-card {
  padding: 0;
  overflow: hidden;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background:
    linear-gradient(to top, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.22)),
    transparent;
  cursor: pointer;
}

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

.play-button-core {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  font-size: 34px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-cover:hover .play-button-core {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.3);
}

.player-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: #cbd5e1;
  background: #0f172a;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-weight: 800;
}

.source-btn.is-active {
  color: #ffffff;
  background: var(--blue);
}

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

.side-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.side-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.side-thumb {
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.side-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.side-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.info-table th {
  width: 82px;
  color: var(--muted);
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.pager-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.pager-links a {
  flex: 1;
  padding: 16px;
  border-radius: 16px;
  color: #374151;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #9ca3af;
}

.footer-logo .brand-text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-col a {
  display: block;
  margin: 7px 0;
  color: #9ca3af;
  font-size: 14px;
}

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

.footer-category-links {
  column-count: 2;
}

.footer-category-links h3 {
  column-span: all;
}

.empty-message {
  display: none;
  padding: 38px;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-message.is-visible {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

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

  .hero-inner {
    padding-top: 54px;
  }

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

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

@media (max-width: 720px) {
  .top-nav {
    height: 62px;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-bottom: 120px;
  }

  .hero-search {
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search input {
    min-height: 44px;
  }

  .hero-card .poster-frame {
    height: 260px;
  }

  .main-section,
  .page-hero-inner,
  .detail-shell,
  .content-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .movie-grid,
  .movie-grid.six,
  .category-grid,
  .stat-grid,
  .band-list {
    grid-template-columns: 1fr;
  }

  .poster-frame,
  .compact-card .poster-frame,
  .movie-grid.six .poster-frame {
    height: 360px;
  }

  .ranking-row {
    grid-template-columns: 48px 74px minmax(0, 1fr);
  }

  .ranking-row .score-pill {
    grid-column: 2 / -1;
  }

  .ranking-thumb {
    height: 74px;
  }

  .detail-poster img {
    height: 410px;
  }

  .footer-category-links {
    column-count: 1;
  }
}

@media (max-width: 430px) {
  .poster-frame,
  .compact-card .poster-frame,
  .movie-grid.six .poster-frame {
    height: 300px;
  }
}
