:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #253449;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --blue: #3b82f6;
  --blue-deep: #1d4ed8;
  --cyan: #22d3ee;
  --yellow: #facc15;
  --red: #fb7185;
  --green: #34d399;
  --purple: #a78bfa;
  --line: rgba(148, 163, 184, 0.22);
  --shadow: 0 25px 60px rgba(15, 23, 42, 0.42);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 30rem), linear-gradient(180deg, #020617 0%, #0f172a 50%, #020617 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.45);
  color: #ffffff;
  font-size: 16px;
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-strong);
  white-space: nowrap;
}

.nav-link {
  position: relative;
  padding: 24px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #bfdbfe;
}

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

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

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form input,
.filter-search input,
.filter-select {
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text);
  background: rgba(15, 23, 42, 0.86);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-form input:focus,
.filter-search input:focus,
.filter-select:focus {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
  background: rgba(15, 23, 42, 0.98);
}

.search-form input {
  width: 240px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
}

.search-form button,
.primary-button,
.section-link,
.filter-reset {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.search-form button:hover,
.primary-button:hover,
.section-link:hover,
.filter-reset:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.36);
}

.search-form button {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 16px;
  background: rgba(15, 23, 42, 0.98);
}

.mobile-nav nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted-strong);
  background: rgba(30, 41, 59, 0.66);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.42);
}

.mobile-search input {
  flex: 1;
  width: auto;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.72) 46%, rgba(15, 23, 42, 0.1) 100%), radial-gradient(circle at 20% 55%, rgba(37, 99, 235, 0.28), transparent 34rem);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: #67e8f9;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--muted-strong);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.hero-tags,
.card-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.card-meta span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.36);
  color: #dbeafe;
}

.hero-tags span {
  padding: 9px 16px;
  font-weight: 800;
}

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

.primary-button,
.ghost-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.ghost-button {
  border: 1px solid rgba(226, 232, 240, 0.32);
  color: #ffffff;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  transform: translateY(-1px);
  background: rgba(30, 41, 59, 0.78);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(226, 232, 240, 0.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.page-stack {
  padding: 72px 0;
}

.content-section + .content-section,
.year-row + .year-row {
  margin-top: 74px;
}

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

.section-head h2,
.split-side h2,
.detail-card h2,
.related-side h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

.section-head p,
.split-side p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-color: rgba(96, 165, 250, 0.55) rgba(15, 23, 42, 0.8);
}

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

.poster-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.poster-link:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.42);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.18);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

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

.poster-link:hover img {
  transform: scale(1.09);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 55%);
}

.play-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(59, 130, 246, 0.88);
  box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.2);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.poster-link:hover .play-pill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rating-pill,
.duration-pill,
.rank-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.rating-pill {
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  color: #111827;
  background: var(--yellow);
  font-size: 13px;
}

.duration-pill {
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.32);
}

.card-body {
  display: block;
  padding: 16px;
}

.card-body strong {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.poster-link:hover .card-body strong {
  color: #60a5fa;
}

.card-body em {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta span {
  padding: 5px 9px;
  font-size: 12px;
}

.movie-card-small .card-body strong {
  min-height: 42px;
  font-size: 15px;
}

.movie-card-large .poster-link {
  display: grid;
  grid-template-columns: 47% 1fr;
}

.movie-card-large .poster-frame {
  height: 100%;
  aspect-ratio: auto;
  min-height: 260px;
}

.movie-card-large .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.movie-card-large .card-body strong {
  font-size: 24px;
  min-height: auto;
}

.year-row h3 {
  margin: 0 0 22px;
  color: #c4b5fd;
  font-size: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 32px;
}

.split-main,
.split-side,
.detail-card,
.related-side,
.movie-info-card,
.filter-panel,
.page-hero,
.category-card,
.compact-list {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.78);
  box-shadow: var(--shadow);
}

.split-main,
.split-side,
.detail-card,
.related-side,
.movie-info-card,
.filter-panel,
.page-hero {
  padding: 26px;
}

.compact-list {
  overflow: hidden;
}

.compact-item {
  display: grid;
  grid-template-columns: 52px 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.2s ease;
}

.compact-item:last-child {
  border-bottom: 0;
}

.compact-item:hover {
  background: rgba(37, 99, 235, 0.17);
}

.compact-number {
  color: rgba(148, 163, 184, 0.55);
  font-size: 30px;
  font-weight: 900;
  text-align: center;
}

.compact-item img {
  width: 112px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  background: #0f172a;
}

.compact-info {
  min-width: 0;
}

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

.compact-info strong {
  color: #ffffff;
}

.compact-info em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.compact-score {
  color: var(--yellow);
  font-weight: 900;
  white-space: nowrap;
}

.inner-page {
  padding: 34px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: #93c5fd;
}

.breadcrumb a::after {
  content: "/";
  margin-left: 10px;
  color: rgba(148, 163, 184, 0.6);
}

.small-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 24rem), linear-gradient(135deg, rgba(30, 64, 175, 0.42), rgba(15, 23, 42, 0.88));
}

