/* ============================================================
   主播女孩重度依赖 - Needy Streamer Overdose Theme
   "Streamer Overdose" — Neon Internet Pink × Dark Web Black
   Emoji-Glitch Motifs on Light Digital Background
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

/* --- Design Tokens --- */
:root {
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-serif: 'Noto Serif SC', 'STSong', 'SimSun', serif;

  /* Light Digital Background */
  --bg: #faf6f9;
  --bg-card: #ffffff;
  --bg-subtle: #f5eff6;

  /* Neon Pinks */
  --pink-fierce: #ff2d78;
  --pink-glow: #ff69b4;
  --pink-soft: #ffb3d0;
  --pink-mist: #ffe0ec;

  /* Dark Web Blacks */
  --dark-web: #0f0510;
  --dark-surface: #1a0a1c;
  --dark-elevated: #241024;

  /* Internet Cyan / Screen Glow */
  --cyan-internet: #00e5ff;
  --cyan-dim: #00b8d4;

  /* Accent & Utility */
  --danger-red: #ff1744;
  --gold: #ffd700;
  --gold-soft: #fff176;

  /* Text */
  --text: #1a1a2e;
  --text-soft: #5c5470;
  --text-muted: #9e95b0;

  /* Borders & Shadows */
  --border: #efe5f0;
  --border-accent: #e8d5ec;
  --shadow-sm: 0 2px 8px rgba(15, 5, 16, 0.06);
  --shadow-md: 0 4px 24px rgba(15, 5, 16, 0.10);
  --shadow-glow: 0 0 20px rgba(255, 45, 120, 0.15);
  --shadow-cyan: 0 0 16px rgba(0, 229, 255, 0.12);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;

  --header-height: 64px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;

  /* Emoji-glitch body pattern — subtle streamer motif */
  background-image:
    radial-gradient(circle at 15% 90%, rgba(255,45,120,0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 10%, rgba(0,229,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,105,180,0.02) 0%, transparent 70%);
  background-attachment: fixed;
}

a { color: var(--pink-fierce); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink-glow); }

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

/* --- Screen Reader Only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark-web);
  border-bottom: 3px solid var(--pink-fierce);
  box-shadow: 0 2px 20px rgba(255,45,120,0.15);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 2px solid var(--pink-fierce);
  box-shadow: 0 0 12px rgba(255,45,120,0.3);
}

.header-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Emoji-glitch decorative */
.header-title::after {
  content: ' 💻✨';
  font-size: 0.8rem;
}

/* Nav */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all 0.25s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,45,120,0.25);
  text-shadow: 0 0 8px rgba(255,105,180,0.5);
}

.nav-links a.active {
  background: rgba(255,45,120,0.35);
}

/* Nav item with emoji decoration */
.nav-links li:nth-child(1) a::before { content: '🏠 '; }
.nav-links li:nth-child(2) a::before { content: '📖 '; }
.nav-links li:nth-child(3) a::before { content: '📜 '; }
.nav-links li:nth-child(4) a::before { content: '💖 '; }
.nav-links li:nth-child(5) a::before { content: '❓ '; }

/* Header CTA Button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--pink-fierce), var(--pink-glow));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 18px rgba(255,45,120,0.4);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: cta-shimmer 3s infinite;
}

@keyframes cta-shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 28px rgba(255,45,120,0.55);
  color: #fff !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 60px 24px 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark-web) 0%, #1a0a1c 60%, var(--bg) 100%);
  overflow: hidden;
}

/* Glitch decorative lines in hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,45,120,0.03) 2px, rgba(255,45,120,0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0,229,255,0.02) 40px, rgba(0,229,255,0.02) 42px);
  pointer-events: none;
}

/* Emoji rain — subtle */
.hero::after {
  content: '💻 ✨ 💖 📱 🎮 💊 🌐 💔';
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  font-size: 1.2rem;
  letter-spacing: 2rem;
  opacity: 0.06;
  color: var(--pink-glow);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,45,120,0.2);
  border: 1px solid rgba(255,105,180,0.4);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pink-glow);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  text-shadow:
    0 0 20px rgba(255,45,120,0.5),
    0 0 60px rgba(255,45,120,0.2);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-image-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 8px 40px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,45,120,0.2);
}

/* Sub-page hero (compact) */
.hero-subpage {
  padding: 40px 24px 48px;
}

.hero-subpage-title {
  font-size: 2rem;
  font-weight: 700;
}

/* ============================================================
   CONTENT SECTION
   ============================================================ */
.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.content-section h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 720px;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 36px 0;
}

.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--pink-fierce);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--pink-glow);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-surface);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* Info cards on index */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.info-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.info-card-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-surface);
}

