/* ============================================================
   我的女友是恶霸 - Bully Romance School Theme
   Color Palette: School-uniform blues + tough-girl pinks
   Motifs: Graffiti spray, bad-boy/girl edgy romance
   Background: Light campus ivory
   ============================================================ */

/* ========== FONTS ========== */
@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 {
  /* Color palette — Bully Romance */
  --uniform-navy: #1a2639;
  --uniform-dark: #0f1620;
  --pink-fierce: #e8456b;
  --pink-soft: #f4728e;
  --pink-spray: #ff6b8a;
  --graffiti-purple: #7c3a8f;
  --graffiti-cyan: #00b4d8;
  --accent-gold: #d4a853;
  --danger-red: #c0392b;

  /* Backgrounds */
  --bg: #faf7f2;
  --bg-warm: #f5f0e8;
  --bg-card: #ffffff;
  --bg-header: var(--uniform-navy);
  --bg-footer: var(--uniform-dark);

  /* Text */
  --text: #2c2c2c;
  --text-soft: #5a5a5a;
  --text-muted: #8a8a8a;
  --text-light: #c0bdb8;
  --text-on-dark: #e8e6e3;
  --text-on-accent: #ffffff;

  /* Borders */
  --border: #e0dbd2;
  --border-light: #ede8df;

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

  /* Spacing */
  --section-gap: 80px;
  --content-max: 1100px;
  --nav-height: 68px;
  --radius: 10px;
  --radius-sm: 6px;

  /* Shadows */
  --shadow-card: 0 2px 16px rgba(26,38,57,0.07);
  --shadow-hover: 0 8px 30px rgba(26,38,57,0.12);
  --shadow-nav: 0 2px 20px rgba(0,0,0,0.15);
}

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

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

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

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

a:hover {
  color: var(--graffiti-purple);
}

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

ul, ol {
  list-style: none;
  padding-left: 0;
}

/* ========== UTILITY CLASSES ========== */
.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;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 18px;
  color: var(--text-soft);
  line-height: 1.9;
}

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

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--pink-fierce);
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

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

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

.route-heading {
  font-family: var(--font-serif);
  color: var(--uniform-navy);
  margin: 28px 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ========== CONTENT LIST CLASSES (avoid inline styles) ========== */
.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);
}

.strong-pink { color: var(--pink-fierce); }
.strong-red { color: var(--danger-red); }
.strong-gold { color: var(--accent-gold); }
.strong-muted { color: var(--text-muted); }
.strong-navy { color: var(--uniform-navy); }

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

/* Sys reqs heading style (used in faq.html) */
.sys-reqs-h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--uniform-navy);
  margin-top: 24px;
  margin-bottom: 12px;
}

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

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
  opacity: 0.9;
}

/* ========== GRAFFITI MOTIFS ========== */
.graffiti-accent {
  position: relative;
}

.graffiti-accent::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink-spray), var(--graffiti-cyan));
  border-radius: 2px;
  left: 0;
  bottom: -8px;
}

.graffiti-accent-center::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink-spray), var(--graffiti-cyan));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-header);
  z-index: 1000;
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
}

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

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-on-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.site-header .logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(232,230,227,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-on-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink-spray);
  transition: width 0.25s ease;
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-fierce), var(--pink-soft));
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 30px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 2px 10px rgba(232,69,107,0.35);
}

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

.nav-cta::after {
  display: none !important;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.35) saturate(1.1);
  z-index: 0;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,22,32,0.7) 0%,
    rgba(15,22,32,0.5) 40%,
    rgba(15,22,32,0.75) 100%
  );
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 700px;
}

.hero .hero-label {
  display: inline-block;
  background: rgba(232,69,107,0.2);
  border: 1px solid rgba(232,69,107,0.3);
  color: var(--pink-soft);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.hero .hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* Page-specific hero backgrounds */
.hero-home .hero-bg { background-image: url('../img/screenshot-01.webp'); }
.hero-guide .hero-bg { background-image: url('../img/screenshot-02.webp'); }
.hero-story .hero-bg { background-image: url('../img/screenshot-03.webp'); }
.hero-characters .hero-bg { background-image: url('../img/screenshot-04.webp'); }
.hero-faq .hero-bg { background-image: url('../img/screenshot-01.webp'); }

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

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

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink-fierce);
  margin-bottom: 8px;
}