.small-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.small-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.8;
}

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

.category-card {
  display: block;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 22px 54px rgba(37, 99, 235, 0.18);
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  min-height: 180px;
  background: #0f172a;
}

.category-mosaic img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.category-card-body {
  display: block;
  padding: 20px;
}

.category-card-body strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.category-card-body em {
  display: block;
  min-height: 72px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.category-card-body span {
  display: inline-flex;
  margin-top: 16px;
  color: #67e8f9;
  font-weight: 800;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.shortcut-grid a {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  text-align: center;
  background: rgba(15, 23, 42, 0.62);
  transition: background 0.2s ease, transform 0.2s ease;
}

.shortcut-grid a:hover {
  transform: translateY(-2px);
  background: rgba(37, 99, 235, 0.28);
}

.filter-panel {
  margin-bottom: 34px;
}

.filter-search {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted-strong);
  font-weight: 800;
}

.filter-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-select {
  min-height: 46px;
  min-width: 160px;
  padding: 0 14px;
  border-radius: 14px;
}

.filter-reset {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
}

.empty-state {
  margin: 28px 0 0;
  padding: 28px;
  border-radius: 18px;
  color: var(--muted-strong);
  text-align: center;
  background: rgba(15, 23, 42, 0.62);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(330px, 0.88fr);
  gap: 28px;
  margin-bottom: 32px;
}

.player-column {
  min-width: 0;
}

.player {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: #000000;
  box-shadow: var(--shadow);
}

.video-element {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.32));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.overlay-play {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 16px rgba(59, 130, 246, 0.18);
  font-size: 34px;
}

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

.movie-info-card h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.score-row span {
  color: var(--yellow);
  font-size: 30px;
  font-weight: 900;
}

.score-row em {
  color: var(--muted);
  font-style: normal;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.info-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
  color: var(--muted-strong);
}

.tag-list span {
  padding: 7px 11px;
  font-size: 13px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(330px, 0.88fr);
  gap: 28px;
  margin-bottom: 70px;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.detail-card h2,
.related-side h2 {
  font-size: 26px;
}

.detail-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.95;
  font-size: 16px;
}

.intro-card p {
  color: #dbeafe;
  font-size: 19px;
  font-style: italic;
}

.related-side {
  align-self: start;
  position: sticky;
  top: 96px;
}

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

.related-list .compact-item {
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.related-list .compact-number,
.related-list .compact-score {
  display: none;
}

.related-list .compact-item img {
  width: 86px;
  height: 58px;
}

.ranking-list .compact-item {
  grid-template-columns: 64px 132px minmax(0, 1fr) auto;
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.96), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 46px 0;
}

.footer-logo {
  margin-bottom: 16px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

.site-footer a:not(.site-logo) {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-footer a:not(.site-logo):hover {
  color: #93c5fd;
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1180px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .detail-layout,
  .detail-content-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .related-side {
    position: static;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .hero-slider {
    height: 74vh;
    min-height: 520px;
  }

  .hero-content {
    bottom: 82px;
  }

  .hero-arrow {
    display: none;
  }

  .grid-six,
  .grid-four,
  .feature-grid,
  .category-grid,
  .shortcut-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movie-card-large .poster-link {
    grid-template-columns: 1fr;
  }

  .movie-card-large .poster-frame {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

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

  .compact-item,
  .ranking-list .compact-item {
    grid-template-columns: 46px 92px minmax(0, 1fr);
  }

  .compact-score {
    display: none;
  }

  .compact-item img {
    width: 92px;
    height: 58px;
  }
}

@media (max-width: 560px) {
  .logo-text {
    font-size: 20px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-tags span {
    padding: 7px 11px;
    font-size: 13px;
  }

  .page-stack,
  .inner-page {
    padding-bottom: 48px;
  }

  .grid-six,
  .grid-four,
  .feature-grid,
  .category-grid,
  .shortcut-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-main,
  .split-side,
  .detail-card,
  .related-side,
  .movie-info-card,
  .filter-panel,
  .page-hero {
    padding: 20px;
  }

  .filter-row {
    display: grid;
  }

  .filter-select,
  .filter-reset {
    width: 100%;
  }

  .category-mosaic {
    min-height: 220px;
  }

  .category-mosaic img {
    height: 110px;
  }
}
