:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
  --soft-shadow: 0 12px 30px rgba(249, 115, 22, 0.16);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--amber-50), var(--white) 34%, var(--orange-50));
  line-height: 1.6;
}

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

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;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.32);
}

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

.nav-link {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link.active,
.mobile-link:hover {
  color: var(--orange-600);
}

.nav-link:hover {
  transform: translateY(-1px);
}

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

.top-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--orange-200);
  border-radius: 999px;
  outline: none;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input,
.mobile-search input {
  width: 220px;
  padding: 10px 16px;
}

.top-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--orange-400);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

.top-search button,
.mobile-search button {
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  background: var(--orange-500);
  transition: transform 0.2s ease, background 0.2s ease;
}

.top-search button:hover,
.mobile-search button:hover {
  transform: scale(1.04);
  background: var(--orange-600);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: var(--orange-100);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--orange-600);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(251, 146, 60, 0.16);
}

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

.mobile-link {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--gray-700);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100), #fde68a);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.42;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

.glow-left {
  width: 310px;
  height: 310px;
  left: 8%;
  top: 70px;
  background: var(--orange-400);
}

.glow-right {
  width: 430px;
  height: 430px;
  right: 4%;
  bottom: 30px;
  background: var(--amber-400);
  animation-delay: 1.2s;
}

.hero-grid {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 42px;
  padding: 46px 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--orange-600);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(251, 146, 60, 0.22);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--orange-600);
}

.hero-copy p,
.page-hero p {
  margin: 24px 0 0;
  max-width: 650px;
  color: var(--gray-700);
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: var(--white);
  background: var(--orange-500);
  box-shadow: var(--soft-shadow);
}

.btn.primary:hover {
  background: var(--orange-600);
}

.btn.secondary {
  color: var(--orange-600);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--orange-500);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 470px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(17, 24, 39, 0.22);
  background: var(--gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

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

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.42), rgba(17, 24, 39, 0.12));
}

.hero-slide-content {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  z-index: 2;
  color: var(--white);
}

.hero-slide-content h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.hero-slide-content p {
  max-width: 620px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.light-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.slide-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 22px;
  border-radius: 999px;
  color: var(--orange-600);
  background: var(--white);
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: none;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero-prev,
.hero-next {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.hero-dot.active {
  width: 26px;
  background: var(--white);
}

.stats-section,
.section {
  position: relative;
  padding: 76px 0;
}

.stats-section {
  background: var(--white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card,
.content-card,
.filter-panel,
.category-overview-card,
.player-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 28px;
  background: linear-gradient(135deg, var(--orange-50), var(--amber-50));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(249, 115, 22, 0.18);
}

.stat-card span {
  color: var(--orange-600);
  font-weight: 900;
}

.stat-card strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 24px;
}

.stat-card p,
.section-title p,
.movie-body p,
.wide-body p,
.category-card p,
.category-overview-card p,
.content-card p,
.player-copy p,
.detail-line {
  color: var(--gray-600);
}

.white-section {
  background: linear-gradient(180deg, var(--white), var(--amber-50));
}

.amber-section {
  background: linear-gradient(135deg, var(--orange-50), var(--amber-50), var(--orange-50));
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-title p {
  margin: 0;
  font-size: 19px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 56px rgba(249, 115, 22, 0.2);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
}

.movie-card.compact .poster-wrap {
  aspect-ratio: 16 / 11;
}

.poster-wrap img,
.category-cover img,
.overview-image img,
.wide-poster img,
.detail-poster img,
.rank-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-wrap img,
.category-card:hover .category-cover img,
.category-overview-card:hover .overview-image img,
.wide-card:hover .wide-poster img {
  transform: scale(1.06);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.62));
}

.type-badge,
.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.type-badge {
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  color: var(--orange-600);
  background: rgba(255, 255, 255, 0.88);
}

.score-badge {
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  color: var(--gray-900);
  background: var(--amber-400);
}

.rank-badge {
  left: 14px;
  bottom: 14px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #ef4444, var(--orange-500));
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.28);
}

.movie-body {
  padding: 20px;
}

.movie-body h3,
.wide-body h3,
.category-card h3,
.category-overview-card h2,
.rank-row h3 {
  margin: 0 0 8px;
  line-height: 1.25;
  color: var(--gray-900);
}

.movie-body h3 {
  font-size: 19px;
}

.movie-card.compact .movie-body h3 {
  font-size: 17px;
}

.movie-body p,
.wide-body p,
.rank-row p {
  display: -webkit-box;
  margin: 0 0 15px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 700;
}

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

.tag-row span {
  color: var(--orange-600);
  background: var(--orange-50);
}

