:root {
  --bg: #f8fbff;
  --bg-soft: #eef6ff;
  --card: #ffffff;
  --text: #182235;
  --muted: #64748b;
  --line: #dbeafe;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --accent: #f97316;
  --pink: #d946ef;
  --green: #16a34a;
  --shadow: 0 24px 70px rgba(30, 64, 175, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, #f8fbff 0%, #edf7ff 52%, #f7fbff 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 8%, rgba(59, 130, 246, 0.18), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(6, 182, 212, 0.2), transparent 30%),
    radial-gradient(circle at 55% 55%, rgba(217, 70, 239, 0.08), transparent 30%);
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(191, 219, 254, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.footer-brand span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: #334155;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  border-radius: 14px;
  background: #eff6ff;
}

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

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid #dbeafe;
}

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

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.76), rgba(37, 99, 235, 0.42)),
    radial-gradient(circle at 75% 35%, rgba(6, 182, 212, 0.35), transparent 35%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 54px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 100px 36px 90px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-image {
  order: 2;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(1deg);
}

.hero-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image:hover img {
  transform: scale(1.06);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-title-block h1 {
  margin: 0;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1,
.hero h2 {
  font-size: clamp(3rem, 6vw, 6.9rem);
}

.hero-copy h2 + p,
.hero-copy h1 + h2 + p {
  max-width: 740px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.85;
}

.hero-copy h1 + h2 {
  margin-top: 18px;
  color: #a5f3fc;
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.btn.soft {
  color: #1d4ed8;
  background: #ffffff;
}

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

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

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 42px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

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

.section {
  max-width: 1800px;
  margin: 0 auto;
  padding: 74px 24px;
}

.soft-section,
.search-panel {
  max-width: none;
  background: rgba(255, 255, 255, 0.56);
}

.soft-section > *,
.search-panel > * {
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading.centered {
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.section-heading span,
.page-hero span {
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading a,
.text-link {
  color: var(--brand);
  font-weight: 800;
}

.search-box {
  position: relative;
  max-width: 980px;
  margin-bottom: 22px;
}

.search-box input {
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
  color: #0f172a;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.16), var(--shadow);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 800;
  transition: 0.25s ease;
}

.category-pill:hover,
.category-pill.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

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

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, 0.72);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(30, 64, 175, 0.09);
  transition: 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(30, 64, 175, 0.18);
}

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

.poster-wrap img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.76), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.movie-year,
.rank-no {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(37, 99, 235, 0.92);
}

.movie-year {
  right: 12px;
}

.rank-no {
  left: 12px;
  background: rgba(249, 115, 22, 0.95);
}

.movie-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.movie-info strong {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-info em {
  display: -webkit-box;
  min-height: 3.9em;
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag-line span,
.detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: #1d4ed8;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 0.74rem;
  font-weight: 800;
}

.movie-card.compact .movie-info {
  padding: 13px;
}

.movie-card.compact .movie-info em {
  -webkit-line-clamp: 2;
}

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

.category-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.category-card img {
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 0.5s ease;
}

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

.category-card span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.96), transparent);
}

.category-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
}

.category-card em {
  display: block;
  margin-top: 8px;
  color: #dbeafe;
  font-style: normal;
  line-height: 1.6;
}

.wide-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
}

.wide-row .movie-card {
  scroll-snap-align: start;
}

.ranking-split {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  gap: 28px;
}

.rank-panel {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a 55%, #0891b2);
  box-shadow: var(--shadow);
}

.section-heading.inverted {
  color: #ffffff;
}

.section-heading.inverted span,
.section-heading.inverted a {
  color: #a5f3fc;
}

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

.index-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.22s ease;
}

.index-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.index-link span {
  font-weight: 850;
}

.index-link em {
  flex: 0 0 auto;
  color: #bfdbfe;
  font-style: normal;
  font-size: 0.85rem;
}

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

.page-hero {
  max-width: 1800px;
  margin: 34px auto 0;
  padding: 72px 36px;
  color: #ffffff;
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(120deg, rgba(2, 6, 23, 0.92), rgba(30, 64, 175, 0.82), rgba(8, 145, 178, 0.76)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 30%);
  box-shadow: var(--shadow);
}

