:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-solid: #111827;
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --brand: #facc15;
  --brand-2: #f59e0b;
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.24);
  --radius: 22px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(250, 204, 21, 0.16), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(37, 99, 235, 0.26), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0b1738 45%, #020617 100%);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

.icon,
.nav-icon,
.meta-icon,
.button-icon,
.search-icon,
.play-overlay-icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-solid {
  fill: currentColor;
  stroke: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.9), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(100%, var(--max));
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111827;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.12);
}

.brand-text {
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #fef08a, #facc15, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  color: #dbeafe;
  border-radius: 12px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(37, 99, 235, 0.82);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-divider {
  width: 1px;
  height: 22px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.16);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

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

.hero-carousel {
  position: relative;
  height: min(72vh, 640px);
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #020617, #1e3a8a 55%, #111827);
}

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

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

.hero-media,
.hero-media img,
.detail-backdrop,
.detail-backdrop img {
  width: 100%;
  height: 100%;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(250, 204, 21, 0.22), transparent 24rem),
    linear-gradient(135deg, #0f172a, #1d4ed8 58%, #020617);
}

.hero-image,
.detail-backdrop-image {
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.52), rgba(2, 6, 23, 0.14)),
    linear-gradient(0deg, rgba(2, 6, 23, 1), transparent 52%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  right: 24px;
  bottom: 74px;
  max-width: 820px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111827;
  font-weight: 800;
  font-size: 0.86rem;
}

.hero-content h1,
.page-hero h1,
.detail-hero-content h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}

.hero-content p,
.page-hero p,
.detail-hero-content p {
  max-width: 780px;
  margin: 18px 0 0;
  color: #e2e8f0;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.hero-meta,
.chips,
.tag-row,
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.hero-meta {
  margin: 20px 0 24px;
}

.hero-meta span,
.chips span,
.tag-row span,
.chip-cloud span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.62);
  color: #dbeafe;
  padding: 5px 11px;
  font-size: 0.84rem;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111827;
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.28);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.62);
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.9);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow-left {
  left: 22px;
}

.hero-arrow-right {
  right: 22px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--brand);
}

.main-container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 56px 22px 72px;
}

.intro-strip,
.content-section,
.rank-panel,
.category-panel,
.filter-panel,
.info-card,
.detail-article,
.player-section {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 46px;
  padding: 32px;
  border-radius: var(--radius);
}

.intro-strip h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.3vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
}

.intro-strip p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
}

.content-section {
  margin: 36px 0;
  padding: 28px;
  border-radius: var(--radius);
}

.feature-band {
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.24), transparent 28rem),
    rgba(15, 23, 42, 0.68);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 900;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--muted-2);
}

.section-heading a {
  color: var(--brand);
  font-weight: 760;
}

.compact-heading {
  margin-bottom: 16px;
}

.movie-grid,
.wide-card-grid,
.category-grid,
.category-overview-grid {
  display: grid;
  gap: 20px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.movie-card:hover {
  border-color: rgba(250, 204, 21, 0.38);
  background: rgba(30, 41, 59, 0.78);
  box-shadow: 0 24px 54px rgba(250, 204, 21, 0.14);
  transform: translateY(-8px);
}

.movie-card a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(250, 204, 21, 0.24)),
    #111827;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, opacity 220ms ease;
}

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

.duration-badge,
.play-badge {
  position: absolute;
  z-index: 2;
}

.duration-badge {
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 0.74rem;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.92);
  color: #111827;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

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

.movie-card-body h3 {
  margin: 0 0 8px;
  overflow: hidden;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #93c5fd;
  font-size: 0.78rem;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-row {
  margin-top: 11px;
}

.tag-row span {
  padding: 3px 8px;
  font-size: 0.72rem;
}

.movie-card-compact a {
  flex-direction: row;
}

.movie-card-compact .poster-frame {
  width: 42%;
  min-width: 150px;
  aspect-ratio: auto;
}

.movie-card-compact .movie-card-body h3 {
  -webkit-line-clamp: 2;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  margin: 40px 0;
}

.rank-panel,
.category-panel {
  padding: 26px;
  border-radius: var(--radius);
}

.rank-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-item a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  transition: background 180ms ease, transform 180ms ease;
}

.rank-item a:hover {
  background: rgba(250, 204, 21, 0.12);
  transform: translateX(4px);
}

.rank-num {
  display: inline-flex;
  justify-content: center;
  color: var(--brand);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 760;
}

