:root {
  --bg: #f8fafc;
  --bg-soft: #eff6ff;
  --bg-cyan: #ecfeff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.26);
  --card: rgba(255, 255, 255, 0.88);
  --blue: #2563eb;
  --cyan: #06b6d4;
  --purple: #7c3aed;
  --pink: #ec4899;
  --orange: #f97316;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 32rem),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 30rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft) 52%, var(--bg-cyan));
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.image-empty {
  visibility: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}

.brand-text {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  color: #334155;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}

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

.top-search {
  width: 300px;
}

.top-search input,
.mobile-search input,
.hero-search input,
.search-panel input,
.local-filter input {
  width: 100%;
  min-height: 44px;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  padding: 0 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.top-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.search-panel input:focus,
.local-filter input:focus {
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.top-search button,
.mobile-search button,
.hero-search button,
.search-panel button,
.btn-primary,
.btn-ghost,
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.top-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.search-panel button:hover,
.btn-primary:hover,
.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.32);
  filter: saturate(1.06);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #0f172a;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

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

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

.mobile-search {
  padding: 18px 0 12px;
}

.mobile-nav {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
}

.hero {
  position: relative;
  min-height: 620px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #0891b2, #2563eb 50%, #7c3aed);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.35;
}

.hero::before {
  top: 42px;
  left: 7%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.42);
  animation: floatGlow 7s ease-in-out infinite;
}

.hero::after {
  right: 5%;
  bottom: 32px;
  width: 360px;
  height: 360px;
  background: rgba(34, 211, 238, 0.32);
  animation: floatGlow 9s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -12px, 0) scale(1.04);
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 70px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.16;
  transform: scale(1.06);
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: #bae6fd;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-search {
  width: min(560px, 100%);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-search input {
  border-color: transparent;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tags a,
.tag,
.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags a {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-visual {
  min-height: 450px;
}

.hero-poster {
  position: absolute;
  right: 0;
  top: 0;
  width: min(420px, 92%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(14, 165, 233, 0.25));
}

.hero-mini-card {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: min(360px, 82%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.52);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-mini-card span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 54px;
  background: #fff;
}

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

.section {
  padding: 62px 0;
}

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

.section-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-more {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--blue);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-link:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(124, 58, 237, 0.18));
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.72), transparent);
  pointer-events: none;
}

.duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #fff;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}

.duration {
  right: 12px;
  bottom: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.movie-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.movie-meta {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.movie-info h2,
.movie-info h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info p {
  display: -webkit-box;
  margin: 10px 0 16px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.feature-band {
  background:
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.16), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.14), transparent 30rem),
    linear-gradient(90deg, rgba(243, 232, 255, 0.96), rgba(255, 237, 213, 0.96));
}

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

.feature-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #111827;
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.55s ease;
}

.feature-card:hover img {
  transform: scale(1.06);
}

.feature-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.18));
}

.feature-copy {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}

.feature-copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.25;
}

.feature-copy span {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.28), rgba(124, 58, 237, 0.22));
  filter: blur(8px);
}

.category-copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  top: 20px;
}

.category-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
}

.category-copy em {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.category-covers {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.category-covers img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(124, 58, 237, 0.16));
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-size: 18px;
  font-weight: 900;
}

.rank-cover {
  width: 104px;
  height: 68px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(124, 58, 237, 0.18));
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-text strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 18px;
}

.rank-text span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-score {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #2563eb 52%, #7c3aed);
}

.page-hero::before,
.detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.26), transparent 22rem);
}

.page-hero-inner,
.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.page-hero h1,
.detail-copy h1 {
  max-width: 920px;
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p,
.detail-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.8;
}

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

.breadcrumb a {
  color: #fff;
}

.local-filter,
.search-panel {
  width: min(820px, 100%);
  margin: 0 0 28px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.08);
}

.local-filter {
  display: flex;
}

.empty-state {
  display: none;
  padding: 32px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(148, 163, 184, 0.48);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.empty-state.is-visible {
  display: block;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

.detail-poster img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(14, 165, 233, 0.18));
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.meta-pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.main-card,
.side-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(14px);
}

.main-card {
  overflow: hidden;
}

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

.player-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #020617;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #fff;
  text-align: center;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.player-overlay::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.82), rgba(2, 132, 199, 0.34));
}

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

.player-overlay-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 16px;
}

.play-button {
  width: 78px;
  height: 78px;
  padding: 0;
  font-size: 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.player-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.article-body {
  padding: 28px;
}

.article-body h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.article-body p {
  margin: 0 0 20px;
  color: #334155;
  line-height: 1.9;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 28px;
}

.tag {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
}

.review-box {
  padding: 22px;
  margin-top: 12px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(236, 254, 255, 0.92));
}

.side-card {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.side-card h2 {
  margin: 0 0 16px;
  font-size: 23px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.85);
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  background: rgba(239, 246, 255, 0.95);
  transform: translateX(2px);
}

.related-thumb {
  position: relative;
  overflow: hidden;
  height: 76px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(124, 58, 237, 0.16));
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-thumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  color: #fff;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  font-size: 11px;
  font-weight: 900;
}

.related-text {
  min-width: 0;
}

.related-text strong {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 8px;
  color: #0f172a;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-text small {
  color: var(--muted);
}

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: #0f172a;
}

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

.footer-brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-inner p {
  margin: 0;
  max-width: 420px;
  line-height: 1.8;
}

.footer-inner h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

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

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .top-search,
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero-slide {
    gap: 24px;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-poster {
    left: 10%;
    right: auto;
    width: min(360px, 80%);
  }

  .hero-poster img {
    height: 380px;
  }

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

  .side-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 66px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-slide {
    padding: 44px 0 86px;
  }

  .hero-search,
  .search-panel,
  .local-filter {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

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

  .hero-actions a {
    width: 100%;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-mini-card {
    left: 0;
    width: 92%;
  }

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

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

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

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

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

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

@media (max-width: 520px) {
  .poster-wrap {
    height: 230px;
  }

  .hero-poster img {
    height: 330px;
  }

  .page-hero-inner,
  .detail-hero-inner {
    padding: 54px 0;
  }

  .article-body {
    padding: 22px;
  }

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