:root {
  --page-bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --soft: #e2e8f0;
  --panel: #ffffff;
  --dark: #0f172a;
  --purple: #7c3aed;
  --pink: #db2777;
  --blue: #2563eb;
  --cyan: #0891b2;
  --red: #dc2626;
  --amber: #d97706;
  --green: #16a34a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(49, 46, 129, 0.94), rgba(88, 28, 135, 0.95));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.35);
}

.brand-text {
  font-size: 1.24rem;
  background: linear-gradient(90deg, #ddd6fe, #fbcfe8);
  -webkit-background-clip: text;
  color: transparent;
}

.main-nav,
.header-actions,
.nav-chips {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 26px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link.is-active {
  color: #ffffff;
}

.header-actions {
  gap: 12px;
}

.hot-entry,
.nav-chip {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hot-entry {
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-chip {
  padding: 6px 12px;
  font-size: 0.84rem;
}

.hot-entry:hover,
.nav-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.nav-chips {
  gap: 10px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 10px;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 650px;
  height: min(80vh, 820px);
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #312e81, #581c87 50%, #831843);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(1.2);
}

.hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(168, 85, 247, 0.55), transparent 34%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.82));
}

.hero-content {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 120px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.16);
  color: #8b5cf6;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.eyebrow {
  padding: 6px 14px;
  margin-bottom: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 700px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.36rem);
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 6px 10px;
  font-size: 0.84rem;
}

.tag-row span {
  color: #475569;
  background: #f1f5f9;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  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, #7c3aed, #db2777);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.32);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.btn-soft {
  color: #5b21b6;
  background: #ede9fe;
}

.btn-white {
  color: #312e81;
  background: #ffffff;
}