/* --- Screenshot Gallery --- */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.screenshot-grid img {
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid var(--border);
  transition: all 0.3s;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.screenshot-grid img:hover {
  border-color: var(--pink-glow);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

/* --- Review Quotes --- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.quote-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan-internet);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--pink-mist);
  position: absolute;
  top: -4px;
  left: 12px;
  line-height: 1;
}

.quote-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-style: italic;
  padding-left: 16px;
  margin-bottom: 8px;
}

.quote-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 16px;
}

/* --- CTA Banner (index only) --- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-web), var(--dark-elevated));
  border: 2px solid rgba(255,45,120,0.25);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 4px 24px rgba(15,5,16,0.2);
}

.cta-banner::before {
  content: '💻 ✨ 💖 💊 🌐';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 2rem;
  letter-spacing: 3rem;
  opacity: 0.05;
  color: var(--pink-glow);
  pointer-events: none;
}

.cta-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--pink-fierce), var(--pink-glow));
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 24px rgba(255,45,120,0.5);
  transition: all 0.3s;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 36px rgba(255,45,120,0.65);
  color: #fff !important;
}

/* ============================================================
   GUIDE PAGE
   ============================================================ */
.guide-intro {
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 780px;
  margin-bottom: 32px;
}

.guide-step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan-internet);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  position: relative;
}

.guide-step::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 28px;
  width: 4px;
  height: 40px;
  background: var(--cyan-internet);
  border-radius: 0 4px 4px 0;
  opacity: 0.6;
}

.guide-step h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-surface);
  margin-bottom: 8px;
}

.guide-step p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.tip-box {
  background: linear-gradient(135deg, var(--pink-mist), var(--bg-card));
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}

.tip-box strong {
  color: var(--pink-fierce);
}

.tip-box-cyan {
  background: linear-gradient(135deg, rgba(0,229,255,0.06), var(--bg-card));
  border: 1px solid rgba(0,229,255,0.2);
}

.tip-box-cyan strong { color: var(--cyan-internet); }

.route-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pink-fierce);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pink-mist);
}

.route-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* --- Content Lists --- */
.content-list {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0;
}

.content-list-num {
  list-style: decimal;
  padding-left: 24px;
  margin: 12px 0;
}

.content-li {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 5px;
  line-height: 1.7;
}

.content-li-sm {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 4px;
  line-height: 1.65;
}

.content-li-md {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.75;
}

.content-li-lg {
  color: var(--text-soft);
  font-size: 0.97rem;
  margin-bottom: 10px;
  line-height: 1.8;
}

/* --- Table --- */
.table-scroll {
  overflow-x: auto;
  margin: 20px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table thead {
  background: var(--dark-web);
  color: #fff;
}

.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-subtle);
}

.td-highlight {
  color: var(--pink-fierce) !important;
  font-weight: 700;
}

/* --- Colored Strong Tags --- */
.strong-pink { color: var(--pink-fierce); font-weight: 700; }
.strong-red { color: var(--danger-red); font-weight: 700; }
.strong-gold { color: #b8960c; font-weight: 700; }
.strong-muted { color: var(--text-muted); font-weight: 600; }
.strong-navy { color: var(--dark-surface); font-weight: 700; }
.strong-cyan { color: var(--cyan-internet); font-weight: 700; }

/* --- Chapter Title (story page) --- */
.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-surface);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pink-mist);
}

/* --- Section Subheading (characters) --- */
.section-subheading {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-surface);
  margin: 40px 0 24px;
}

/* --- System Reqs Heading --- */
.sys-reqs-h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-surface);
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pink-mist);
}

.sys-reqs-h3:first-of-type {
  margin-top: 12px;
}

/* --- Character Card --- */
.char-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.char-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-glow);
}

.char-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-surface);
  margin-bottom: 6px;
}

.char-card .char-role {
  font-size: 0.85rem;
  color: var(--pink-fierce);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

.char-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  list-style: none;
}

.char-traits li {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-soft);
  border: 1px solid var(--border);
}

/* --- Accordion (FAQ) --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.accordion-header:hover {
  background: var(--bg-subtle);
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--pink-fierce);
  transition: transform 0.3s;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-body {
  max-height: 800px;
}

.accordion-body-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.8;
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,5,16,0.92);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  border: 3px solid rgba(255,45,120,0.3);
  box-shadow: 0 0 60px rgba(255,45,120,0.2);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.lightbox-close:hover {
  color: #fff;
  background: rgba(255,45,120,0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-web);
  padding: 28px 24px;
  text-align: center;
  border-top: 3px solid var(--pink-fierce);
}

.site-footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-title-main { font-size: 2.2rem; }
  .hero-subpage-title { font-size: 1.5rem; }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }

  .header-title { font-size: 0.95rem; }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-top: 8px;
    gap: 0;
  }

  .nav-links a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .header-cta {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .card-grid, .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .info-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-section {
    padding: 32px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title-main { font-size: 1.7rem; }
  .hero-subpage-title { font-size: 1.3rem; }

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

  .cta-banner {
    padding: 32px 20px;
  }

  .cta-banner h3 { font-size: 1.3rem; }
}
