/* ============================================================
   邪恶变形系统 (Evil Transform System) — Theme CSS
   Transformation Sci-Fi: morphing purples, cybernetic silvers,
   DNA-helix motifs on light tech background
   ============================================================ */

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

/* --- CSS Variables --- */
:root {
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif SC', Georgia, serif;

  /* Morphing Purples */
  --purple-deep: #4a1a6b;
  --purple-mid: #6e2d9e;
  --purple-glow: #8b4fc4;
  --purple-soft: #b388d9;
  --purple-mist: #dcc8f0;

  /* Cybernetic Silvers */
  --silver-dark: #3a3d4a;
  --silver-mid: #6b6f82;
  --silver-glow: #9a9eb5;
  --silver-light: #c4c7d4;
  --silver-mist: #e8e9f0;

  /* Light Tech Background */
  --bg: #faf8fc;
  --bg-card: #ffffff;
  --bg-hero-overlay: rgba(74, 26, 107, 0.35);
  --bg-accent: #f3edfa;

  /* Text */
  --text: #1a1028;
  --text-soft: #5a4e6b;
  --text-muted: #8a8098;

  /* Accent */
  --accent: #8b4fc4;
  --accent-glow: #a86bdb;
  --accent-border: #6e2d9e;
  --success: #3cb878;
  --warning: #e8a840;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(74, 26, 107, 0.08);
  --shadow-md: 0 4px 12px rgba(74, 26, 107, 0.12);
  --shadow-lg: 0 8px 30px rgba(74, 26, 107, 0.15);
  --shadow-glow: 0 0 20px rgba(139, 79, 196, 0.25);

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* DNA-helix background pattern via pseudo-element */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(139, 79, 196, 0.03) 59px,
      rgba(139, 79, 196, 0.03) 60px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(107, 111, 130, 0.02) 59px,
      rgba(107, 111, 130, 0.02) 60px
    );
}

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

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

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

/* --- 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;
}

/* --- Header (Sticky, Dark) --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--purple-deep), #2d1045);
  border-bottom: 3px solid var(--accent-border);
  box-shadow: var(--shadow-md);
  height: var(--header-height);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo:hover {
  color: var(--purple-mist);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

nav a {
  display: block;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
}

nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(139, 79, 196, 0.3);
}

/* Header CTA Button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--accent-glow), var(--purple-glow));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(139, 79, 196, 0.35);
  border: 1px solid rgba(255,255,255,0.15);
}

.header-cta:hover {
  background: linear-gradient(135deg, var(--purple-glow), #9e5edb);
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 79, 196, 0.5);
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1045 30%, #1a0a2e 100%);
  color: #fff;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  z-index: 1;
}

/* DNA helix decorative overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 79, 196, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(107, 111, 130, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(180, 136, 217, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle DNA helix lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 120px,
      rgba(139, 79, 196, 0.04) 120px,
      rgba(139, 79, 196, 0.04) 122px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 120px,
      rgba(139, 79, 196, 0.04) 120px,
      rgba(139, 79, 196, 0.04) 122px
    );
  pointer-events: none;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(139, 79, 196, 0.4);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--purple-mist);
  margin-bottom: 8px;
  font-weight: 300;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(139, 79, 196, 0.5);
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-badge span {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--purple-mist);
  backdrop-filter: blur(4px);
}

/* --- Main Content --- */
main {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Common --- */
section {
  padding: 60px 0;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple-soft));
  border-radius: 2px;
}

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

/* --- Game Info Cards (index) --- */
.game-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-border);
  transition: all var(--transition);
}

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

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--purple-deep);
  margin-bottom: 6px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--purple-glow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(139,79,196,0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--purple-deep);
  margin-bottom: 8px;
}

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

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

.screenshot-grid a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.screenshot-grid a:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  border-color: var(--accent-border);
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* --- Reviews Section --- */
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--silver-glow);
}

.review-card .review-stars {
  color: var(--warning);
  font-size: 1rem;
  margin-bottom: 8px;
}

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

.review-card .review-author {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- CTA Banner (index only) --- */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-deep), #2d1045);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139,79,196,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(180,136,217,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

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

.cta-banner p {
  color: var(--purple-mist);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.cta-button {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--accent-glow), var(--purple-glow));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(139,79,196,0.35);
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--purple-glow), #9e5edb);
  color: #fff;
  box-shadow: 0 0 28px rgba(139,79,196,0.5);
  transform: translateY(-2px);
}

/* --- Content Section (sub-pages) --- */
.content-section {
  padding: 48px 0;
}

