:root {
  --color-orange: #f97316;
  --color-red: #ef4444;
  --color-pink: #ec4899;
  --color-yellow: #facc15;
  --color-green: #10b981;
  --color-blue: #3b82f6;
  --color-purple: #8b5cf6;
  --color-cyan: #06b6d4;
  --text-main: #111827;
  --text-muted: #6b7280;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-soft: rgba(148, 163, 184, 0.24);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-orange), var(--color-red), var(--color-pink));
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.28);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-orange);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(12deg) scale(1.05);
}

.brand-text {
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  opacity: 0.95;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-yellow);
  transform: translateY(-1px);
}

.nav-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input {
  width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  outline: none;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.nav-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.nav-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--color-red);
  background: #ffffff;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
}

.mobile-menu {
  display: none;
  padding: 14px 16px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.mobile-menu.is-open {
  display: grid;
  gap: 12px;
}

.mobile-menu a {
  padding: 8px 4px;
  font-weight: 650;
}

.hero-carousel {
  position: relative;
  height: 520px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.hero-slides,
.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.14));
}

.hero-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 150px solid rgba(249, 115, 22, 0.84);
  border-left: 150px solid transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1180px;
}

.hero-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 7px 14px;
  color: #ffffff;
  background: var(--color-orange);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-tags span,
.detail-tags span {
  border-radius: 999px;
  padding: 6px 11px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.86rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
}

.hero-meta span {
  position: relative;
}

.hero-meta span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-button,
.panel-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-orange), var(--color-red));
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover,
.panel-more:hover,
.text-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 48px rgba(249, 115, 22, 0.42);
}

.hero-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  font-size: 2rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.stat-section {
  padding: 34px 0;
  background: linear-gradient(135deg, #fff7ed, #ffffff, #fff1f2);
}

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

.stat-card,
.category-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card strong,
.category-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.stat-card span,
.category-tile em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.stat-card:hover,
.category-tile:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-card);
}

.stat-orange,
.accent-orange {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
}

.stat-blue,
.accent-blue {
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

.stat-green,
.accent-green {
  background: linear-gradient(135deg, var(--color-green), #22c55e);
}

.stat-purple,
.accent-purple {
  background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
}

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

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

.accent-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.accent-yellow {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.content-section {
  padding: 58px 0;
  background: #ffffff;
}

.section-light {
  background: linear-gradient(135deg, #fff7ed, #ffffff, #fdf2f8);
}

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

.section-heading .eyebrow {
  margin-bottom: 10px;
  color: var(--color-orange);
  background: #ffedd5;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.15;
}

.section-heading p {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--text-muted);
}

.section-more {
  flex: none;
  color: var(--color-orange);
  font-weight: 800;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

.movie-grid-featured .poster-link {
  aspect-ratio: 16 / 9;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.78));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.type-badge,
.score-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.type-badge {
  left: 12px;
  background: var(--color-orange);
}

.score-badge {
  right: 12px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 12px;
  top: 46px;
  background: var(--color-red);
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-orange);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.movie-card h3 a {
  transition: color 0.2s ease;
}

.movie-card:hover h3 a {
  color: var(--color-orange);
}

.movie-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 3.2em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.82rem;
}

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

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

.category-tile {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tile-orb {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.5s ease;
}

.category-tile:hover .tile-orb {
  transform: scale(1.45);
}

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

.rank-panel,
.info-card,
.text-card,
.player-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.rank-panel {
  position: sticky;
  top: 86px;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.35rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-num {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  font-weight: 900;
  font-size: 0.82rem;
}

.rank-row img {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  background: #111827;
}

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

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

.rank-info em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.84rem;
}

.rank-score {
  color: var(--color-orange);
  font-weight: 900;
}

.panel-more {
  margin-top: 18px;
  width: 100%;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937, #111827);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

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

.site-footer p {
  margin: 0;
  color: #9ca3af;
}

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

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

.site-footer a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--color-orange);
}

.page-main {
  min-height: 70vh;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.55), transparent 38%), linear-gradient(135deg, #111827, #1f2937);
}

.compact-hero,
.category-hero {
  padding: 72px 0;
}

.page-hero h1 {
  max-width: 840px;
  margin: 14px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.breadcrumbs a:hover {
  color: var(--color-yellow);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(160px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--text-main);
  outline: none;
  background: #f8fafc;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-panel button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-orange), var(--color-red));
  font-weight: 800;
}

.filter-summary {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-weight: 650;
}

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

.category-overview-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 150px;
  background: #111827;
}

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

.category-overview-body {
  padding: 22px;
}

.category-overview-body .eyebrow {
  color: var(--color-orange);
  background: #ffedd5;
}

.category-overview-body h2 {
  margin: 12px 0 8px;
}

.category-overview-body p {
  color: var(--text-muted);
}

.text-link {
  margin-top: 10px;
  padding: 9px 18px;
}

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

.large-panel {
  position: static;
}

.detail-hero {
  min-height: 520px;
}

.detail-bg,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.64);
  transform: scale(1.03);
}

.detail-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.36));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0;
}

.detail-intro {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.detail-text h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.05;
}

.detail-one-line {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

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

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

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

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

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background: #020617;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.32), rgba(0, 0, 0, 0.58));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-start span {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  box-shadow: 0 18px 48px rgba(249, 115, 22, 0.42);
  font-size: 2rem;
}

.player-start strong {
  font-size: 1.25rem;
}

.player-start em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: none;
  border-radius: 12px;
  padding: 10px 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
}

.player-message.is-visible {
  display: block;
}

.text-card p {
  margin: 0;
  color: #374151;
  font-size: 1.02rem;
}

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

.info-card h2 {
  margin: 0 0 16px;
}

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

.info-card div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.info-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.info-card dd {
  margin: 0;
}

.side-rank {
  position: static;
}

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

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

  .nav-search {
    margin-left: auto;
  }

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

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

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

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

  .rank-panel {
    position: static;
  }

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

@media (max-width: 760px) {
  .nav-inner {
    height: auto;
    min-height: 62px;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-search {
    display: none;
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .hero-carousel {
    height: 580px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 82px;
  }

  .hero-nav {
    display: none;
  }

  .stat-grid,
  .category-grid,
  .category-overview-grid,
  .ranking-columns,
  .footer-inner,
  .detail-intro {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .movie-grid-featured,
  .category-movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    display: inline-block;
    margin-top: 12px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .detail-hero-inner {
    padding: 34px 0;
  }
}

@media (max-width: 480px) {
  .container,
  .nav-inner,
  .footer-inner {
    width: min(100% - 22px, 1180px);
  }

  .movie-grid,
  .movie-grid-featured,
  .category-movie-grid {
    grid-template-columns: 1fr;
  }

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

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

  .rank-score {
    display: none;
  }
}
