:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --purple: #7c3aed;
  --pink: #ec4899;
  --orange: #f97316;
  --red: #ef4444;
  --green: #10b981;
  --slate: #0f172a;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

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

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

.brand {
  color: #ffffff;
  text-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.site-header.is-scrolled .brand,
.site-header.is-open .brand {
  color: var(--text);
  text-shadow: none;
}

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

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

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

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  transition: color 0.2s ease;
}

.site-header.is-scrolled .nav-link,
.site-header.is-open .nav-link {
  color: #374151;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform 0.2s ease;
}

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
}

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

.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  background: #f3f4f6;
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-open .nav-toggle span {
  background: #111827;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.mobile-nav.is-open {
  display: grid;
  gap: 6px;
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--teal));
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  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;
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.88), rgba(6, 182, 212, 0.76), rgba(20, 184, 166, 0.84)),
    rgba(0, 0, 0, 0.34);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
  color: #ffffff;
}

.hero-copy {
  animation: fade-in 0.7s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero .eyebrow,
.page-hero .eyebrow,
.detail-copy .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

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

.hero-tags,
.tag-row,
.detail-meta,
.movie-meta,
.tag-cloud,
.pill-row,
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-row span,
.detail-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span,
.detail-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button,
.outline-button,
.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.detail-copy .primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.ghost-button {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.outline-button,
.rank-action {
  color: var(--blue);
  border: 1px solid #bfdbfe;
  background: #ffffff;
}

.primary-button:hover,
.ghost-button:hover,
.outline-button:hover,
.rank-action:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-soft);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border: 10px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
  transform: rotate(1deg);
}

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

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 38px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

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

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

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 3;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-hint::after {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(-50%);
  animation: scroll-hint 1.8s ease infinite;
}

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

.section-soft {
  width: 100%;
  padding-right: max(16px, calc((100% - 1180px) / 2));
  padding-left: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

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

.section-heading h2,
.split-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p,
.split-heading p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

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

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

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

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(15, 23, 42, 0.46);
  transition: opacity 0.2s ease;
}

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-card:hover .poster-play {
  transform: translate(-50%, -50%) scale(1);
}

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

.movie-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-title a:hover,
.rank-copy a:hover,
.breadcrumb a:hover {
  color: var(--blue);
}

.movie-meta {
  margin-bottom: 12px;
}

.movie-meta span,
.tag-row span {
  color: #2563eb;
  background: #eff6ff;
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row span {
  min-height: 26px;
  font-size: 12px;
}

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

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  color: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile::before {
  position: absolute;
  inset: auto -40px -70px auto;
  z-index: -1;
  width: 150px;
  height: 150px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(2px);
}

.category-tile strong,
.category-tile em,
.category-tile small {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile strong {
  margin-top: 18px;
  font-size: 23px;
}

.category-tile em {
  margin-top: 6px;
  font-style: normal;
  opacity: 0.92;
}

.category-tile small {
  margin-top: 14px;
  line-height: 1.55;
  opacity: 0.86;
}

.category-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
}

.category-tile img {
  position: absolute;
  right: -18px;
  bottom: -22px;
  z-index: -2;
  width: 130px;
  height: 180px;
  object-fit: cover;
  opacity: 0.3;
  transform: rotate(10deg);
}

.gradient-blue-cyan,
.page-hero.gradient-blue-cyan {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.gradient-cyan-teal,
.page-hero.gradient-cyan-teal {
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
}

.gradient-purple-pink,
.page-hero.gradient-purple-pink {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.gradient-orange-red,
.page-hero.gradient-orange-red {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.gradient-pink-rose,
.page-hero.gradient-pink-rose {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.gradient-indigo-blue,
.page-hero.gradient-indigo-blue {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.gradient-green-teal,
.page-hero.gradient-green-teal {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.gradient-amber-orange,
.page-hero.gradient-amber-orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.gradient-teal-blue,
.page-hero.gradient-teal-blue {
  background: linear-gradient(135deg, #14b8a6, #2563eb);
}

.gradient-slate-blue,
.page-hero.gradient-slate-blue {
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 86px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.rank-thumb {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #dbeafe;
}

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

.rank-copy h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.rank-copy p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px max(16px, calc((100% - 1180px) / 2));
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--teal));
}

.page-hero::after {
  position: absolute;
  top: -80px;
  right: 12%;
  width: 260px;
  height: 260px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(6px);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.06;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.filter-panel {
  padding-top: 44px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 220px 180px;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-bar:not(.large-filter) {
  grid-template-columns: minmax(260px, 1fr) 180px;
}

.filter-bar label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: #111827;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #f8fafc;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.pill-row {
  margin-bottom: 26px;
}

.pill-link,
.feature-strip a,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: #2563eb;
  border-radius: 999px;
  background: #eff6ff;
  font-weight: 800;
}

.pill-link.is-active,
.pill-link:hover,
.feature-strip a:hover,
.tag-cloud a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.feature-strip {
  justify-content: center;
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.24;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) saturate(1.2);
  transform: scale(1.08);
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.78), rgba(6, 182, 212, 0.52), rgba(15, 23, 42, 0.94));
}

.detail-layout {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.32);
}

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

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 20px;
}

.detail-meta {
  margin-bottom: 18px;
}

.tag-cloud {
  margin-bottom: 26px;
}

.tag-cloud a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #030712;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.42), rgba(37, 99, 235, 0.2));
  cursor: pointer;
}

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

.play-circle {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  padding-left: 5px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  font-size: 32px;
}

.player-overlay strong {
  font-size: clamp(24px, 4vw, 38px);
}

.player-overlay em {
  font-style: normal;
  opacity: 0.86;
}

.prose-section {
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
}

.content-card,
.side-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.content-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

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

.content-card p:last-child {
  margin-bottom: 0;
}

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

.side-card dt {
  color: var(--muted);
  font-weight: 800;
}

.side-card dd {
  margin: 0;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, #111827, #030712);
}

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

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

.footer-grid p {
  margin: 14px 0 0;
  color: #9ca3af;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #9ca3af;
}

.footer-grid a:hover {
  color: #60a5fa;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.is-hidden,
[data-card].is-hidden {
  display: none !important;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-hint {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 12px);
  }
}

@media (max-width: 1180px) {
  .grid-5,
  .grid-6,
  .category-grid,
  .category-grid.wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .nav-toggle {
    display: block;
  }

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

  .hero-poster {
    display: none;
  }

  .compact-rank {
    grid-template-columns: 1fr;
  }

  .filter-bar,
  .filter-bar:not(.large-filter) {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4,
  .grid-5,
  .grid-6,
  .category-grid,
  .category-grid.wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .hero-content {
    min-height: 100vh;
    padding-top: 82px;
  }

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

  .hero-actions,
  .split-heading {
    display: grid;
  }

  .section,
  .section-soft {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .grid-4,
  .grid-5,
  .grid-6,
  .category-grid,
  .category-grid.wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .movie-title {
    font-size: 16px;
  }

  .category-tile {
    min-height: 190px;
    padding: 18px;
  }

  .rank-row {
    grid-template-columns: 42px 70px minmax(0, 1fr);
  }

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

  .filter-bar,
  .filter-bar:not(.large-filter) {
    grid-template-columns: 1fr;
  }

  .page-main {
    padding-top: 66px;
  }

  .page-hero {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .detail-layout {
    padding-top: 44px;
  }

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

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

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