.page-hero.slim {
  text-align: center;
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.page-hero p {
  max-width: 820px;
  margin: 18px auto 0;
  color: #dbeafe;
  font-size: 1.1rem;
  line-height: 1.8;
}

.category-hero p,
.ranking-hero p {
  margin-left: 0;
}

.category-overview-list {
  display: grid;
  gap: 30px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  padding: 24px;
  border: 1px solid rgba(191, 219, 254, 0.8);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.category-cover {
  overflow: hidden;
  border-radius: 24px;
}

.category-cover img {
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.category-overview-body h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.category-overview-body p {
  margin: 10px 0 20px;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.ranking-item {
  display: grid;
  grid-template-columns: 70px 92px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  border: 1px solid rgba(191, 219, 254, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.08);
  transition: 0.25s ease;
}

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

.ranking-num {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #ef4444);
  font-weight: 900;
}

.ranking-item img {
  width: 92px;
  height: 122px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-copy {
  min-width: 0;
}

.ranking-copy strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
}

.ranking-copy em,
.ranking-copy small {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

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

.ranking-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  font-weight: 800;
}

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

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--poster);
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(1.3);
  opacity: 0.35;
  transform: scale(1.08);
}

.detail-hero-layer {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  padding: 56px 24px 70px;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.55));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  color: #bfdbfe;
  font-weight: 800;
}

.detail-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: end;
  gap: 32px;
}

.detail-cover {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.42);
}

.detail-title-block h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5.5vw, 5.8rem);
}

.detail-title-block p {
  max-width: 860px;
  margin-top: 20px;
  color: #e0f2fe;
  font-size: 1.15rem;
  line-height: 1.8;
}

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

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

.detail-main {
  min-width: 0;
}

.player-card,
.detail-content,
.detail-side {
  border: 1px solid rgba(191, 219, 254, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.player-card {
  overflow: hidden;
  padding: 14px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #020617;
}

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

.player-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  color: #ffffff;
  border: 0;
  background: rgba(2, 6, 23, 0.34);
}

.player-layer img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.player-icon,
.player-layer strong {
  position: relative;
  z-index: 1;
}

.player-icon {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.08);
}

.player-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid #ffffff;
  transform: translate(-50%, -50%);
}

.player-layer strong {
  font-size: 1.2rem;
}

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

.detail-content {
  margin-top: 24px;
  padding: 30px;
}

.detail-section + .detail-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #dbeafe;
}

.detail-section h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 1.55rem;
  font-weight: 900;
}

.detail-section p {
  color: #334155;
  line-height: 1.95;
}

.detail-section .lead {
  color: #1d4ed8;
  font-weight: 800;
}

.meta-section dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.meta-section div {
  padding: 16px;
  border-radius: 18px;
  background: #eff6ff;
}

.meta-section dt {
  color: var(--muted);
  font-weight: 800;
}

.meta-section dd {
  margin: 6px 0 0;
  font-weight: 900;
}

.detail-side {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.movie-index-list {
  columns: 4 260px;
  column-gap: 20px;
}

.movie-index-list a {
  display: inline-flex;
  width: 100%;
  flex-direction: column;
  gap: 5px;
  break-inside: avoid;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.06);
}

.movie-index-list span {
  font-weight: 900;
}

.movie-index-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.86rem;
}

.site-footer {
  margin-top: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 56px 24px 36px;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
}

.site-footer p {
  max-width: 540px;
  color: #bfdbfe;
  line-height: 1.85;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: #dbeafe;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  color: #bfdbfe;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

@media (max-width: 1280px) {
  .movie-grid,
  .small-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .detail-side {
    position: static;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 88px 22px 90px;
  }

  .hero-image {
    order: 0;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions,
  .chip-row {
    justify-content: center;
  }

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

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

  .category-overview-card,
  .detail-head,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-item {
    grid-template-columns: 48px 76px 1fr;
  }

  .ranking-play {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1.18rem;
  }

  .brand-text em {
    display: none;
  }

  .section,
  .page-hero,
  .detail-hero-layer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.45rem;
  }

  .hero-copy h1 + h2 {
    font-size: 1.35rem;
  }

  .movie-grid,
  .small-grid,
  .mini-grid,
  .category-grid,
  .rank-posters,
  .meta-section dl {
    grid-template-columns: 1fr;
  }

  .movie-card {
    border-radius: 20px;
  }

  .ranking-item {
    grid-template-columns: 44px 1fr;
  }

  .ranking-item img {
    display: none;
  }
}
