/* ============================================================
   妖狐的深夜直播 - Kitsune Streamer Theme
   Fox-fire oranges + midnight purples + streaming overlay motifs
   Mystical modern digital aesthetic on light warm background
   ============================================================ */

/* === CSS Custom Properties === */
:root {
  --accent: #e8734a;
  --accent-hover: #d4623a;
  --accent-light: #fce0d4;
  --accent-pale: #fef3ed;
  --purple: #4a2c6e;
  --purple-light: #7b5ea7;
  --purple-lighter: #a48cc4;
  --purple-dark: #2d1848;
  --purple-deep: #1a0e2e;
  --bg: #faf7f5;
  --bg-card: #ffffff;
  --bg-section: #f5f0f5;
  --text: #2d221e;
  --text-muted: #7a6e68;
  --text-light: #a89890;
  --border: #e8e0dc;
  --border-accent: #f0c4b0;
  --shadow: 0 2px 8px rgba(74, 44, 110, 0.06);
  --shadow-hover: 0 6px 20px rgba(74, 44, 110, 0.12);
  --shadow-glow: 0 0 24px rgba(232, 115, 74, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font-heading: 'Noto Serif SC', 'STSong', 'Songti SC', 'SimSun', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --max-width: 1100px;
  --header-height: 64px;
  --stream-glow: rgba(232, 115, 74, 0.15);
  --purple-glow: rgba(74, 44, 110, 0.08);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Body background: subtle fox-fire glow orbs */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, var(--stream-glow) 0%, transparent 50%),
    radial-gradient(circle at 85% 60%, var(--purple-glow) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, var(--stream-glow) 0%, transparent 40%);
}

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

a { 
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--purple-dark);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-dark) 40%, var(--purple) 100%);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 16px rgba(26, 14, 46, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 2px solid var(--accent);
}

.logo:hover { color: var(--accent-light); }

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  color: rgba(255,255,255,0.78);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(232, 115, 74, 0.35);
  transition: all 0.25s ease;
}

.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(232, 115, 74, 0.5);
  transform: translateY(-1px);
}

/* Live badge dot */
.nav-cta::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #ff4444; }
  50% { opacity: 0.4; box-shadow: 0 0 2px #ff4444; }
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* === Hero Section === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 24px 64px;
  text-align: center;
  z-index: 1;
}

.hero-home .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/yaohudeshenyezhibo-hero-01.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: -1;
  filter: blur(1px);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(250,247,245,0.3) 0%, var(--bg) 100%);
}

.hero-story .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/yaohudeshenyezhibo-screenshot-01.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: -1;
  filter: blur(1px);
}

.hero-characters .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/yaohudeshenyezhibo-screenshot-02.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: -1;
  filter: blur(1px);
}

.hero-guide .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/yaohudeshenyezhibo-screenshot-07.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: -1;
  filter: blur(1px);
}

.hero-faq .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/yaohudeshenyezhibo-hero-01.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  z-index: -1;
  filter: blur(1px);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--accent) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.tag-accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-pale) 100%);
  color: var(--accent-hover);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-accent);
}

.tag-purple {
  display: inline-block;
  background: rgba(74, 44, 110, 0.06);
  color: var(--purple-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(123, 94, 167, 0.2);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #f0805a 100%);
  color: #fff;
  padding: 14px 36px;
  border-radius: 28px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(232, 115, 74, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.hero-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 115, 74, 0.5);
}

/* === Sections === */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--bg-section);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

/* Accent underline for section titles */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--accent), var(--purple-light));
  border-radius: 2px;
}

/* === Info Cards Grid === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.info-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

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

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

.info-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* === Feature Cards === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-left-color: var(--purple-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* === Story Blocks === */
.story-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--purple-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.story-block h3 {
  color: var(--purple);
  margin-bottom: 10px;
}

.story-chapter {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.story-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* === Character Cards === */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.char-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.char-header {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  padding: 28px 20px 20px;
  text-align: center;
}

.char-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #f0805a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 20px rgba(232, 115, 74, 0.25);
}

.char-header h3 {
  color: #fff;
  margin-bottom: 4px;
}