.center-action {
  margin-top: 40px;
  text-align: center;
}

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

.wide-card {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(249, 115, 22, 0.18);
}

.wide-poster {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, #60a5fa, #a855f7, #ec4899);
}

.rank-number {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--gray-900);
  background: var(--amber-400);
  font-weight: 900;
}

.wide-body {
  padding: 24px;
}

.wide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.wide-tags span {
  color: var(--orange-600);
  background: var(--orange-50);
}

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

.category-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(249, 115, 22, 0.18);
}

.category-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
}

.category-card > div:last-child {
  padding: 18px;
}

.category-card h3 {
  font-size: 20px;
}

.category-card p {
  margin: 0;
  font-size: 14px;
}

.cta-section {
  padding: 82px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.cta-box {
  text-align: center;
}

.cta-box .brand-mark {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  font-size: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
}

.cta-box p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.cta-btn {
  color: var(--orange-600);
  background: var(--white);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.18);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
}

.list-section {
  background: linear-gradient(180deg, var(--amber-50), var(--white));
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
  padding: 22px;
}

.filter-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-700);
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
}

.result-line {
  margin-bottom: 18px;
  color: var(--orange-600);
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gray-600);
  font-weight: 700;
}

.breadcrumb a {
  color: var(--orange-600);
}

.categories-list {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.overview-image {
  min-height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
}

.category-overview-card > div {
  padding: 28px;
}

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

.overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.overview-links a,
.text-link {
  color: var(--orange-600);
  font-weight: 800;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 86px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(249, 115, 22, 0.18);
}

.rank-index {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange-500);
  font-weight: 900;
}

.rank-row img {
  width: 86px;
  height: 60px;
  border-radius: 12px;
}

.rank-row h3 {
  font-size: 18px;
}

.rank-row p {
  margin-bottom: 0;
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100), var(--amber-50));
}

.detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.2);
}

.detail-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.detail-line {
  margin: 0 0 22px;
  font-size: 19px;
}

.detail-meta,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  color: var(--orange-600);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 146, 60, 0.22);
}

.detail-tags span {
  background: var(--white);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.12);
}

.player-section {
  background: var(--white);
}

.player-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--gray-900);
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: var(--gray-900);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.55));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--orange-600);
  background: var(--white);
  font-size: 34px;
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.28);
  transition: transform 0.2s ease;
}

.play-overlay:hover span {
  transform: scale(1.08);
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-copy {
  padding: 24px 28px 30px;
}

.player-copy h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.player-copy p {
  margin: 0;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.content-card {
  padding: 30px;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.content-card p {
  margin: 0;
  font-size: 17px;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(180deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 54px 0 38px;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
}

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

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
}

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

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

.footer-bottom {
  padding: 22px 16px;
  text-align: center;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.34;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.52;
  }
}

@media (max-width: 1100px) {
  .top-search {
    display: none;
  }

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

  .hero-grid {
    padding-top: 72px;
  }

  .hero-stage {
    min-height: 430px;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .mobile-search input {
    width: 100%;
  }

  .mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    gap: 26px;
  }

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

  .hero-copy p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-stage {
    min-height: 420px;
    border-radius: 24px;
  }

  .stat-grid,
  .card-grid,
  .wide-grid,
  .all-grid,
  .latest-grid,
  .related-grid,
  .category-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    gap: 28px;
  }

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

  .rank-row {
    grid-template-columns: 44px 70px 1fr;
  }

  .rank-score {
    grid-column: 3;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 21px;
  }

  .hero-grid {
    padding: 44px 0;
  }

  .hero h1,
  .page-hero h1,
  .detail-intro h1 {
    font-size: 34px;
  }

  .hero-actions,
  .hero-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-stage {
    min-height: 440px;
  }

  .hero-slide-content {
    left: 22px;
    right: 22px;
    bottom: 24px;
  }

  .hero-controls {
    top: 14px;
    right: 14px;
  }

  .stat-grid,
  .card-grid,
  .wide-grid,
  .all-grid,
  .latest-grid,
  .related-grid,
  .category-grid,
  .filter-panel,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-template-columns: 1fr;
  }

  .wide-poster {
    min-height: 220px;
  }

  .page-hero,
  .detail-hero,
  .section,
  .stats-section {
    padding: 52px 0;
  }

  .player-copy,
  .content-card,
  .filter-panel,
  .category-overview-card > div {
    padding: 22px;
  }

  .play-overlay span {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .rank-row {
    grid-template-columns: 38px 1fr;
  }

  .rank-row img {
    display: none;
  }

  .rank-score {
    grid-column: 2;
  }
}