/* ========== FEATURE CARDS (index) ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  border-left: 4px solid var(--pink-fierce);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232,69,107,0.06), rgba(122,58,143,0.06));
}

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

.feature-card:nth-child(even) {
  border-left-color: var(--uniform-navy);
}

.feature-card:nth-child(3n) {
  border-left-color: var(--graffiti-cyan);
}

.feature-card .fc-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

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

/* ========== STATS BAR (index) ========== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--pink-fierce);
  line-height: 1.2;
}

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

/* ========== SCREENSHOT GALLERY (index) ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: filter 0.3s;
}

.gallery-item:hover img {
  filter: brightness(0.9);
}

.gallery-item .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 2.5rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  pointer-events: none;
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
}

/* ========== REVIEWS (index) ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 18px;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(232,69,107,0.12);
  line-height: 1;
  pointer-events: none;
}

.review-card .review-text {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 14px;
  padding-top: 12px;
}

.review-card .review-author {
  font-size: 0.85rem;
  color: var(--pink-fierce);
  font-weight: 600;
}

/* ========== CTA BANNER (index only) ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--uniform-navy), #223355);
  text-align: center;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(232,69,107,0.15) 0%, transparent 60%);
}

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

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

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

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-fierce), var(--pink-soft));
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,69,107,0.4);
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232,69,107,0.55);
  color: #fff;
}

/* ========== STORY PAGE ========== */
.story-timeline {
  max-width: 780px;
  margin: 32px auto 0;
}

.story-chapter {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.story-chapter:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: -28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink-fierce), var(--uniform-navy));
  border-radius: 1px;
}

.chapter-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--pink-fierce), var(--graffiti-purple));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.4rem;
  z-index: 1;
}

.chapter-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.chapter-body p {
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 0.96rem;
}

/* Theme badge */
.theme-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 4px;
}

.theme-badge.growth {
  background: rgba(0,180,216,0.12);
  color: var(--graffiti-cyan);
}

.theme-badge.forgive {
  background: rgba(212,168,83,0.12);
  color: var(--accent-gold);
}

.theme-badge.love {
  background: rgba(232,69,107,0.12);
  color: var(--pink-fierce);
}

.themes-wrap {
  margin-top: 20px;
}

/* ========== CHARACTERS PAGE ========== */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.char-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s;
}

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

.char-card .char-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, #e8e0f0, #fce4ec);
  border-bottom: 3px solid var(--pink-fierce);
}

.char-card .char-info {
  padding: 20px;
}

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

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

.char-card .char-desc {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

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

.char-trait {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(26,38,57,0.06);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--uniform-navy);
  font-weight: 500;
}

/* ========== GUIDE PAGE ========== */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 28px;
}

.guide-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--uniform-navy);
}

.guide-section h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--uniform-navy);
  margin-bottom: 14px;
}

.guide-section p,
.guide-section li {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}

.guide-section ul {
  list-style: disc;
  padding-left: 20px;
}

.guide-section ul li {
  margin-bottom: 8px;
}

.tip-box {
  background: linear-gradient(135deg, rgba(232,69,107,0.06), rgba(0,180,216,0.06));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

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

/* ========== TABLE (guide + faq) ========== */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 12px 0;
}

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

th {
  background: var(--bg-warm);
  font-weight: 700;
  color: var(--uniform-navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tr:hover td {
  background: rgba(232,69,107,0.03);
}

/* ========== FAQ ACCORDION ========== */
.faq-list {
  margin-top: 28px;
}

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

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

.faq-question:hover {
  background: var(--bg-warm);
}

.faq-question .faq-icon {
  font-size: 1.3rem;
  color: var(--pink-fierce);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

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

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

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

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

/* ========== SYS REQS TABLE (faq) ========== */
.sys-reqs h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--uniform-navy);
  margin-top: 32px;
  margin-bottom: 12px;
}

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

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-footer);
  text-align: center;
  padding: 28px 24px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  :root {
    --section-gap: 50px;
    --content-max: 100%;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-header);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
    box-shadow: var(--shadow-nav);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

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

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

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

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

  .stats-bar {
    gap: 24px;
    padding: 28px 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

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

  .story-chapter {
    flex-direction: column;
    gap: 12px;
  }

  .story-chapter:not(:last-child)::after {
    left: 28px;
    top: 56px;
    bottom: auto;
    height: calc(100% - 28px);
    width: 2px;
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

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

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

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

  .btn-cta {
    padding: 12px 30px;
    font-size: 0.95rem;
  }
}
