:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #f97316;
  --accent-2: #ef4444;
  --accent-3: #ec4899;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(249,115,22,.08), transparent 28%),
    radial-gradient(circle at top right, rgba(236,72,153,.06), transparent 22%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2) 65%, var(--accent-3));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(249,115,22,.25);
  font-size: 20px;
}

.brand strong {
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #334155;
}

.nav a,
.nav button {
  color: #334155;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
  transition: .2s ease;
}

.nav a:hover,
.nav button:hover {
  color: #ea580c;
  background: rgba(249,115,22,.08);
}

.nav-dropdown {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.nav-dropdown:hover .nav-menu {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-menu a:hover {
  background: rgba(249,115,22,.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-mini {
  width: 260px;
  padding: 12px 16px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  background: #fff;
  outline: none;
  transition: .2s ease;
}

.search-mini:focus {
  border-color: rgba(249,115,22,.45);
  box-shadow: 0 0 0 4px rgba(249,115,22,.10);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.96);
}

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

.mobile-panel .mobile-links {
  padding: 12px 0 18px;
  display: grid;
  gap: 6px;
}

.mobile-panel a,
.mobile-panel button {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-panel a:hover,
.mobile-panel button:hover {
  background: rgba(249,115,22,.08);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 48%, #ec4899 100%);
  color: #fff;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .38;
  mix-blend-mode: screen;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(253, 224, 71, .70);
  top: 40px;
  left: 5%;
  animation: floatBlob 12s ease-in-out infinite;
}

.hero::after {
  width: 340px;
  height: 340px;
  background: rgba(244, 114, 182, .55);
  right: 6%;
  top: 120px;
  animation: floatBlob 14s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(12px); }
}

.hero-inner {
  position: relative;
  padding: 70px 0 56px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.hero h1 span {
  color: #fef08a;
}

.hero p {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255,255,255,.92);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  cursor: pointer;
  transition: .2s ease;
  font-weight: 700;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: #ea580c;
  box-shadow: 0 14px 30px rgba(15,23,42,.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #fff7ed;
}

.btn-outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.30);
}

.btn-outline:hover {
  background: rgba(255,255,255,.20);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.stat {
  min-width: 110px;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
  backdrop-filter: blur(18px);
}

.hero-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-list {
  display: grid;
  gap: 10px;
}

.hero-mini {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  transition: .2s ease;
}

.hero-mini:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
}

.hero-mini .poster {
  height: 96px;
  border-radius: 16px;
}

.hero-mini h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-mini p {
  margin: 0;
  font-size: .92rem;
  color: rgba(255,255,255,.86);
  line-height: 1.5;
}

.section {
  padding: 44px 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  letter-spacing: -.02em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

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

.card {
  background: var(--panel);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,.18);
}

.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 22%),
    radial-gradient(circle at 80% 28%, rgba(255,255,255,.12), transparent 20%),
    linear-gradient(135deg,
      hsl(var(--hue, 26) 90% 55%) 0%,
      hsl(calc(var(--hue, 26) + 34) 88% 46%) 54%,
      hsl(calc(var(--hue, 26) + 68) 84% 40%) 100%);
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.28) 68%, rgba(0,0,0,.56));
}

.poster::after {
  content: "";
  position: absolute;
  inset: auto -18% -30% -18%;
  height: 44%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  transform: rotate(-10deg);
}

.poster-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: #fff;
}

.poster-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .76rem;
  backdrop-filter: blur(10px);
}

.poster-play {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.poster-content {
  position: relative;
  z-index: 1;
  align-self: start;
  max-width: 90%;
}

.poster-title {
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 0 0 10px;
  text-wrap: balance;
}

.poster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .84rem;
  color: rgba(255,255,255,.92);
}

.poster-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,.16);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: .95rem;
}

.card-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: .9rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.06);
  color: #334155;
  font-size: .86rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.panel-pad {
  padding: 20px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
}

.rank-num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.rank-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.rank-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: .9rem;
}

.rank-right {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  outline: none;
  min-width: 160px;
}

.search-box {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: #fff;
  outline: none;
  box-shadow: 0 8px 18px rgba(15,23,42,.03);
}

.search-box:focus,
.filter:focus {
  border-color: rgba(249,115,22,.45);
  box-shadow: 0 0 0 4px rgba(249,115,22,.10);
}

.count-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  margin-top: 12px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: #475569;
}

.detail-hero {
  padding: 28px 0 10px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.detail-summary {
  display: grid;
  gap: 16px;
}

.detail-cover {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.2), transparent 28%),
    linear-gradient(135deg, rgba(249,115,22,.95), rgba(239,68,68,.95), rgba(236,72,153,.96));
  color: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.detail-cover::before {
  content: "";
  position: absolute;
  inset: auto -18% -32% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(14px);
}

.detail-cover h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.detail-cover p {
  line-height: 1.8;
  color: rgba(255,255,255,.93);
}

.detail-cover .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.detail-cover .chips span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
}

.player-box {
  background: #0b1020;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.08);
}

.player-top {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #e2e8f0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.player-top strong {
  color: #fff;
}

.player-stage {
  background: #020617;
}

video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-actions {
  padding: 14px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #0b1020;
}

.player-actions .btn-outline {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.content-section {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.article {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.article h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
}

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

.article + .article {
  margin-top: 0;
}

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

.related-card {
  display: block;
}

.footer {
  margin-top: 34px;
  padding: 30px 0 46px;
  color: #64748b;
}

.footer-box {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 18px;
}

.footer h3 {
  margin: 0 0 12px;
  color: #0f172a;
}

.footer a {
  color: #475569;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.muted {
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
  transition: .2s ease;
}

.chip-link:hover {
  transform: translateY(-2px);
  border-color: rgba(249,115,22,.28);
  color: #ea580c;
}

.hidden {
  display: none !important;
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border-radius: 22px;
  border: 1px dashed rgba(15,23,42,.14);
}

@media (max-width: 1120px) {
  .grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .detail-grid,
  .hero-inner,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav,
  .header-actions {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .hero-inner {
    padding: 42px 0 38px;
  }
  .section {
    padding: 32px 0;
  }
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ranking-item {
    grid-template-columns: 46px 1fr;
  }
  .rank-right {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1240px);
  }
  .brand strong {
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .grid-cards,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .card-body,
  .panel-pad,
  .article {
    padding: 18px;
  }
  .filters {
    display: grid;
  }
  .filter {
    width: 100%;
    min-width: 0;
  }
  .search-mini {
    width: 100%;
  }
}