:root {
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --red-50: #fef2f2;
  --orange-500: #f97316;
  --blue-600: #2563eb;
  --purple-600: #9333ea;
  --green-600: #16a34a;
  --slate-900: #111827;
  --slate-800: #1f2937;
  --slate-700: #374151;
  --slate-600: #4b5563;
  --slate-500: #6b7280;
  --slate-200: #e5e7eb;
  --slate-100: #f3f4f6;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 35px rgba(17, 24, 39, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-800);
  background: linear-gradient(180deg, var(--red-50), var(--white) 22%, var(--white));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.28);
}

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

.brand-text strong,
.footer-brand {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--red-700), var(--red-500));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

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

.nav-link {
  position: relative;
  color: var(--slate-700);
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red-600), var(--red-500));
  border-radius: 99px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--slate-100);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 99px;
}

.mobile-nav-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  color: var(--slate-700);
  font-weight: 700;
  border-top: 1px solid var(--slate-200);
}

.mobile-nav-link.is-active {
  color: var(--red-600);
}

.mobile-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.mobile-category-strip a {
  padding: 8px 12px;
  color: var(--red-700);
  background: var(--red-50);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--red-700), var(--red-500));
}

.hero-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.25), transparent 18%),
    radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(127, 29, 29, 0), rgba(127, 29, 29, 0.32));
}

.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  filter: blur(2px);
  animation: pulse-glow 5s ease-in-out infinite alternate;
}

.hero-glow-one {
  top: 40px;
  left: 7%;
}

.hero-glow-two {
  right: 9%;
  bottom: 22px;
  width: 360px;
  height: 360px;
  animation-delay: 1.2s;
}

.hero-shell {
  position: relative;
  min-height: 620px;
  padding: 90px 0 86px;
}

.hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.74fr);
  align-items: center;
  gap: 52px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.hero-slide:not(.is-active) {
  position: absolute;
  inset: 90px 0 86px;
}

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

.hero-kicker {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 24px;
  color: var(--red-100);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.hero-copy p {
  max-width: 690px;
  margin: 0 0 24px;
  color: #fee2e2;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--red-700);
  background: var(--red-50);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-light {
  color: var(--red-600);
  background: var(--white);
  box-shadow: 0 18px 35px rgba(127, 29, 29, 0.22);
}

.button-ghost {
  color: var(--white);
  background: rgba(127, 29, 29, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--red-700), var(--red-500));
  box-shadow: 0 15px 30px rgba(220, 38, 38, 0.28);
}

.hero-poster {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 34px;
  box-shadow: 0 35px 80px rgba(127, 29, 29, 0.4);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 500ms ease, opacity 180ms ease;
}

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

.hero-poster span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px);
}

.hero-controls {
  position: absolute;
  bottom: 34px;
  left: 0;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

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

.hero-quick-links {
  position: absolute;
  right: 0;
  bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-quick-links a {
  padding: 9px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

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

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

.stats-grid article {
  min-height: 136px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(254, 226, 226, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.stats-grid strong {
  display: block;
  color: var(--red-600);
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--slate-600);
  font-weight: 700;
}

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

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

.section-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--slate-600);
  line-height: 1.8;
}

.section-more {
  flex: 0 0 auto;
  color: var(--red-600);
  font-weight: 900;
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.85);
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.movie-card-link:hover {
  border-color: rgba(248, 113, 113, 0.55);
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.46), transparent 22%),
    linear-gradient(135deg, #fee2e2, #fecaca 42%, #f87171);
}

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

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

.poster-frame img.is-missing,
.hero-poster img.is-missing {
  opacity: 0;
}

.movie-card .poster-frame {
  aspect-ratio: 3 / 4;
}

.movie-card-compact .poster-frame {
  aspect-ratio: 16 / 10;
}

.type-badge,
.rank-badge,
.play-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.type-badge {
  top: 12px;
  left: 12px;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--white);
  background: linear-gradient(90deg, var(--red-600), var(--red-500));
  border-radius: 999px;
  font-size: 12px;
}

.rank-badge {
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--red-600);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.play-badge {
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(12px);
}

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

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

.movie-meta-line {
  margin-bottom: 8px;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h2 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--slate-900);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.category-overview-card {
  min-height: 260px;
}