.hero-poster {
  position: relative;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-search-wrap {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-search,
.footer-search {
  position: relative;
  display: flex;
  width: min(620px, 100%);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(18px);
}

.hero-search input,
.footer-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  padding: 10px 16px;
  color: #ffffff;
  background: transparent;
}

.hero-search input::placeholder,
.footer-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search button,
.footer-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.search-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.search-item:hover {
  background: #f1f5f9;
}

.search-item img {
  width: 48px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.search-item strong {
  display: block;
}

.search-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

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

.stats-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -44px;
}

.stats-row div,
.filter-panel,
.content-card,
.player-card,
.side-panel,
.category-overview-card,
.rank-row,
.meta-cards div {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.stats-row div {
  padding: 20px;
  text-align: center;
}

.stats-row strong {
  display: block;
  color: #7c3aed;
  font-size: 2rem;
  line-height: 1;
}

.stats-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-block {
  padding: 64px 0;
}

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

.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-kicker {
  padding: 4px 10px;
  font-size: 0.76rem;
}

.text-link {
  color: #7c3aed;
  font-weight: 900;
}

.text-link.light,
.section-head.light {
  color: #ffffff;
}

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

.category-tile {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  box-shadow: var(--shadow-soft);
}

.category-tile span {
  font-size: 1.25rem;
  font-weight: 900;
}

.category-tile small {
  opacity: 0.86;
}

.category-tile p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.category-purple { background: linear-gradient(135deg, #7c3aed, #a21caf); }
.category-rose { background: linear-gradient(135deg, #e11d48, #db2777); }
.category-pink { background: linear-gradient(135deg, #db2777, #f97316); }
.category-slate { background: linear-gradient(135deg, #0f172a, #475569); }
.category-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
.category-red { background: linear-gradient(135deg, #b91c1c, #ef4444); }
.category-orange { background: linear-gradient(135deg, #c2410c, #f97316); }
.category-green { background: linear-gradient(135deg, #15803d, #22c55e); }
.category-cyan { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.category-blue { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }

.hot-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(219, 39, 119, 0.22), transparent 30%),
    linear-gradient(135deg, #0f172a, #312e81 52%, #581c87);
}

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

.poster-grid.large {
  grid-template-columns: repeat(5, 1fr);
}

.poster-card {
  position: relative;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff, #fce7f3);
}

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

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

.poster-hover {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.72);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.poster-card:hover .poster-hover {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(135deg, #dc2626, #f97316);
}

.poster-body {
  padding: 16px;
}

.poster-body h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0 0 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.04rem;
  line-height: 1.35;
}

.poster-line {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0 0 12px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 0.92rem;
}

.poster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #475569;
  font-size: 0.86rem;
}

.poster-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f8fafc;
}

.card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(124, 58, 237, 0.86);
}

.category-stack {
  padding-bottom: 56px;
}

.category-strip {
  margin-bottom: 32px;
}

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

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 13px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.mini-card img {
  width: 70px;
  height: 94px;
  border-radius: 12px;
  object-fit: cover;
  background: #e2e8f0;
}

.mini-card h3 {
  margin: 0 0 5px;
  font-size: 0.98rem;
  line-height: 1.3;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-rank {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  background: #dc2626;
}

.page-hero {
  color: #ffffff;
  padding: 68px 0;
  background: linear-gradient(135deg, #312e81, #7c3aed, #db2777);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
}

.page-count {
  margin-top: 12px !important;
}

.page-hero-purple { background: linear-gradient(135deg, #4c1d95, #7c3aed, #db2777); }
.page-hero-blue { background: linear-gradient(135deg, #1e3a8a, #2563eb, #06b6d4); }
.page-hero-red { background: linear-gradient(135deg, #7f1d1d, #dc2626, #f97316); }
.page-hero-slate { background: linear-gradient(135deg, #020617, #334155, #64748b); }
.page-hero-rose { background: linear-gradient(135deg, #881337, #e11d48, #fb7185); }
.page-hero-pink { background: linear-gradient(135deg, #831843, #db2777, #fb7185); }
.page-hero-amber { background: linear-gradient(135deg, #78350f, #d97706, #f59e0b); }
.page-hero-orange { background: linear-gradient(135deg, #7c2d12, #ea580c, #fb923c); }
.page-hero-green { background: linear-gradient(135deg, #14532d, #16a34a, #86efac); }
.page-hero-cyan { background: linear-gradient(135deg, #164e63, #0891b2, #67e8f9); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.filter-panel {
  margin-top: -28px;
  padding: 22px;
}

.filter-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
}

.filter-row label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-weight: 800;
}

.filter-row input,
.filter-row select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  outline: none;
  padding: 12px 13px;
  color: var(--text);
  background: #ffffff;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
}

.filter-actions strong {
  color: #7c3aed;
  font-size: 1.4rem;
}

.filter-actions .btn {
  margin-left: auto;
}

.category-overview-grid {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 24px;
  overflow: hidden;
}

.category-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: 26px;
  border-radius: 22px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.12);
}

.category-overview-copy span {
  font-weight: 900;
  opacity: 0.82;
}

.category-overview-copy h2 {
  margin: 8px 0 12px;
  font-size: 2.2rem;
  line-height: 1.08;
}

.category-overview-copy p {
  color: rgba(255, 255, 255, 0.86);
}

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

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

.side-panel {
  position: sticky;
  top: 112px;
  height: fit-content;
  padding: 20px;
}

.side-panel h2 {
  margin: 0 0 18px;
}

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

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

.rank-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 72px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.rank-number {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  background: linear-gradient(135deg, #dc2626, #f97316);
}

.rank-cover img {
  width: 96px;
  height: 128px;
  border-radius: 16px;
  object-fit: cover;
  background: #e2e8f0;
}

.rank-title {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 1.16rem;
  font-weight: 900;
}

.rank-info p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-size: 0.84rem;
}

.detail-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-top {
  position: relative;
  padding: 70px 0;
}

.detail-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.detail-title-row h1 {
  max-width: 860px;
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.detail-title-row p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.detail-poster {
  position: sticky;
  top: 112px;
}

.detail-poster img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.detail-tags {
  margin-top: 18px;
}

.detail-tags span {
  color: #5b21b6;
  background: #ede9fe;
}

.detail-content {
  display: grid;
  gap: 20px;
}

.meta-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.meta-cards div {
  padding: 18px;
  text-align: center;
}

.meta-cards strong {
  display: block;
  color: #7c3aed;
  font-size: 1.2rem;
}

.meta-cards span {
  color: var(--muted);
  font-size: 0.86rem;
}

.player-card {
  padding: 14px;
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
}

.player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(124, 58, 237, 0.46), rgba(15, 23, 42, 0.62));
}

.player-start span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.45);
  font-size: 2rem;
}

.player-start strong {
  font-size: 1.15rem;
}

.player.is-playing .player-start {
  display: none;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(15, 23, 42, 0.62);
  font-size: 0.84rem;
}

.player.is-playing .player-message {
  display: none;
}

.content-card {
  padding: 24px;
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.content-card p {
  margin: 0;
  color: #334155;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
}

.info-list dt {
  color: var(--muted);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
}

.info-list a {
  color: #7c3aed;
  font-weight: 900;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #0f172a 52%, #1e1b4b);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.1fr;
  gap: 28px;
  padding: 54px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer p {
  margin: 12px 0 0;
  color: #94a3b8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

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

.footer-columns {
  columns: 2;
}

.footer-search {
  width: 100%;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-search input {
  color: #ffffff;
}

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

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
}

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

@media (max-width: 1120px) {
  .poster-grid.large {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .hot-entry,
  .nav-chips {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 190px;
  }

  .hero-poster {
    width: min(260px, 72vw);
    transform: none;
  }

  .hero-search-wrap {
    display: grid;
    bottom: 24px;
  }

  .stats-row,
  .filter-row,
  .meta-cards,
  .footer-grid,
  .detail-layout {
    grid-template-columns: 1fr 1fr;
  }

  .filter-row label:first-child,
  .detail-content,
  .footer-grid section:first-child,
  .footer-grid section:last-child {
    grid-column: 1 / -1;
  }

  .detail-poster {
    position: static;
  }

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

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

  .rank-row .btn {
    grid-column: 3;
    width: fit-content;
  }
}

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

  .brand-text {
    font-size: 1.02rem;
  }

  .hero h1,
  .page-hero h1,
  .detail-title-row h1 {
    letter-spacing: -0.04em;
  }

  .hero-search {
    border-radius: 24px;
    flex-direction: column;
  }

  .hero-search button,
  .footer-search button {
    width: 100%;
  }

  .stats-row,
  .category-grid,
  .poster-grid,
  .poster-grid.large,
  .mini-grid,
  .category-overview-list,
  .filter-row,
  .meta-cards,
  .footer-grid,
  .detail-layout,
  .rank-featured {
    grid-template-columns: 1fr;
  }

  .section-head,
  .detail-title-row {
    align-items: start;
    flex-direction: column;
  }

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

  .rank-cover {
    grid-row: span 2;
  }

  .rank-info,
  .rank-row .btn {
    grid-column: 1 / -1;
  }

  .rank-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
