/* === halfdemonninjagirlcn.com — Half-Demon Ninja Yokai Theme === */
/* Yokai crimson + shadow-stealth blacks, split-soul dual-color, light rice-paper bg */

:root {
  --crimson: #b5282a;
  --crimson-dark: #8b1a2b;
  --crimson-pale: #e8c4c4;
  --crimson-glow: rgba(181, 40, 42, 0.25);

  --shadow: #1a1a24;
  --shadow-light: #2a2a38;
  --shadow-soft: rgba(26, 26, 36, 0.08);

  --bg: #faf5eb;
  --bg-card: #fffdf7;
  --bg-hero: #f5ede0;

  --text: #2d2418;
  --text-light: #6b5e52;
  --text-muted: #9a8c80;

  --gold: #b8860b;
  --gold-light: #d4a843;

  --font-heading: 'Noto Serif SC', 'STSong', 'Songti SC', 'SimSun', 'KaiTi', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 2px 12px rgba(26, 26, 36, 0.06);
  --shadow-card-hover: 0 4px 20px rgba(26, 26, 36, 0.12);

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

/* === Reset === */
*, *::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;
  min-height: 100vh;
}

/* Rice-paper texture & split-soul ambient glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 15%, rgba(181, 40, 42, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 80%, rgba(26, 26, 36, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 50%, rgba(184, 134, 11, 0.03) 0%, transparent 70%);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

a { color: var(--crimson); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--crimson-dark); }

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--shadow) 0%, #1f1f2b 100%);
  border-bottom: 3px solid var(--crimson);
  height: var(--header-height);
}

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

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

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--shadow) 50%, var(--crimson) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #f0e6d8;
  border: 1px solid rgba(181, 40, 42, 0.4);
}

/* Nav */
nav { display: flex; align-items: center; gap: 28px; }

nav a {
  color: #c8bfb0;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transition: width 0.3s;
}

nav a:hover { color: #f0e6d8; }
nav a:hover::after { width: 100%; }
nav a.active { color: #f0e6d8; }
nav a.active::after { width: 100%; }

/* Header CTA */
.nav-cta {
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: #fff !important;
  padding: 7px 20px !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 2px 10px var(--crimson-glow);
  transition: all 0.25s !important;
}

.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--crimson-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #c8bfb0;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
  position: relative;
  background: linear-gradient(175deg, var(--bg-hero) 0%, var(--bg) 100%);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

/* Split-soul dual-color overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(181, 40, 42, 0.06) 0%, transparent 50%),
    linear-gradient(200deg, transparent 50%, rgba(26, 26, 36, 0.05) 100%);
}

/* Split line — the dual-soul motif dividing crimson and shadow */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(181, 40, 42, 0.3) 15%,
    rgba(26, 26, 36, 0.4) 50%,
    rgba(181, 40, 42, 0.3) 85%,
    transparent 100%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text { flex: 1; }

.hero-text h1 {
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 40%, var(--shadow) 60%, var(--crimson-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-text .subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-style: italic;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-crimson {
  background: rgba(181, 40, 42, 0.1);
  color: var(--crimson);
  border: 1px solid rgba(181, 40, 42, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

.tag-shadow {
  background: rgba(26, 26, 36, 0.06);
  color: var(--shadow);
  border: 1px solid rgba(26, 26, 36, 0.15);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

.tag-gold {
  background: rgba(184, 134, 11, 0.08);
  color: var(--gold);
  border: 1px solid rgba(184, 134, 11, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-meta span { display: flex; align-items: center; gap: 6px; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: #fff;
  padding: 10px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px var(--crimson-glow);
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(181, 40, 42, 0.35);
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--shadow);
  padding: 9px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(26, 26, 36, 0.2);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.hero-visual {
  flex: 0 0 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  border: 1px solid rgba(26, 26, 36, 0.1);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* === Page Hero (sub pages) === */
.page-hero {
  position: relative;
  background: linear-gradient(175deg, var(--bg-hero) 0%, var(--bg) 100%);
  overflow: hidden;
  padding: 48px 24px;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(181, 40, 42, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 70%, rgba(26, 26, 36, 0.04) 0%, transparent 70%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--shadow), var(--crimson), transparent);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 40%, var(--shadow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  font-size: 1rem;
  margin-top: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: var(--text);
  position: relative;
}

/* Split-soul dual-color underline for section titles */
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--crimson) 40%, var(--shadow) 40%, var(--shadow) 60%, var(--crimson) 60%, var(--crimson) 100%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: rgba(26, 26, 36, 0.02);
}

/* === Split-Soul Divider === */
.split-divider {
  text-align: center;
  padding: 8px 24px;
  font-size: 1.3rem;
  color: var(--text-muted);
  letter-spacing: 6px;
  user-select: none;
  position: relative;
}

.split-divider::before,
.split-divider::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  vertical-align: middle;
  margin: 0 16px;
}

.split-divider::before {
  background: linear-gradient(90deg, transparent, var(--crimson));
}

.split-divider::after {
  background: linear-gradient(90deg, var(--shadow), transparent);
}

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

.info-card {
  background: var(--bg-card);
  border: 1px solid rgba(26, 26, 36, 0.08);
  border-left: 3px solid var(--crimson);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all 0.3s;
}

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

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

.info-card .info-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--shadow);
  font-family: var(--font-heading);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(26, 26, 36, 0.06);
  border-left: 4px solid var(--crimson);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}

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

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

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--shadow);
}

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

/* === Guide Steps === */
.guide-steps { max-width: 780px; margin: 0 auto; }

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

.guide-step .step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  box-shadow: 0 0 0 4px rgba(181, 40, 42, 0.15);
}

.guide-step .step-content h3 {
  font-size: 1.1rem;
  color: var(--shadow);
  margin-bottom: 6px;
}

.guide-step .step-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* === Story Blocks === */
.story-block {
  max-width: 780px;
  margin: 0 auto 28px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 4px solid var(--shadow);
  border-right: 2px solid var(--crimson-pale);
  transition: all 0.3s;
}

.story-block:hover {
  border-left-color: var(--crimson);
  box-shadow: var(--shadow-card-hover);
}

.story-block .story-chapter {
  font-size: 0.78rem;
  color: var(--crimson);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.story-block h3 {
  font-size: 1.15rem;
  color: var(--shadow);
  margin-bottom: 8px;
}

.story-block p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.7;
}

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

.char-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 26, 36, 0.08);
  transition: all 0.3s;
}

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