.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.4rem;
  color: var(--purple-deep);
  margin: 32px 0 12px;
}

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

/* --- Guide Page --- */
.guide-steps {
  counter-reset: step;
  list-style: none;
}

.guide-steps li {
  counter-increment: step;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 28px 24px 72px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-border);
}

.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-glow));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-steps h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--purple-deep);
  margin: 0 0 6px;
}

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

.guide-intro {
  color: var(--text-soft);
  margin-bottom: 24px;
  font-size: 1.02rem;
  line-height: 1.85;
}

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

.route-heading {
  font-family: var(--font-serif);
  color: var(--purple-deep);
  margin: 24px 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.tip-box {
  background: linear-gradient(135deg, var(--bg-accent), rgba(139,79,196,0.06));
  border: 1px solid rgba(139,79,196,0.15);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
}

.tip-box strong {
  color: var(--purple-deep);
  font-family: var(--font-serif);
}

.tip-box p {
  color: var(--text-soft);
  margin: 4px 0 0;
  font-size: 0.93rem;
}

.warning-box {
  background: linear-gradient(135deg, rgba(232,168,64,0.08), rgba(232,168,64,0.03));
  border: 1px solid rgba(232,168,64,0.2);
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
}

.warning-box strong {
  color: #c07a20;
  font-family: var(--font-serif);
}

.warning-box p {
  color: var(--text-soft);
  margin: 4px 0 0;
  font-size: 0.93rem;
}

/* --- Story Page --- */
.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--purple-deep);
  font-weight: 600;
  margin: 20px 0 6px;
}

.story-block {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--purple-soft);
}

.story-block h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--purple-deep);
  margin: 0 0 10px;
}

.story-block p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 10px;
}

.ending-type {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

.ending-good {
  background: rgba(60,184,120,0.12);
  color: var(--success);
  border: 1px solid rgba(60,184,120,0.25);
}

.ending-bad {
  background: rgba(200,60,60,0.1);
  color: #c83c3c;
  border: 1px solid rgba(200,60,60,0.2);
}

.ending-neutral {
  background: rgba(139,79,196,0.1);
  color: var(--purple-deep);
  border: 1px solid rgba(139,79,196,0.2);
}

/* --- Characters Page --- */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.character-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.character-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-border);
}

.character-card .char-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.character-card .char-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--purple-deep);
  margin-bottom: 6px;
}

.character-card .char-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

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

.character-card .char-traits {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.char-trait {
  display: inline-block;
  padding: 3px 12px;
  background: var(--bg-accent);
  color: var(--purple-mid);
  font-size: 0.8rem;
  border-radius: 14px;
  font-weight: 500;
}

/* --- FAQ Page --- */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--silver-mist);
  padding: 0;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

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

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* System Requirements Table */
.sysreq-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 24px 0;
}

.sysreq-table th,
.sysreq-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--silver-mist);
  font-size: 0.95rem;
}

.sysreq-table th {
  background: var(--bg-accent);
  color: var(--purple-deep);
  font-family: var(--font-serif);
  font-weight: 600;
}

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

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Spacing helpers */
.mt-16 {
  margin-top: 16px;
}

.mt-48 {
  margin-top: 48px;
}

/* --- Footer (copyright only) --- */
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--silver-mist);
  margin-top: 40px;
}

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

/* --- Page Hero (sub-pages) --- */
.page-hero {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1045 50%, #1a0a2e 100%);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(139,79,196,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .hero-title {
  font-size: 2.4rem;
  position: relative;
  z-index: 2;
}

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

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

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero {
    padding: 72px 16px 56px;
  }

  .page-hero {
    padding: 48px 16px;
  }

  .page-hero .hero-title {
    font-size: 1.8rem;
  }

  .header-inner {
    padding: 0 12px;
  }

  .logo {
    font-size: 1rem;
  }

  nav a {
    padding: 6px 8px;
    font-size: 0.82rem;
  }

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

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

  section {
    padding: 40px 0;
  }

  main {
    padding: 0 16px;
  }

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

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

  .content-section h3 {
    font-size: 1.2rem;
  }

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

  .guide-steps li {
    padding: 20px 16px 20px 56px;
  }

  .guide-steps li::before {
    left: 12px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

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

  .logo {
    font-size: 0.9rem;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  nav ul {
    gap: 1px;
  }

  nav a {
    padding: 6px 5px;
    font-size: 0.75rem;
  }

  .header-cta {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

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

/* --- Lightbox Overlay --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
}
