
:root {
  --red: #dc2626;
  --red-dark: #991b1b;
  --orange: #f97316;
  --gold: #f59e0b;
  --green: #047857;
  --blue: #2563eb;
  --purple: #7c3aed;
  --pink: #db2777;
  --cyan: #0891b2;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --dark: #0f172a;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.24);
  transform: translateZ(0);
}

.brand:hover .brand-mark {
  transform: scale(1.06);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: #fff1f2;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff1f2;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--red);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 106px 16px 42px;
  display: grid;
  align-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 46%, #fef2f2 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.36;
  pointer-events: none;
}

.hero-glow.one {
  width: 360px;
  height: 360px;
  top: 11%;
  left: 5%;
  background: #fb7185;
}

.hero-glow.two {
  width: 460px;
  height: 460px;
  right: 6%;
  bottom: 7%;
  background: #fdba74;
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
}

.hero-track {
  position: relative;
  min-height: 610px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 38px;
  align-items: center;
  padding: 70px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.55)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

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

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--red);
  background: #fff1f2;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #374151;
  font-size: clamp(17px, 2vw, 23px);
}

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

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

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

.btn,
.filter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary,
.filter-form button {
  color: white;
  background: linear-gradient(90deg, var(--red), var(--orange));
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.23);
}

.btn.ghost {
  color: var(--red);
  background: white;
  border: 2px solid #fecaca;
}

.btn:hover,
.filter-form button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 38px rgba(220, 38, 38, 0.28);
}

.hero-poster {
  display: block;
  border-radius: 32px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.24);
  transform: rotate(2deg);
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.hero-dots {
  position: absolute;
  left: 70px;
  bottom: 42px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #fecaca;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-search {
  position: relative;
  z-index: 3;
  width: min(1030px, calc(100% - 36px));
  margin: -32px auto 0;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.hero-search form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.hero-search input,
.filter-form input,
.filter-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  background: white;
  outline: none;
}

.hero-search input:focus,
.filter-form input:focus,
.filter-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px #fee2e2;
}

.hero-search button {
  min-width: 112px;
  border: 0;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: var(--red);
  cursor: pointer;
}

.hero-search nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hero-search nav a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #6b7280;
  background: #f9fafb;
  font-size: 13px;
  font-weight: 800;
}

.hero-search nav a:hover {
  color: var(--red);
  background: #fff1f2;
}

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

.section.warm {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

.section-head {
  margin-bottom: 32px;
}

.section-head.centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-head span {
  color: var(--red);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.page-hero h1,
.detail-card h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p,
.page-hero p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.section-head.split a,
.ranking-more {
  color: var(--red);
  font-weight: 900;
}

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

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

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

.poster-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.poster-link:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

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

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

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 1000;
  background: rgba(220, 38, 38, 0.92);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.24);
}

