/* ===== Base ===== */
:root {
  --bg: #08080c;
  --bg-soft: #0e0e16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f7;
  --muted: #9a9aa8;
  --muted-2: #6e6e7c;
  --accent: #a855f7;
  --accent-2: #ec4899;
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.ambient-one { width: 520px; height: 520px; background: #6d28d9; top: -180px; left: -120px; }
.ambient-two { width: 460px; height: 460px; background: #be185d; top: 340px; right: -200px; opacity: 0.22; }

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.06em; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 12px; color: #fff; box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35);
}
.brand-text { font-size: 15px; }
.social-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.social-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 12px; font-weight: 600;
  transition: all 0.2s ease;
}
.social-link:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-hover); transform: translateY(-1px); }
.social-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ===== Hero ===== */
.hero { padding: 110px 24px 90px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.09);
  color: #d8b4fe; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #c084fc; box-shadow: 0 0 0 4px rgba(192,132,252,0.15); }
.hero h1 {
  margin: 26px auto 16px;
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 850;
  background: linear-gradient(180deg, #ffffff 20%, #c9c9d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 900px;
}
.hero-tagline { margin: 0; color: #d6b4fa; font-size: clamp(15px, 2vw, 19px); font-weight: 600; }
.hero-desc { margin: 18px auto 0; max-width: 660px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 700; transition: all 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff; box-shadow: 0 10px 30px rgba(168, 85, 247, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(168, 85, 247, 0.42); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-hover); transform: translateY(-2px); }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.12em; }

/* ===== Ads ===== */
.ad-block { margin: 8px auto 0; }
.ad-slot { min-height: 90px; display: flex; align-items: center; justify-content: center; }
.ad-slot:empty { display: none; }
.ad-label { font-size: 10px; color: var(--muted-2); letter-spacing: 0.15em; text-transform: uppercase; }

/* ===== Sections ===== */
.section { padding: 72px 0 20px; scroll-margin-top: 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.eyebrow { display: block; font-size: 10px; letter-spacing: 0.18em; font-weight: 800; color: var(--accent); text-transform: uppercase; margin-bottom: 7px; }
.section h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.025em; font-weight: 800; }
.section-note { color: var(--muted-2); font-size: 12px; }

/* ===== Featured ===== */
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; transition: transform 0.28s ease, border-color 0.28s ease;
}
.feature-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.82) 100%); z-index: 1; pointer-events: none; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.feature-content { position: relative; z-index: 2; }
.feature-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.13); backdrop-filter: blur(8px);
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: #fff;
}
.tag-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.feature-card h3 { margin: 0 0 4px; font-size: 25px; letter-spacing: -0.02em; font-weight: 800; }
.feature-sub { margin: 0 0 10px; color: rgba(255,255,255,0.6); font-size: 12px; letter-spacing: 0.05em; }
.feature-desc { margin: 0 0 16px; color: rgba(255,255,255,0.78); font-size: 13px; line-height: 1.65; max-width: 460px; }
.feature-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: rgba(255,255,255,0.65); }
.watch-link { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: 12px; }
.watch-link:hover { color: #e9d5ff; }

/* ===== Filters ===== */
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 12px; font-weight: 600;
  transition: all 0.18s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active { background: var(--text); color: #0a0a0f; border-color: var(--text); }

/* ===== Card grid ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--surface); transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-hover); }
.card-cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-cover img { transform: scale(1.05); }
.cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.cover-fallback::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.4) 100%); }
.cover-initial { font-size: 46px; font-weight: 850; color: rgba(255,255,255,0.9); letter-spacing: -0.04em; position: relative; z-index: 1; }
.card-episodes {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  padding: 4px 9px; border-radius: 7px; background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px); font-size: 10px; font-weight: 700; color: #fff;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.card h3 { margin: 6px 0 2px; font-size: 17px; font-weight: 750; letter-spacing: -0.01em; }
.card-sub { margin: 0 0 10px; font-size: 11px; color: var(--muted-2); }
.card-desc { margin: 0 0 18px; font-size: 12.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.platform { font-size: 10px; color: var(--muted-2); font-weight: 600; letter-spacing: 0.04em; }
.card-cta { font-size: 11px; font-weight: 700; color: #d8b4fe; display: inline-flex; align-items: center; gap: 5px; }
.card.is-empty .card-cta { color: var(--muted-2); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--border); border-radius: 16px; }

/* ===== About ===== */
.about-section { padding-bottom: 60px; }
.about-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(168,85,247,0.07), rgba(236,72,153,0.04));
  padding: 42px; text-align: center;
}
.about-card h2 { margin: 0 0 16px; font-size: 28px; letter-spacing: -0.02em; }
.about-card p { margin: 0 auto; max-width: 700px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.about-social { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { margin: 0; color: var(--muted-2); font-size: 12px; }
.footer-tag { color: var(--muted-2); font-size: 11px; letter-spacing: 0.04em; }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .hero { padding: 74px 20px 60px; }
  .hero-stats { gap: 26px; margin-top: 40px; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 280px; padding: 22px; }
  .section { padding: 52px 0 12px; }
  .about-card { padding: 30px 22px; }
  .header-inner { height: 64px; }
  .brand-text { font-size: 13px; }
  .social-link { padding: 6px 10px; font-size: 11px; }
  .social-link span { display: none; }
}