.char-role {
  color: var(--accent-light);
  font-size: 0.85rem;
  font-style: italic;
}

.char-body {
  padding: 20px;
}

.char-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

.char-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.char-tag {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.char-tag-accent {
  background: var(--accent-pale);
  color: var(--accent-hover);
}

.char-tag-purple {
  background: rgba(74, 44, 110, 0.06);
  color: var(--purple-light);
}

/* === Guide Steps === */
.guide-steps {
  counter-reset: step;
}

.guide-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.guide-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(232, 115, 74, 0.3);
}

.guide-step-content h3 {
  margin-bottom: 6px;
}

.guide-step-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tip-box {
  background: linear-gradient(135deg, rgba(74, 44, 110, 0.04) 0%, rgba(123, 94, 167, 0.06) 100%);
  border: 1px solid rgba(123, 94, 167, 0.15);
  border-left: 4px solid var(--purple-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* === FAQ Accordion === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: var(--font-body);
  gap: 12px;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.3rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--purple-lighter);
  color: var(--purple-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* === Gallery / Screenshots === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
}

.gallery-item:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* === CTA Banner === */
.cta-banner {
  max-width: var(--max-width);
  margin: 0 auto 64px;
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, var(--stream-glow) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--purple-glow) 0%, transparent 50%);
  z-index: -1;
}

/* Streaming overlay decorative: corner accents */
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple-light), var(--accent));
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #f0805a 100%);
  color: #fff;
  padding: 14px 36px;
  border-radius: 28px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(232, 115, 74, 0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 115, 74, 0.5);
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 14, 46, 0.95);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 201;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* === Streaming overlay motifs === */
.fox-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  justify-content: center;
}

.fox-divider::before,
.fox-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.fox-divider span {
  font-size: 1.2rem;
  color: var(--accent);
}

/* Stats row (stream stats style) */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin: 32px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* === Review / Quote === */
.review-quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
  box-shadow: var(--shadow);
}

.review-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent-light);
  font-family: var(--font-heading);
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
  opacity: 0.5;
}

.review-quote p {
  padding-left: 28px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.review-author {
  text-align: right;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 8px;
  font-style: italic;
}

/* === Breadcrumbs === */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  z-index: 1;
  position: relative;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span {
  margin: 0 6px;
}

/* === Footer === */
footer {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-dark) 100%);
  padding: 24px;
  text-align: center;
  border-top: 3px solid var(--accent);
  position: relative;
  z-index: 1;
}

footer p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  line-height: 1.8;
}

footer .footer-icon {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.pb-0 { padding-bottom: 0; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* === Page Hero (sub-pages) === */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 24px 36px;
  text-align: center;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

/* === Rating Badge === */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.rating-badge .star {
  color: var(--accent);
}

/* === Table (system reqs) === */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.info-table th,
.info-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.info-table th {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.info-table td:first-child {
  font-weight: 600;
  color: var(--purple-dark);
  background: rgba(74, 44, 110, 0.02);
  white-space: nowrap;
}

/* === Blockquote === */
blockquote {
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* === Ending Cards === */
.ending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.ending-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.ending-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}

.ending-card h4 {
  color: var(--purple);
  margin-bottom: 6px;
}

.ending-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.ending-type {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ending-good {
  background: rgba(74, 44, 110, 0.08);
  color: var(--purple-light);
}

.ending-best {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-pale) 100%);
  color: var(--accent-hover);
}

/* === Streaming overlay "follow" box === */
.stream-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}

.stream-box::before {
  content: '🔴 LIVE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #e53935;
  color: #fff;
  padding: 3px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 24, 72, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 2px;
    display: none;
    z-index: 99;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero { padding: 40px 16px 48px; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }

  .section { padding: 40px 16px; }
  .section-title { font-size: 1.4rem; }

  .feature-grid,
  .char-grid,
  .gallery-grid,
  .ending-grid {
    grid-template-columns: 1fr;
  }

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

  .guide-step {
    flex-direction: column;
    gap: 10px;
  }

  .stats-row {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }

  .header-inner {
    height: 56px;
  }

  :root {
    --header-height: 56px;
  }
}
