:root {
  --text: #111827;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --dark: #020617;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  color: #ffffff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.page-main + .site-footer ~ .site-header {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
  font-size: 15px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 700;
}

.nav-link {
  position: relative;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 11px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 8px 24px 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.mobile-link {
  display: block;
  padding: 13px 0;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.mobile-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
}

.mobile-categories a {
  padding: 10px 12px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 14px;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4 55%, #14b8a6);
}

.hero-bg-layer,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.28), transparent 30%), linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.58));
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 118px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 780px;
  margin: 24px 0 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-tags a,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.hero .btn-primary {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
}

.white-section .btn-ghost,
.search-section .btn-ghost {
  color: var(--blue);
  background: #eff6ff;
  border-color: #bfdbfe;
}

.hero-panel {
  padding: 18px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 16px;
  font-weight: 900;
}

.hero-panel-title a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.hero-slide img {
  width: 100%;
  height: 490px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}

.hero-slide-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.82));
  backdrop-filter: blur(14px);
}

.hero-slide-copy strong,
.hero-slide-copy em {
  display: block;
}

.hero-slide-copy strong {
  font-size: 22px;
  line-height: 1.25;
}

.hero-slide-copy em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-year {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.92);
  color: #ffffff;
  font-weight: 900;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding-top: 16px;
}

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

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

.scroll-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.scroll-hint span {
  display: block;
  width: 6px;
  height: 6px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: #ffffff;
  animation: scrollHint 1.6s infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px;
}

.page-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.soft-section {
  max-width: none;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.soft-section > .section-head,
.soft-section > .movie-grid,
.soft-section > .mini-grid,
.soft-section > .overview-grid {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.white-section {
  max-width: none;
  background: #ffffff;
}

.white-section > .section-head,
.white-section > .category-grid,
.white-section > .rank-list,
.white-section > .content-grid,
.white-section > .search-panel,
.white-section > .search-count,
.white-section > .search-grid {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head.align-left {
  text-align: left;
}

.section-head span {
  color: var(--blue);
  font-weight: 900;
}

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

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

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

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

.six-col {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: rgba(2, 6, 23, 0.46);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
}

.play-circle,
.player-button {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--blue);
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.3);
}

.badge {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.badge-top {
  top: 12px;
  right: 12px;
  background: rgba(37, 99, 235, 0.92);
}

.badge-year {
  left: 12px;
  bottom: 12px;
  background: rgba(2, 6, 23, 0.72);
}

.card-body {
  padding: 18px;
}

.card-body h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

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

.category-card,
.overview-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 26px;
  color: #ffffff;
  min-height: 250px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.overview-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
}

.category-card::after,
.overview-card::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -44px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(8px);
  transition: transform 0.3s ease;
}

.category-card:hover::after,
.overview-card:hover::after {
  transform: scale(1.35);
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 900;
  margin-bottom: 18px;
}

.category-card h2,
.overview-card h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card p,
.overview-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
}

.category-card strong,
.overview-card strong {
  position: relative;
  z-index: 2;
}

.category-preview {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
}

.category-preview img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
  margin-right: -10px;
  background: rgba(255, 255, 255, 0.3);
}

