:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-soft: #fff7ed;
  --color-text: #111827;
  --color-muted: #64748b;
  --color-border: rgba(148, 163, 184, 0.28);
  --color-amber: #f59e0b;
  --color-amber-dark: #d97706;
  --color-orange: #f97316;
  --color-red: #ef4444;
  --color-dark: #111827;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 26px 65px rgba(15, 23, 42, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #fff7ed 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-red));
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
  font-size: 15px;
}

.brand-text {
  font-size: clamp(20px, 2vw, 28px);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-header.is-scrolled .nav-link {
  color: #334155;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 210px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #334155;
}

.nav-dropdown-panel a:hover {
  background: #fff7ed;
  color: var(--color-amber-dark);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

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

.site-header.is-scrolled .mobile-menu-button {
  background: #fff7ed;
  color: var(--color-text);
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #334155;
}

.mobile-nav a:hover {
  background: #fff7ed;
  color: var(--color-amber-dark);
}

.mobile-nav.is-open {
  display: block;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slider {
  position: relative;
  min-height: 720px;
}

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

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

.hero-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.06);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.22), transparent 25%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 64px;
  align-items: center;
  padding-top: 76px;
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-badges,
.detail-badges,
.movie-tags,
.filter-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin-top: 26px;
}

.hero-badges span,
.detail-badges span,
.movie-tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-red));
  box-shadow: 0 18px 35px rgba(239, 68, 68, 0.25);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.42);
  transform: rotate(2deg);
}

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

.hero-poster span,
.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
}

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

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

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

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: linear-gradient(0deg, #f8fafc, rgba(248, 250, 252, 0));
}

.stats-section,
.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.stats-section {
  margin-top: -56px;
  position: relative;
  z-index: 4;
}

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

.stat-card {
  min-height: 118px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.stat-card strong {
  display: block;
  color: var(--color-text);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  font-weight: 700;
}

.content-section {
  padding: 72px 0 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.section-more {
  color: var(--color-amber-dark);
  font-weight: 800;
  white-space: nowrap;
}

.feature-grid,
.movie-grid,
.category-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-grid.dense {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, 0.45);
}

.movie-poster-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.movie-poster-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.play-float {
  width: 50px;
  height: 50px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-red));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

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

.movie-tags span {
  color: #b45309;
  background: #fffbeb;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 12px 0 8px;
  overflow: hidden;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #94a3b8;
  font-size: 12px;
}

.movie-meta-line span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.split-section {
  margin-top: 72px;
  padding: 72px 0;
  background: linear-gradient(135deg, #111827, #78350f);
}

.split-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 42px;
  color: #ffffff;
}

.split-inner .section-head h2,
.split-inner .section-head p {
  color: #ffffff;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(3px);
}

.compact-card img {
  width: 96px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.compact-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.compact-rank {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-amber);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.compact-card p {
  display: -webkit-box;
  margin: 6px 0 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-card span:last-child {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

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

.category-grid.small {
  gap: 14px;
}

.category-tile {
  position: relative;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.94), rgba(239, 68, 68, 0.88));
  box-shadow: 0 18px 45px rgba(120, 53, 15, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

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

.category-tile span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 900;
}

.category-tile small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
}

.tool-bar {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.search-box {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #334155;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  outline: none;
  background: #ffffff;
}

.search-box input:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.filter-chip {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  color: #92400e;
  background: #fffbeb;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
}

.result-count {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-weight: 700;
}

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

.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 70px 42px;
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, var(--color-amber), var(--color-red));
  box-shadow: var(--shadow-soft);
}

.page-hero.dark-hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.26), transparent 28%),
    linear-gradient(135deg, #111827, #78350f);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.category-overview-card {
  display: block;
  position: relative;
  min-height: 220px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.category-count {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #b45309;
  background: #fffbeb;
  font-weight: 900;
}

.category-overview-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--color-muted);
}

.category-overview-card small {
  color: #94a3b8;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 52px 120px minmax(0, 1fr) 130px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
}

.ranking-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-red));
  font-weight: 900;
}

.ranking-row img {
  width: 120px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-info h3,
.ranking-info p {
  margin: 0;
}

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

.ranking-info small {
  display: block;
  margin-top: 7px;
  color: #94a3b8;
}

.ranking-score {
  text-align: right;
}

.ranking-score strong {
  display: block;
  color: var(--color-amber-dark);
  font-size: 26px;
}

.ranking-score span {
  color: var(--color-muted);
  font-size: 12px;
}

.detail-hero {
  min-height: 580px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.detail-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

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

.detail-copy h1 {
  max-width: 860px;
}

.detail-one-line {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.detail-badges {
  margin: 26px 0 30px;
}

.detail-content {
  padding-top: 52px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.26);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.72));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-red));
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.32);
  font-size: 34px;
}

.movie-player.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  pointer-events: none;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.article-card,
.info-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
}

.article-card h2,
.info-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.article-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.info-card dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0 0 18px;
}

.info-card dt {
  color: #94a3b8;
}

.info-card dd {
  margin: 0;
  color: #334155;
  font-weight: 700;
}

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

.tag-cloud span {
  color: #92400e;
  background: #fffbeb;
}

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

.site-footer {
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.74);
  background: #0f172a;
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr) minmax(220px, 0.9fr);
  gap: 36px;
  padding: 54px 0 34px;
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fbbf24;
}

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

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

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

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 14px;
}

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

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .split-inner,
  .two-column {
    grid-template-columns: 1fr;
  }
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero,
  .hero-slider,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 96px;
  }

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

  .section-head {
    display: block;
  }

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

  .page-hero {
    padding: 50px 24px;
  }

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

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

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

  .ranking-score {
    display: none;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .stats-section,
  .content-section,
  .split-inner,
  .page-hero,
  .detail-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 22px, 1240px);
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 36px;
  }

  .stats-grid,
  .movie-grid.dense,
  .movie-grid,
  .feature-grid,
  .category-grid,
  .category-overview-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .movie-card h3 {
    min-height: auto;
  }

  .compact-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .compact-card img {
    width: 82px;
  }

  .ranking-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

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