:root {
  --color-bg: #f8fafc;
  --color-panel: #ffffff;
  --color-text: #111827;
  --color-muted: #64748b;
  --color-border: #e5e7eb;
  --color-blue: #2563eb;
  --color-cyan: #06b6d4;
  --color-teal: #14b8a6;
  --color-rose: #f43f5e;
  --color-amber: #f59e0b;
  --shadow-soft: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 48%, #ecfeff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

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

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

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  border-radius: 999px;
  transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

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

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #334155;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
}

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

.mobile-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: #475569;
  font-weight: 700;
}

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

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 48%, #14b8a6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.22), transparent 32%),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.10), rgba(15, 23, 42, 0.38));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0);
  background-size: 34px 34px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-carousel {
  position: relative;
  width: 100%;
  min-height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 54px;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 780px;
  margin: 24px 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-one-line {
  max-width: 760px;
  margin: 0 0 30px;
  font-size: clamp(18px, 2.2vw, 25px);
  color: rgba(255, 255, 255, 0.92);
}

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

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

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

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

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
}

.btn-soft {
  color: var(--color-blue);
  background: #eff6ff;
}

.btn.full {
  width: 100%;
}

.hero-tags,
.tag-cloud,
.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-cloud a,
.detail-tags a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 700;
}

.hero-poster {
  position: relative;
  display: block;
  height: 460px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 36px 80px rgba(15, 23, 42, 0.38);
  transform: rotate(2deg);
}

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

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

.hero-poster-info {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 6px;
}

.hero-poster-info strong {
  font-size: 24px;
}

.hero-poster-info em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.hero-controls {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-size: 26px;
  backdrop-filter: blur(12px);
}

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

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

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

.section {
  padding: 76px 0;
}

.white-section {
  background: #ffffff;
}

.tint-section {
  background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
}

.black-section {
  background: #030712;
  color: #ffffff;
}

.cta-section {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading .section-kicker,
.sub-hero .section-kicker,
.panel-heading span {
  color: var(--color-blue);
  background: #dbeafe;
  border-color: #bfdbfe;
}

.section-heading h2,
.panel-heading h2 {
  margin: 14px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

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

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: #bfdbfe;
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.18);
}

.poster-shell {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
}

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

.poster-shell img.is-missing-image {
  opacity: 0;
}

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.78));
}

.play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.64);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card-body strong {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card-body span {
  color: var(--color-muted);
  font-size: 13px;
}

.line-clamp-2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-meta em {
  padding: 4px 8px;
  color: var(--color-blue);
  background: #eff6ff;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 130px 1fr;
}

.movie-card-wide .poster-shell {
  aspect-ratio: 4 / 3;
  height: 100%;
}

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

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

.category-tile,
.overview-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.category-tile img,
.overview-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-tile:hover img,
.overview-card:hover img {
  transform: scale(1.08);
}

.category-overlay,
.overview-card::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.82));
}

.category-content,
.overview-card span {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 6px;
  color: #ffffff;
}

.category-content strong,
.overview-card strong {
  font-size: 24px;
}

.category-content em,
.overview-card em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.overview-card.small {
  min-height: 170px;
}

.overview-card.small img {
  min-height: 170px;
}

.genre-cloud {
  margin-top: 30px;
}

.genre-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.genre-cloud span {
  color: var(--color-blue);
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.ranking-panel,
.prose-card,
.info-card,
.search-panel,
.cta-card,
.player-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.ranking-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: #eff6ff;
}

.rank-row img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-no {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 50%;
  font-weight: 900;
}

.rank-row strong,
.rank-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
}

.cta-card h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

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

.sub-hero {
  padding: 76px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #1e3a8a, #0891b2 58%, #0f766e);
}

.sub-hero h1 {
  max-width: 900px;
  margin: 18px 0 12px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sub-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.toolbar,
.search-filters {
  display: grid;
  grid-template-columns: 1.5fr 220px 220px;
  gap: 14px;
  margin-bottom: 18px;
}

.toolbar label,
.search-filters label,
.big-search {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

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

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

.result-count {
  margin: 0 0 22px;
  color: var(--color-muted);
  font-weight: 800;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 86px 78px minmax(0, 1fr) 130px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.15);
}

.ranking-card img {
  width: 78px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-number {
  color: var(--color-blue);
  font-size: 20px;
  font-weight: 900;
}

.ranking-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ranking-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.ranking-info em,
.ranking-info small {
  overflow: hidden;
  color: var(--color-muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heat-score {
  justify-self: end;
  padding: 8px 12px;
  color: #be123c;
  background: #ffe4e6;
  border-radius: 999px;
  font-weight: 900;
}

.search-panel {
  padding: 24px;
}

.big-search {
  margin-bottom: 16px;
}

.big-search input {
  min-height: 58px;
  font-size: 18px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(6px);
  transform: scale(1.04);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.40));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  min-height: 560px;
  padding: 58px 0;
}

.detail-poster {
  border-radius: 28px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.42);
}

.detail-copy h1 {
  margin: 22px 0 14px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.detail-copy p {
  max-width: 780px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

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

.detail-meta span {
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 800;
}

.player-card {
  overflow: hidden;
  background: #111827;
  border-color: rgba(255, 255, 255, 0.12);
}

.player-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.player-title span,
.player-note {
  color: #94a3b8;
}

.video-wrap {
  position: relative;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.video-overlay {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  padding: 14px 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.video-overlay.is-hidden {
  display: none;
}

.player-note {
  margin: 0;
  padding: 14px 22px 18px;
  font-size: 14px;
}

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

.prose-card,
.info-card {
  padding: 28px;
}

.prose-card h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.prose-card p {
  margin: 0 0 24px;
  color: #475569;
  font-size: 16px;
}

.info-card dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  margin: 0 0 22px;
}

.info-card dt {
  color: #64748b;
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  min-width: 0;
}

.info-card dd a {
  display: inline-flex;
  margin: 0 6px 6px 0;
  color: var(--color-blue);
  font-weight: 800;
}

.detail-tags a {
  color: var(--color-blue);
  background: #eff6ff;
  border-color: #bfdbfe;
}

.site-footer {
  padding: 56px 0 24px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #0f172a 56%, #111827);
}

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

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

.site-footer p {
  max-width: 360px;
  color: #94a3b8;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #94a3b8;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  color: #64748b;
  font-size: 14px;
}

.is-hidden-by-filter {
  display: none !important;
}

@media (max-width: 1040px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .two-column-layout,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-inner {
    min-height: 740px;
  }

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

  .hero-poster {
    max-width: 320px;
    height: 360px;
    transform: none;
  }

  .hero-controls {
    bottom: -18px;
  }

  .toolbar,
  .search-filters {
    grid-template-columns: 1fr;
  }

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

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

  .ranking-card {
    grid-template-columns: 58px 62px minmax(0, 1fr);
  }

  .heat-score {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .cta-card,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .section {
    padding: 52px 0;
  }

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

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

  .movie-card-body strong {
    font-size: 15px;
  }

  .detail-copy h1,
  .sub-hero h1 {
    font-size: 38px;
  }

  .player-title {
    align-items: flex-start;
    flex-direction: column;
  }

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