.gradient-blue-cyan { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.gradient-orange-red { background: linear-gradient(135deg, #f97316, #ef4444); }
.gradient-purple-pink { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.gradient-green-teal { background: linear-gradient(135deg, #10b981, #14b8a6); }
.gradient-rose-amber { background: linear-gradient(135deg, #f43f5e, #f59e0b); }
.gradient-slate-blue { background: linear-gradient(135deg, #334155, #2563eb); }
.gradient-yellow-orange { background: linear-gradient(135deg, #eab308, #f97316); }
.gradient-indigo-violet { background: linear-gradient(135deg, #4f46e5, #8b5cf6); }
.gradient-cyan-emerald { background: linear-gradient(135deg, #06b6d4, #10b981); }
.gradient-fuchsia-blue { background: linear-gradient(135deg, #d946ef, #2563eb); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 44px;
  align-items: start;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 66px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(6px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.13);
}

.rank-num {
  color: var(--blue);
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.rank-row img {
  width: 66px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  font-size: 17px;
}

.rank-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-tag,
.mini-year {
  padding: 6px 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
  font-weight: 900;
}

.center-action {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 10px;
}

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

.mini-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 260px;
  color: #ffffff;
  background: var(--dark);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.mini-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mini-card:hover img {
  transform: scale(1.08);
  opacity: 0.56;
}

.mini-card strong,
.mini-card em,
.mini-card .mini-year {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 2;
}

.mini-card .mini-year {
  top: 14px;
  left: auto;
  right: 14px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.9);
}

.mini-card strong {
  bottom: 42px;
  font-size: 17px;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-card em {
  bottom: 16px;
  font-size: 13px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4 60%, #14b8a6);
}

.page-hero > div {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.small-hero h1,
.category-hero h1 {
  max-width: 760px;
  margin: 20px 0 12px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.small-hero p,
.category-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.compact-actions {
  margin-top: 28px;
}

.overview-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overview-links {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  margin: 18px 0;
}

.overview-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.overview-more {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 900;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  color: #ffffff;
  overflow: hidden;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.78));
}

.detail-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 60px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
}

.detail-poster img {
  width: 280px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

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

.detail-intro h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-intro p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

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

.player-card {
  position: relative;
  overflow: hidden;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.28);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.74));
  cursor: pointer;
}

.player-cover strong {
  max-width: 86%;
  font-size: clamp(22px, 4vw, 40px);
  text-align: center;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.player-card.is-playing .player-cover {
  display: none;
}

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

.story-card,
.info-card {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.story-card {
  padding: 34px;
}

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

.story-card p {
  margin: 0 0 28px;
  color: #374151;
  font-size: 17px;
}

.lead-text {
  padding-left: 18px;
  border-left: 4px solid var(--blue);
  color: #1f2937;
  font-weight: 700;
}

.info-card {
  padding: 28px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.info-card dl {
  margin: 0;
}

.info-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.info-card dd {
  margin: 4px 0 16px;
  font-weight: 800;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-cloud a {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

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

.search-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 22px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.search-panel label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.search-panel input,
.search-panel select {
  min-height: 46px;
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 0 13px;
  color: var(--text);
  background: #f8fafc;
}

.search-count {
  margin-top: 28px;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 900;
}

[data-card].is-hidden {
  display: none;
}

.site-footer {
  color: #e5e7eb;
  background: #020617;
}

.footer-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 30px;
}

.footer-main {
  max-width: 560px;
}

.footer-brand {
  color: #ffffff;
}

.footer-main p {
  color: #9ca3af;
}

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

.footer-grid h2 {
  color: #ffffff;
  font-size: 16px;
}

.footer-grid a {
  display: block;
  color: #9ca3af;
  margin: 8px 0;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

@media (max-width: 1180px) {
  .six-col,
  .mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .menu-toggle {
    display: block;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding-top: 104px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .three-col,
  .six-col,
  .mini-grid,
  .category-grid,
  .overview-grid,
  .footer-grid,
  .content-grid,
  .split-section,
  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

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

  .detail-poster img {
    width: 180px;
  }

  .info-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section,
  .page-hero > div,
  .detail-shell,
  .footer-shell {
    width: calc(100% - 32px);
    padding-left: 0;
    padding-right: 0;
  }

  .hero-shell {
    width: calc(100% - 32px);
  }

  .hero h1,
  .detail-intro h1,
  .small-hero h1,
  .category-hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 390px;
    height: 390px;
  }

  .three-col,
  .six-col,
  .mini-grid,
  .category-grid,
  .overview-grid,
  .footer-grid,
  .content-grid,
  .split-section,
  .search-panel {
    grid-template-columns: 1fr;
  }

  .detail-shell {
    display: block;
    padding-top: 50px;
  }

  .detail-poster {
    max-width: 210px;
    margin-bottom: 26px;
  }

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

  .rank-tag {
    display: none;
  }

  .story-card,
  .info-card {
    padding: 24px;
  }
}