.poster-badge {
  top: 10px;
  right: 10px;
  min-width: 42px;
  height: 28px;
  border-radius: 999px;
  font-size: 13px;
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.78);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-info {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.movie-info strong {
  min-height: 44px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info em,
.movie-info small {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.movie-info span {
  color: #4b5563;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

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

.slim-card {
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.13);
}

.slim-card img {
  width: 86px;
  height: 116px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #fee2e2;
}

.slim-card span {
  display: grid;
  align-content: start;
  min-width: 0;
}

.slim-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slim-card em,
.slim-card small {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.slim-card small {
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: start;
}

.ranking-box {
  position: sticky;
  top: 96px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, #111827, #7f1d1d);
  color: white;
  box-shadow: var(--shadow);
}

.ranking-box .section-head span,
.ranking-box .ranking-more {
  color: #fed7aa;
}

.ranking-box .section-head h2 {
  color: white;
}

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

.ranking-box li a {
  display: grid;
  grid-template-columns: 36px 1fr 54px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.ranking-box li a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ranking-box li strong {
  color: #fed7aa;
  font-size: 18px;
}

.ranking-box li span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-box li em {
  color: #fde68a;
  font-style: normal;
  font-weight: 1000;
  text-align: right;
}

.categories-band {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #dc2626, #f97316);
  color: white;
}

.section-head.light span,
.section-head.light h2,
.section-head.light p {
  color: white;
}

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

.category-card,
.category-overview-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 28px;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.14);
  transition: transform 0.22s ease, background 0.22s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.23);
}

.category-card strong,
.category-title span {
  display: block;
  font-size: 24px;
  font-weight: 1000;
  margin-bottom: 12px;
}

.category-card p,
.category-overview-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
}

.category-card small {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.tone-red,
.category-overview-card.tone-red {
  background: linear-gradient(135deg, #dc2626, #fb923c);
}

.tone-orange,
.category-overview-card.tone-orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.tone-purple,
.category-overview-card.tone-purple {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.tone-blue,
.category-overview-card.tone-blue {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.tone-green,
.category-overview-card.tone-green {
  background: linear-gradient(135deg, #059669, #84cc16);
}

.tone-pink,
.category-overview-card.tone-pink {
  background: linear-gradient(135deg, #db2777, #fb7185);
}

.tone-cyan,
.category-overview-card.tone-cyan {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
}

.tone-yellow,
.category-overview-card.tone-yellow {
  background: linear-gradient(135deg, #ca8a04, #f97316);
}

.tone-teal,
.category-overview-card.tone-teal {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.tone-emerald,
.category-overview-card.tone-emerald {
  background: linear-gradient(135deg, #047857, #10b981);
}

.tone-indigo,
.category-overview-card.tone-indigo {
  background: linear-gradient(135deg, #4f46e5, #9333ea);
}

.tone-slate,
.category-overview-card.tone-slate {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.filter-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 22px;
  border-radius: 26px;
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.5fr)) auto;
  gap: 12px;
  align-items: end;
}

.filter-form label {
  display: grid;
  gap: 6px;
}

.filter-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.filter-empty {
  display: none;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 16px;
  color: var(--red);
  background: #fff1f2;
  font-weight: 800;
}

.filter-empty.show {
  display: block;
}

.page-main {
  padding-top: 74px;
  min-height: 80vh;
  background: #f8fafc;
}

.page-hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 58px;
  border-radius: 34px;
  color: white;
  background: linear-gradient(135deg, #991b1b, #f97316);
  box-shadow: var(--shadow);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.page-hero span {
  color: #fed7aa;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 820px;
}

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

.category-overview-card {
  min-height: 0;
}

.category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.category-title strong {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

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

.overview-samples .slim-card {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: white;
}

.overview-samples .slim-card strong,
.overview-samples .slim-card em,
.overview-samples .slim-card small {
  color: white;
}

.detail-main {
  padding-bottom: 88px;
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

.breadcrumb strong {
  color: var(--text);
}

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.detail-content {
  min-width: 0;
}

.player-card,
.detail-card,
.related-panel {
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  z-index: 4;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-cover span {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.38);
  font-size: 34px;
  padding-left: 5px;
}

.player-cover strong {
  font-size: 20px;
}

.player-shell.is-playing .player-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-error {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: white;
  background: rgba(153, 27, 27, 0.92);
  text-align: center;
  font-weight: 800;
}

.player-error.show {
  display: block;
}

.detail-card {
  margin-top: 22px;
  padding: 28px;
}

.detail-title-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 24px;
  align-items: start;
}

.detail-title-row img {
  width: 150px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
  background: #fee2e2;
}

.genre-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.genre-tags span,
.tag-row span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--red);
  background: #fff1f2;
  font-size: 13px;
  font-weight: 900;
}

.one-line {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--red);
  border-radius: 14px;
  color: #374151;
  background: #fff7ed;
  font-size: 18px;
  font-weight: 700;
}

.article-section {
  margin-top: 26px;
}

.article-section h2,
.related-panel h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 24px;
}

.article-section p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.86;
}

.review-box {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff1f2, #ffedd5);
}

.related-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

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

.rank-section {
  padding-top: 44px;
}

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

.rank-card a {
  display: grid;
  grid-template-columns: 54px 74px 1fr 70px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.rank-card strong {
  color: var(--red);
  font-size: 26px;
  text-align: center;
}

.rank-card img {
  width: 74px;
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
  background: #fee2e2;
}

.rank-card span {
  display: grid;
  min-width: 0;
}

.rank-card b {
  color: var(--text);
  font-size: 18px;
}

.rank-card em,
.rank-card small {
  color: var(--muted);
  font-style: normal;
}

.rank-card small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-card i {
  color: var(--gold);
  font-style: normal;
  font-size: 24px;
  font-weight: 1000;
  text-align: right;
}

.site-footer {
  color: white;
  background: linear-gradient(135deg, #0f172a, #7f1d1d);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 40px;
}

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

.footer-logo span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.footer-logo strong {
  font-size: 22px;
}

.footer-brand p {
  margin: 0;
  color: #fee2e2;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-group h2 {
  margin: 0 0 6px;
  color: #fed7aa;
  font-size: 18px;
}

.footer-group a {
  color: #fee2e2;
}

.footer-group a:hover {
  color: white;
}

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

.footer-cats h2 {
  grid-column: 1 / -1;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  color: #fecaca;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .movie-grid,
  .archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-box,
  .related-panel {
    position: static;
  }

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

@media (max-width: 840px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-link {
    border-radius: 16px;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-track {
    min-height: 760px;
  }

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

  .hero-poster {
    min-height: 300px;
    transform: none;
  }

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

  .hero-dots {
    left: 34px;
    bottom: 24px;
  }

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

  .section {
    padding: 56px 0;
  }

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

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

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

  .detail-title-row img {
    width: 120px;
  }

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

@media (max-width: 620px) {
  .brand-copy small {
    display: none;
  }

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

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

  .slim-grid,
  .category-grid,
  .overview-grid,
  .overview-samples,
  .filter-form {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    border-radius: 24px;
  }

  .hero-slide {
    padding: 26px;
  }

  .movie-info span {
    display: none;
  }

  .rank-card a {
    grid-template-columns: 42px 58px 1fr;
  }

  .rank-card i {
    grid-column: 3;
    text-align: left;
    font-size: 16px;
  }

  .rank-card img {
    width: 58px;
    height: 78px;
  }
}
