:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.28);
  --slate: #0f172a;
  --slate-soft: #1e293b;
  --red: #ef4444;
  --red-deep: #dc2626;
  --orange: #f97316;
  --amber: #f59e0b;
  --blue: #0ea5e9;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 55%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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;
  color: #fff;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
}

.nav-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-text {
  font-size: clamp(20px, 3vw, 28px);
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.35);
}

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

.nav-link,
.nav-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-pill:hover,
.nav-link.active {
  color: #fff;
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}

.nav-pills {
  display: flex;
  gap: 6px;
}

.nav-pill {
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 12px;
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  color: #fff;
  background: radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.35), transparent 28%), linear-gradient(120deg, #020617, #7f1d1d 50%, #111827);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: clamp(640px, 80vh, 860px);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(1.05) contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.78) 46%, rgba(127, 29, 29, 0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: clamp(640px, 80vh, 860px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: 72px 0 118px;
}

.hero-eyebrow,
.page-hero span,
.section-head span,
.detail-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(252, 165, 165, 0.24);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero h1,
.hero h2 {
  margin: 18px 0 0;
  font-size: clamp(36px, 6.6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.08em;
  max-width: 920px;
  background: linear-gradient(90deg, #fecaca, #fb923c 52%, #fef3c7);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero h2 {
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.05em;
}

.hero p {
  margin: 22px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.3vw, 22px);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.detail-tags a {
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 14px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 620px;
  margin-top: 28px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.hero-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: none;
}

.hero-search input {
  color: #fff;
  background: transparent;
  padding: 10px 14px;
}

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

.hero-search button,
.primary-btn,
.ghost-btn,
.section-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search button,
.primary-btn,
.section-head a {
  color: #fff;
  background: linear-gradient(90deg, #ef4444, #f97316);
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.28);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.hero-search button:hover,
.section-head a:hover {
  transform: translateY(-2px);
}

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

.hero-poster {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
  transform: rotate(1.5deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  padding: 9px 14px;
  background: rgba(239, 68, 68, 0.88);
  border-radius: 999px;
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.hero-controls button {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.hero-controls > button {
  width: 36px;
  height: 36px;
  font-size: 26px;
  line-height: 1;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
}

.hero-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.hero-picks {
  position: relative;
  z-index: 6;
  width: min(1240px, calc(100% - 32px));
  margin: -84px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding-bottom: 28px;
}

.hero-pick {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 10px;
  color: #fff;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.22);
}

.hero-pick.is-active,
.hero-pick:hover {
  border-color: rgba(248, 113, 113, 0.85);
  background: rgba(127, 29, 29, 0.68);
}

.hero-pick img {
  width: 72px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-pick span {
  min-width: 0;
  font-weight: 800;
  line-height: 1.35;
}

.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.dark-strip,
.blue-strip {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1240px) / 2));
  padding-right: max(16px, calc((100% - 1240px) / 2));
}

.dark-strip {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #312e81 50%, #7f1d1d);
}

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

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

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

.dark-strip .section-head p,
.dark-strip .section-head h2 {
  color: #fff;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(239, 68, 68, 0.35);
}

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

.poster-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(135deg, #1e293b, #7f1d1d);
  aspect-ratio: 16 / 10;
}

.movie-card:not(.movie-card-compact) .poster-frame {
  aspect-ratio: 16 / 9;
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.05);
}

.quality-badge,
.region-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.quality-badge {
  left: 10px;
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.region-badge {
  right: 10px;
  background: rgba(2, 6, 23, 0.72);
}

.rank-badge {
  left: 10px;
  top: auto;
  bottom: 10px;
  min-width: 34px;
  text-align: center;
  background: rgba(245, 158, 11, 0.95);
}

.poster-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 38px;
  opacity: 0;
  background: rgba(2, 6, 23, 0.24);
  transition: opacity 0.25s ease;
}

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

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.card-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover h3 {
  color: var(--red-deep);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: #475569;
  font-size: 13px;
}

.card-meta span {
  padding: 3px 8px;
  background: #f1f5f9;
  border-radius: 999px;
}

.movie-card-compact .card-body h3 {
  font-size: 16px;
}

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

.category-card,
.overview-card {
  padding: 22px;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 38px rgba(2, 6, 23, 0.16);
  backdrop-filter: blur(16px);
}

.overview-card {
  color: var(--ink);
  background: #fff;
  border-color: rgba(226, 232, 240, 0.95);
}

.category-title,
.overview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 22px;
  font-weight: 900;
}

.category-card p,
.overview-card p {
  color: rgba(255, 255, 255, 0.78);
}

.overview-card p {
  color: var(--muted);
}

.category-samples,
.overview-samples {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-movie {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.overview-card .mini-movie {
  background: #f8fafc;
}

.mini-movie img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
}

.mini-movie span {
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.page-hero,
.detail-hero {
  color: #fff;
  background: radial-gradient(circle at 12% 22%, rgba(239, 68, 68, 0.36), transparent 30%), linear-gradient(120deg, #0f172a, #7f1d1d 56%, #111827);
}

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

.page-hero > div {
  padding: 76px 0;
}

.page-hero h1 {
  max-width: 920px;
  margin: 16px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

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

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

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

.filter-panel input,
.filter-panel select {
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 14px;
  padding: 12px 13px;
}

.empty-state {
  margin: 28px 0 0;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.podium-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.88));
}

.podium-card div {
  position: absolute;
  inset-inline: 22px;
  bottom: 22px;
  z-index: 2;
}

.podium-card span {
  color: #fed7aa;
  font-weight: 900;
}

.podium-card h2 {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1.15;
}

.podium-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  padding-bottom: 42px;
}

.player-card {
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

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

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #fff;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18), rgba(2, 6, 23, 0.72));
  border: 0;
  cursor: pointer;
}

.player-shell.is-ready .player-start,
.player-shell.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.player-start span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding-left: 4px;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(239, 68, 68, 0.32);
  font-size: 32px;
}

.player-start strong {
  font-size: 20px;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.detail-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

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

.detail-side-meta span,
.detail-meta span {
  padding: 6px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

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

.detail-article,
.related-panel {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.detail-article {
  padding: clamp(22px, 4vw, 36px);
}

.detail-article h1 {
  margin: 16px 0 10px;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.detail-article header > p {
  color: #475569;
  font-size: 18px;
}

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

.detail-meta span {
  color: #334155;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.detail-tags a {
  color: #991b1b;
  background: #fff1f2;
  border-color: #fecdd3;
}

.detail-article section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e2e8f0;
}

.detail-article h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-article p {
  color: #475569;
  font-size: 17px;
}

.related-panel {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 20px;
}

.related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.related-title span {
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, #ef4444, #f97316);
  border-radius: 999px;
}

.related-title h2 {
  margin: 0;
}

.related-grid {
  display: grid;
  gap: 14px;
}

.related-grid .movie-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
}

.related-grid .poster-frame {
  height: 100%;
  aspect-ratio: auto;
}

.related-grid .card-body {
  padding: 12px;
}

.related-grid .card-body p,
.related-grid .quality-badge,
.related-grid .region-badge {
  display: none;
}

.site-footer {
  margin-top: 54px;
  color: #cbd5e1;
  background: linear-gradient(180deg, #111827, #020617);
}

.footer-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

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

.footer-brand {
  color: #fff;
  font-size: 22px;
}

.site-footer p {
  color: #94a3b8;
}

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

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

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

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

.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
}

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

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

  .hero-picks,
  .ranking-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .related-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow-strong);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-poster {
    max-width: 280px;
    margin: 0 auto;
  }

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

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

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

@media (max-width: 600px) {
  .nav-wrap,
  .content-section,
  .footer-wrap,
  .page-hero > div,
  .detail-hero {
    width: min(100% - 24px, 1240px);
  }

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

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-picks,
  .movie-grid,
  .category-grid,
  .overview-grid,
  .podium-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-strip {
    grid-template-columns: 1fr;
  }

  .related-grid .movie-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}