.category-tile::after,
.category-overview-card::after {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  content: "";
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.category-tile a,
.category-overview-main {
  position: relative;
  z-index: 1;
  display: block;
}

.category-tile span,
.category-overview-main span {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.category-tile strong,
.category-overview-main p {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.category-samples,
.category-overview-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-samples a,
.category-overview-links a {
  max-width: 100%;
  padding: 6px 9px;
  overflow: hidden;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accent-orange { background: linear-gradient(135deg, #ea580c, #fb923c); }
.accent-rose { background: linear-gradient(135deg, #be123c, #fb7185); }
.accent-blue { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.accent-pink { background: linear-gradient(135deg, #be185d, #f472b6); }
.accent-purple { background: linear-gradient(135deg, #7e22ce, #a78bfa); }
.accent-yellow { background: linear-gradient(135deg, #ca8a04, #facc15); }
.accent-slate { background: linear-gradient(135deg, #0f172a, #475569); }
.accent-emerald { background: linear-gradient(135deg, #047857, #34d399); }
.accent-indigo { background: linear-gradient(135deg, #4338ca, #818cf8); }
.accent-amber { background: linear-gradient(135deg, #b45309, #f59e0b); }
.accent-cyan { background: linear-gradient(135deg, #0e7490, #22d3ee); }

.search-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.search-panel label {
  color: var(--slate-900);
  font-size: 20px;
  font-weight: 950;
}

.search-panel input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  color: var(--slate-900);
  background: var(--slate-100);
  border: 2px solid transparent;
  border-radius: 999px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.search-panel input:focus {
  background: var(--white);
  border-color: var(--red-500);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 36px;
  padding: 7px 14px;
  color: var(--slate-700);
  background: var(--slate-100);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
  color: var(--white);
  background: var(--red-600);
}

.sub-hero,
.detail-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(120deg, var(--red-700), var(--red-500));
}

.sub-hero .container-wide {
  padding: 88px 0 82px;
}

.sub-hero span {
  display: inline-flex;
  padding: 7px 13px;
  color: var(--red-100);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sub-hero h1 {
  max-width: 820px;
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.sub-hero p {
  max-width: 780px;
  margin: 0;
  color: #fee2e2;
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--white);
}

.ranking-layout {
  display: grid;
  gap: 24px;
}

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

.ranking-feature {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.ranking-cover {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
}

.ranking-feature span {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 800;
}

.ranking-feature h2 {
  margin: 8px 0 10px;
  color: var(--slate-900);
  font-size: 22px;
  font-weight: 950;
}

.ranking-feature p {
  color: var(--slate-600);
  line-height: 1.7;
}

.detail-hero .container-wide {
  padding: 44px 0 58px;
}

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

.detail-poster {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(127, 29, 29, 0.36);
}

.detail-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.detail-kicker {
  color: var(--red-100);
  font-weight: 900;
}

.detail-one-line {
  max-width: 850px;
  margin: 0 0 22px;
  color: #fee2e2;
  font-size: 20px;
  line-height: 1.75;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.detail-meta-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
}

.detail-meta-grid dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.detail-meta-grid dd {
  margin: 0;
  color: var(--white);
  font-weight: 900;
}

.player-section {
  padding-top: 56px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #050505;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26);
}

.movie-player::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.player-video,
.player-start {
  position: absolute;
}

.player-video {
  inset: 0;
  width: 100%;
  height: 100%;
  background: #050505;
}

.player-start {
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(239, 68, 68, 0.9));
  border: 0;
  border-radius: 50%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.player-start span {
  margin-left: 5px;
  font-size: 34px;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.movie-player.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

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

.detail-article {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.detail-article h2 {
  margin: 0 0 18px;
  color: var(--slate-900);
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-article p {
  margin: 0 0 16px;
  color: var(--slate-700);
  font-size: 16px;
  line-height: 1.95;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 58px 0;
  color: #d1d5db;
  background: var(--slate-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.5fr;
  gap: 36px;
}

.site-footer p {
  max-width: 520px;
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: #d1d5db;
  font-weight: 700;
}

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

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

@keyframes pulse-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -14px, 0) scale(1.07);
  }
}

@media (max-width: 1100px) {
  .movie-grid-featured,
  .movie-grid-rank,
  .movie-grid-compact,
  .movie-grid-listing,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-poster {
    max-width: 520px;
    min-height: 360px;
    margin: 0 auto;
  }

  .hero-poster img {
    min-height: 360px;
  }

  .detail-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .ranking-main-list {
    grid-template-columns: 1fr;
  }
}

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

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

  .hero-shell {
    min-height: auto;
    padding: 62px 0 86px;
  }

  .hero-slide:not(.is-active) {
    inset: 62px 0 86px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-controls,
  .hero-quick-links {
    right: auto;
    left: 0;
  }

  .hero-quick-links {
    bottom: 24px;
    transform: translateY(42px);
  }

  .stats-grid,
  .movie-grid-featured,
  .movie-grid-rank,
  .movie-grid-compact,
  .movie-grid-listing,
  .category-grid,
  .category-overview-grid,
  .detail-content-grid,
  .footer-grid,
  .detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-poster {
    width: min(320px, 100%);
  }
}

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

  .brand-text strong {
    font-size: 19px;
  }

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

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

  .button,
  .hero-quick-links a {
    width: 100%;
  }

  .stats-grid,
  .movie-grid-featured,
  .movie-grid-rank,
  .movie-grid-compact,
  .movie-grid-listing,
  .category-grid,
  .category-overview-grid,
  .detail-content-grid,
  .footer-grid,
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-compact .poster-frame {
    aspect-ratio: 3 / 4;
  }

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

  .ranking-cover {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .player-start {
    width: 76px;
    height: 76px;
  }
}