.char-card-header {
  background: linear-gradient(135deg, var(--shadow) 0%, var(--shadow-light) 100%);
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid var(--crimson);
}

.char-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 50%, var(--shadow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.char-card-header h3 {
  color: #f0e6d8;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.char-card-header .char-role {
  color: rgba(240, 230, 216, 0.6);
  font-size: 0.82rem;
}

.char-card-body {
  padding: 16px 20px;
}

.char-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

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

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 26, 36, 0.08);
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

/* === FAQ Accordion === */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(26, 26, 36, 0.08);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-card);
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(181, 40, 42, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--shadow);
  user-select: none;
  transition: color 0.2s;
}

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

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(181, 40, 42, 0.08);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s;
}

.faq-item.open .faq-toggle {
  background: var(--crimson);
  color: #fff;
  transform: rotate(45deg);
}

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

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

.faq-answer-inner {
  padding: 0 20px 16px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px solid rgba(26, 26, 36, 0.05);
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(160deg, var(--shadow) 0%, var(--shadow-light) 30%, var(--crimson-dark) 100%);
  color: #f0e6d8;
  text-align: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 60% at 30% 50%, rgba(181, 40, 42, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 30% 50% at 70% 50%, rgba(26, 26, 36, 0.2) 0%, transparent 70%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #f0e6d8;
}

.cta-banner p {
  opacity: 0.8;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

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

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

/* === Reviews === */
.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(26, 26, 36, 0.06);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.review-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-left-color: var(--crimson);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--shadow) 0%, var(--crimson-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0e6d8;
  font-weight: 700;
  font-size: 1rem;
}

.review-meta .review-author {
  font-weight: 700;
  color: var(--shadow);
  font-size: 0.95rem;
}

.review-meta .review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars { color: var(--gold); letter-spacing: 2px; }

.review-body {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* === Stats Row === */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: center;
  margin-bottom: 32px;
}

.stat-item .stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === Tip Box === */
.tip-box {
  background: rgba(181, 40, 42, 0.04);
  border: 1px solid rgba(181, 40, 42, 0.15);
  border-left: 4px solid var(--crimson);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.6;
}

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

/* === Blockquote === */
blockquote {
  border-left: 4px solid var(--shadow);
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(26, 26, 36, 0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-light);
  font-style: italic;
}

/* === Footer === */
footer {
  background: var(--shadow);
  color: rgba(240, 230, 216, 0.6);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
  border-top: 3px solid var(--crimson);
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 36, 0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox.active { display: flex; }

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2rem;
  color: #f0e6d8;
  cursor: pointer;
  z-index: 1;
  background: none;
  border: none;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--crimson); }

/* === Download Card === */
.download-card {
  background: var(--bg-card);
  border: 2px solid rgba(181, 40, 42, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.download-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--shadow);
  margin-bottom: 8px;
}

.download-card .version {
  font-size: 0.85rem;
  color: var(--crimson);
  font-weight: 600;
  margin-bottom: 4px;
}

.download-card .platform {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.download-card .download-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* === Info Table === */
.info-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 32px;
  border-collapse: collapse;
}

.info-table th {
  text-align: left;
  padding: 10px 16px;
  background: rgba(181, 40, 42, 0.06);
  color: var(--crimson-dark);
  font-weight: 600;
  font-size: 0.88rem;
  width: 120px;
  border-bottom: 1px solid rgba(26, 26, 36, 0.06);
  font-family: var(--font-heading);
}

.info-table td {
  padding: 10px 16px;
  color: var(--text-light);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(26, 26, 36, 0.06);
}

/* === Utility === */
.text-center { text-align: center; }
.intro-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }
.tip-center { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* === Responsive === */
@media (max-width: 768px) {
  :root { --header-height: 56px; }

  .hamburger { display: flex; }

  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--shadow);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 3px solid var(--crimson);
    transform: translateY(-120%);
    transition: transform 0.3s;
    z-index: 99;
  }

  nav.open { transform: translateY(0); }

  nav a {
    padding: 12px 24px;
    width: 100%;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav a::after { display: none; }

  .nav-cta {
    margin: 12px 24px;
    text-align: center;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }

  .hero-text h1 { font-size: 2rem; }
  .hero-visual { flex: 0 0 auto; width: 100%; }

  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .char-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }

  .hero-text h1 { font-size: 1.6rem; }
  .hero-inner { padding: 24px 16px; }
  .info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 16px; flex-direction: column; }
  .guide-step { flex-direction: column; gap: 10px; }
  .info-table th { width: 90px; }
}