.rank-meta {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.category-card,
.category-overview-card a {
  display: block;
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.category-card:hover,
.category-overview-card a:hover {
  border-color: rgba(250, 204, 21, 0.38);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.category-card span,
.category-overview-card h2 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 880;
}

.category-card strong,
.category-overview-card strong {
  display: block;
  margin: 6px 0;
  color: var(--brand);
}

.category-card p,
.category-card small,
.category-overview-card p {
  color: var(--muted-2);
}

.page-main,
.detail-main {
  min-height: 60vh;
}

.page-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 74px 22px 32px;
}

.small-hero,
.category-hero {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: #bfdbfe;
}

.breadcrumb.light {
  color: #e0f2fe;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 18px;
}

.filter-panel label {
  display: grid;
  flex: 1;
  gap: 8px;
}

.filter-panel label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 780;
}

.filter-panel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  outline: none;
  background: rgba(2, 6, 23, 0.5);
  color: #ffffff;
  padding: 0 16px;
}

.filter-panel input:focus {
  border-color: rgba(250, 204, 21, 0.58);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12);
}

.filter-panel strong {
  color: var(--brand);
  white-space: nowrap;
}

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

.category-poster-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 16px;
}

.category-poster-stack span {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.48), rgba(250, 204, 21, 0.26));
}

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

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

.ranking-row a {
  display: grid;
  grid-template-columns: 68px 118px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.6);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.ranking-row a:hover {
  border-color: rgba(250, 204, 21, 0.38);
  background: rgba(30, 41, 59, 0.78);
  transform: translateX(4px);
}

.ranking-number {
  color: var(--brand);
  font-weight: 950;
  font-size: 1.15rem;
  text-align: center;
}

.ranking-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(250, 204, 21, 0.24));
}

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

.ranking-info strong,
.ranking-info small {
  display: block;
}

.ranking-info small {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted-2);
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.ranking-tags {
  color: var(--muted-2);
  font-size: 0.88rem;
  white-space: nowrap;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(135deg, #020617, #1e3a8a, #020617);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(250, 204, 21, 0.2), transparent 26rem),
    linear-gradient(135deg, #020617, #1d4ed8);
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.22)),
    linear-gradient(0deg, #020617, transparent 62%);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 92px 22px 86px;
}

.detail-container {
  margin-top: -80px;
  position: relative;
  z-index: 5;
}

.player-section {
  padding: 18px;
  border-radius: var(--radius);
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000000;
}

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

.play-overlay-button {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(250, 204, 21, 0.22), transparent 16rem),
    rgba(0, 0, 0, 0.46);
  color: #ffffff;
  font-size: 1.08rem;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.play-overlay-button span {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111827;
  box-shadow: 0 20px 50px rgba(250, 204, 21, 0.26);
}

.play-overlay-icon {
  width: 36px;
  height: 36px;
  fill: currentColor;
  stroke: none;
}

.player-shell.is-playing .play-overlay-button {
  opacity: 0;
  visibility: hidden;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 5;
  margin: 0;
  color: #e2e8f0;
  font-size: 0.86rem;
  text-align: center;
  pointer-events: none;
}

.player-shell.is-playing .player-message {
  display: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  margin-top: 30px;
}

.detail-article,
.info-card {
  padding: 28px;
  border-radius: var(--radius);
}

.detail-article h2,
.info-card h2,
.info-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-weight: 900;
}

.detail-article h2:not(:first-child),
.info-card h3 {
  margin-top: 28px;
}

.detail-article p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.info-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-card dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

.info-card dd {
  margin: 0;
  color: #ffffff;
}

.info-card a {
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), #020617);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 44px 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 36px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-links a,
.copyright {
  color: var(--muted-2);
}

.footer-count {
  color: #dbeafe !important;
}

.footer-links h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-links a:hover {
  color: var(--brand);
}

.copyright {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px 22px 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  text-align: center;
  font-size: 0.88rem;
}

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

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

  .split-section,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .nav-inner {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

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

  .nav-divider {
    display: none;
  }

  .hero-carousel {
    min-height: 560px;
  }

  .hero-content {
    left: 22px;
    bottom: 70px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-strip,
  .section-heading,
  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-grid,
  .search-grid,
  .wide-card-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-compact a {
    flex-direction: column;
  }

  .movie-card-compact .poster-frame {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
  }

  .ranking-row a {
    grid-template-columns: 46px 96px 1fr;
  }

  .ranking-tags {
    grid-column: 2 / -1;
  }

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

@media (max-width: 520px) {
  .main-container,
  .page-hero,
  .detail-hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-section,
  .intro-strip,
  .rank-panel,
  .category-panel,
  .detail-article,
  .info-card {
    padding: 18px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-hero-content h1 {
    font-size: 2.1rem;
  }

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

  .ranking-cover {
    width: 100%;
  }
}
