/* ============================================================
   虫爱少女 — Insectarium Theme
   Iridescent beetle-greens, chitin-browns, hexagonal-honeycomb
   motifs on a light natural background.
   ============================================================ */

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

/* ========== CSS VARIABLES ========== */
:root {
  /* Backgrounds */
  --bg: #f8f4ea;
  --bg-warm: #f3efe2;
  --bg-card: #fefcf6;
  --bg-dark: #1a2e1a;
  --bg-hero-overlay: rgba(18, 30, 18, 0.65);

  /* Primary — iridescent beetle green */
  --primary: #2d8a56;
  --primary-light: #4aae78;
  --primary-dark: #1e5e3a;
  --primary-glow: rgba(45, 138, 86, 0.15);

  /* Chitin browns */
  --brown: #6b4226;
  --brown-light: #8b5e3c;
  --brown-dark: #4a2c18;

  /* Honeycomb gold */
  --gold: #c4963e;
  --gold-light: #d4a843;
  --gold-pale: #e8d5a3;

  /* Text */
  --text: #2c2416;
  --text-soft: #5a4f3e;
  --text-muted: #8a7e6e;

  /* Accent colors for strong tags */
  --accent-green: #2d8a56;
  --accent-gold: #c4963e;
  --accent-brown: #8b5e3c;
  --accent-dark: #3d6b4f;

  /* Borders */
  --border: #d9cfbc;
  --border-light: #e8dfce;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 36, 22, 0.08);
  --shadow-md: 0 4px 12px rgba(44, 36, 22, 0.10);
  --shadow-lg: 0 8px 24px rgba(44, 36, 22, 0.12);

  /* Fonts */
  --font-serif: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Layout */
  --max-width: 1100px;
  --header-height: 64px;
  --radius: 8px;
  --radius-sm: 6px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ========== HEXAGONAL BACKGROUND PATTERN ========== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(45,138,86,0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 40%, rgba(196,150,62,0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 75%, rgba(107,66,38,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Hexagonal honeycomb decorative pattern (subtle) */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 17.32v34.64L30 52 0 34.64V17.32z' fill='none' stroke='%23d9cfbc' stroke-width='0.4' opacity='0.5'/%3E%3Cpath d='M30 52l30-17.32V0L30 17.32z' fill='none' stroke='%23d9cfbc' stroke-width='0.3' opacity='0.35'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1f3522 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary-light), var(--gold));
  opacity: 0.7;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

/* Header nav links */
nav { display: flex; align-items: center; gap: 4px; }

nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-weight: 500;
}

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

/* Header CTA button */
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: #2c1f0a !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(196,150,62,0.35);
  transition: all 0.3s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196,150,62,0.5) !important;
  background: linear-gradient(135deg, var(--gold-light), #e0b450) !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 1px;
  transition: all 0.3s;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  padding: 60px 24px 80px;
  text-align: center;
  background: linear-gradient(135deg, #1e3522 0%, #2a4a2f 40%, #1a2e1a 100%);
  overflow: hidden;
  z-index: 1;
}

/* Honeycomb overlay on hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='40' height='35' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0l20 11.55v23.1L20 34.65 0 23.1V11.55z' fill='none' stroke='%23c4963e' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 40px 35px;
  opacity: 0.4;
  z-index: 0;
}

/* Iridescent beetle-green shimmer */
.hero::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(45,138,86,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(196,150,62,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(107,66,38,0.06) 0%, transparent 50%);
  z-index: 0;
  animation: shimmer 12s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

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

.hero img.hero-header-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  margin-bottom: 24px;
  border: 2px solid rgba(196,150,62,0.3);
}

.hero-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 400;
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-title-main .jp-subtitle {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ========== SUB-PAGE HERO OVERRIDES ========== */
.hero-subpage {
  padding: 40px 24px 48px;
}

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

/* ========== PAGE-SPECIFIC HERO BACKGROUNDS ========== */
.hero-index .hero-bg { background-image: url('../img/header.jpg'); }
.hero-guide .hero-bg { background-image: url('../img/screenshot-03.jpg'); }
.hero-story .hero-bg { background-image: url('../img/screenshot-02.jpg'); }
.hero-characters .hero-bg { background-image: url('../img/screenshot-04.jpg'); }
.hero-faq .hero-bg { background-image: url('../img/screenshot-01.jpg'); }

/* ========== MAIN CONTENT ========== */
main {
  position: relative;
  z-index: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.section-alt {
  background: var(--bg-warm);
  padding: 60px 0;
}

.section-no-padding {
  padding: 0;
}

.section-title-group {
  text-align: center;
  margin-bottom: 44px;
}

.section-title-group-spaced {
  margin-top: 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-top: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CONTENT SECTION (sub-pages) ========== */
.content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 60px;
}

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

.content-section h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}

.content-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  margin-top: 24px;
  margin-bottom: 8px;
}

.content-section p {
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* ========== INFO CARDS (index) ========== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

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

.info-card .info-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.info-card .info-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== GAME OVERVIEW (index) ========== */
.prose-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 0.95rem;
}

.prose-centered:last-of-type {
  margin-bottom: 40px;
}

.game-info-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0;
}

/* ========== FEATURE CARDS (index) ========== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

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

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

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

/* Hexagonal icon containers for feature cards */
.feature-card .hex-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: #fff;
}

/* ========== SCREENSHOT GALLERY (index) ========== */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.screenshot-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.screenshot-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* ========== PLAYER REVIEWS (index) ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.review-card .review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.review-card .review-text {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.8;
  font-style: italic;
}

.review-card .review-author {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 12px;
  font-style: normal;
}

/* ========== CTA BANNER (index only) ========== */
.cta-banner {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1f3522 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='32' height='28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 0l16 9.24v18.48L16 27.72 0 18.48V9.24z' fill='none' stroke='%23c4963e' stroke-width='0.3' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 32px 28px;
  z-index: 0;
}

.cta-banner h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 24px;
}

.cta-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #2c1f0a;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 40px;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(196,150,62,0.4);
  transition: all 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(196,150,62,0.55);
}

/* ========== GUIDE PAGE ========== */
.guide-intro {
  max-width: 800px;
  margin: 0 auto 28px;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 0.95rem;
}

.guide-step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

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

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

.guide-steps-wrapper {
  counter-reset: guide-step;
}

.guide-tip {
  background: linear-gradient(135deg, rgba(45,138,86,0.08), rgba(196,150,62,0.08));
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.guide-tip strong {
  color: var(--accent-green);
}

.route-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-top: 28px;
  margin-bottom: 8px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.route-desc {
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 12px;
  font-size: 0.93rem;
}

/* ========== CHAPTER TITLE ========== */
.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--border);
}

/* ========== CHARACTER CARDS (characters.html) ========== */
.char-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.char-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--brown-light));
}

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

.char-card .char-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.char-card .char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.char-tag {
  display: inline-block;
  background: var(--primary-glow);
  color: var(--primary-dark);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(45,138,86,0.2);
}

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

.char-card .char-va {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 10px;
}

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

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 48px 18px 22px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  line-height: 1.5;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.85;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.faq-intro {
  color: var(--text-soft);
  margin-bottom: 32px;
}

/* ========== SYSTEM REQUIREMENTS TABLE ========== */
.sys-reqs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}

.sys-reqs-table th,
.sys-reqs-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.sys-reqs-table th {
  background: var(--primary-glow);
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.85rem;
}

.sys-reqs-table td {
  color: var(--text-soft);
}

.sys-reqs-h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

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

.sys-note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== SECTION-SUBHEADING ========== */
.section-subheading {
  text-align: center;
  margin: 40px 0 24px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown-dark);
}

/* ========== LIGHTBOX ========== */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.88);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
}

/* ========== CONTENT LIST CLASSES ========== */
.content-list {
  list-style: disc;
  padding-left: 20px;
}

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

.content-li {
  margin-bottom: 5px;
  color: var(--text-soft);
}

.content-li-sm {
  margin-bottom: 4px;
  color: var(--text-soft);
}

.content-li-md {
  margin-bottom: 8px;
  color: var(--text-soft);
}

.content-li-lg {
  margin-bottom: 10px;
  color: var(--text-soft);
}

/* ========== COLORED STRONG TAGS ========== */
.strong-green { color: var(--accent-green); }
.strong-gold { color: var(--accent-gold); }
.strong-brown { color: var(--accent-brown); }
.strong-dark { color: var(--accent-dark); }
.strong-muted { color: var(--text-muted); }

/* ========== TABLE HIGHLIGHT ========== */
.td-highlight {
  color: var(--primary);
  font-weight: 700;
}

/* ========== TABLE SCROLL ========== */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== SR-ONLY (screen reader only) ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 28px 24px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

footer p {
  margin: 0;
}

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

  .hero-title-main .jp-subtitle {
    font-size: 0.95rem;
  }

  .hero-subpage-title {
    font-size: 1.6rem;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 16px 24px;
    gap: 2px;
    border-bottom: 2px solid var(--gold);
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  nav.open {
    display: flex;
  }

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

  .nav-cta {
    margin-left: 0;
    margin-top: 4px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

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

  .feature-cards {
    grid-template-columns: 1fr;
  }

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

  .char-cards {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .content-section h2 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* ========== RESPONSIVE — 480px ========== */
@media (max-width: 480px) {
  .hero-title-main {
    font-size: 1.6rem;
  }

  .hero-title-main .jp-subtitle {
    font-size: 0.85rem;
  }

  .hero-subpage-title {
    font-size: 1.35rem;
  }

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

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

  .section {
    padding: 40px 16px;
  }

  .section-alt {
    padding: 40px 0;
  }

  .content-section {
    padding: 36px 16px 40px;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }

  .cta-btn {
    padding: 12px 32px;
    font-size: 1rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 14px 44px 14px 16px;
  }

  .guide-step {
    padding: 18px;
  }
}
