/* ============================================================
   欲望之影 (Shadows of Desire) — Shadowy Elegance Theme
   Deep purples, smoke grays, subtle gradient shadows,
   mysterious allure, light ethereal background.
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette */
  --accent: #6b2fa0;
  --accent-hover: #542380;
  --accent-light: #f3edfa;
  --accent-glow: rgba(107, 47, 160, 0.15);

  --purple-deep: #3a1b5e;
  --purple-mid: #5b2d8e;
  --purple-soft: #9b6fc0;

  --smoke-gray: #8e8e9a;
  --smoke-light: #b8b5c4;
  --smoke-mist: #e8e6ef;

  --bg: #f8f6fc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-header: #2d1742;

  --text: #1e1b2e;
  --text-muted: #6b6880;
  --text-light: #a09db5;
  --text-on-dark: #f0eef6;

  --border: #e2dfec;
  --border-light: #f0edf6;

  /* Shadows — subtle gradients */
  --shadow-sm: 0 1px 3px rgba(59, 27, 94, 0.06), 0 1px 2px rgba(59, 27, 94, 0.04);
  --shadow-md: 0 4px 12px rgba(59, 27, 94, 0.08), 0 2px 4px rgba(59, 27, 94, 0.04);
  --shadow-lg: 0 8px 24px rgba(59, 27, 94, 0.10), 0 4px 8px rgba(59, 27, 94, 0.06);
  --shadow-xl: 0 16px 40px rgba(59, 27, 94, 0.14), 0 8px 16px rgba(59, 27, 94, 0.06);
  --shadow-glow: 0 0 30px rgba(107, 47, 160, 0.12), 0 0 60px rgba(107, 47, 160, 0.06);

  /* Typography */
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Noto Serif SC', 'STSong', serif;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Layout */
  --max-width: 1100px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  background: var(--bg-header);
  color: var(--text-on-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  height: var(--header-height);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--smoke-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.25rem 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-soft);
  border-radius: 2px;
  transition: width 0.3s;
}

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

/* Header CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--accent), #8b4fc0);
  color: #ffffff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(107, 47, 160, 0.3);
  white-space: nowrap;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #7c3fba, #9b5fd0);
  box-shadow: 0 4px 14px rgba(107, 47, 160, 0.45);
  transform: translateY(-1px);
  color: #ffffff !important;
}

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

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

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

/* ---------- Main Content ---------- */
main {
  flex: 1;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #2d1742 0%, #3a1b5e 30%, #4a2870 60%, #5b3680 100%);
  color: var(--text-on-dark);
  padding: 5rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(155, 111, 192, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 60%, rgba(107, 47, 160, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(59, 27, 94, 0.3) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

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

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--smoke-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  color: var(--smoke-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tag-accent {
  background: rgba(107, 47, 160, 0.3);
  color: #d4b8f0;
  border-color: rgba(155, 111, 192, 0.4);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8b4fc0);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(107, 47, 160, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3fba, #9b5fd0);
  box-shadow: 0 6px 20px rgba(107, 47, 160, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* ---------- Section Common ---------- */
.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: #f3f0f8;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--purple-deep);
  letter-spacing: 0.04em;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* ---------- Stats Row ---------- */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

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

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---------- Info Cards Grid ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.info-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

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

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

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

.feature-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--purple-deep);
}

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

/* ---------- Guide Steps ---------- */
.guide-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.guide-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b4fc0);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(107, 47, 160, 0.3);
}

.guide-step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--purple-deep);
}

.guide-step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- Story Blocks ---------- */
.story-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
}

.story-block h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--purple-deep);
}

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

.story-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

.story-image img {
  width: 100%;
}

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

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

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

.char-avatar {
  height: 200px;
  background: linear-gradient(135deg, #2d1742, #5b2d8e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--purple-soft);
}

.char-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-avatar-emoji {
  background: linear-gradient(135deg, #2d1742, #5b2d8e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--purple-soft);
}

.char-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.char-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--purple-deep);
}

.char-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

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

.char-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.char-tag {
  padding: 0.2rem 0.7rem;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--accent-light);
  color: var(--accent);
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--purple-soft);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s;
}

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

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

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

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

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

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}

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

.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 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #2d1742, #4a2870);
  color: var(--text-on-dark);
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(155, 111, 192, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(107, 47, 160, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--smoke-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

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

.breadcrumbs .sep {
  margin: 0 0.5rem;
  color: var(--smoke-light);
}

/* ---------- Page Hero (non-home) ---------- */
.page-hero {
  background: linear-gradient(160deg, #2d1742 0%, #3a1b5e 50%, #4a2870 100%);
  color: var(--text-on-dark);
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(155, 111, 192, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  position: relative;
  z-index: 1;
  color: var(--smoke-light);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

/* ---------- Tip Boxes ---------- */
.tip-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.tip-box p {
  color: var(--purple-deep);
  font-size: 0.95rem;
  line-height: 1.65;
}

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

/* ---------- Content Section ---------- */
.content-section {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--purple-deep);
}

.content-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--purple-deep);
}

.content-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.content-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.content-section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

/* ---------- Table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

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

.info-table th {
  background: var(--accent-light);
  font-weight: 600;
  color: var(--purple-deep);
  width: 30%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.info-table td {
  color: var(--text-muted);
}

/* ---------- Blockquote ---------- */
blockquote {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--purple-deep);
  font-style: italic;
  font-size: 0.98rem;
}

blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Version/Update Timeline ---------- */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.timeline-badge {
  flex-shrink: 0;
  background: var(--accent);
  color: #ffffff;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  height: fit-content;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 46, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

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

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

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-caption {
  color: var(--smoke-light);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-header);
  color: var(--text-on-dark);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.88rem;
  margin-top: auto;
}

.site-footer p {
  color: var(--smoke-mist);
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

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

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-header);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 3.5rem 1rem;
  }

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

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

  .section {
    padding: 3rem 1rem;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .stats-row {
    gap: 1.5rem;
  }

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

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

  .breadcrumbs {
    padding: 0.75rem 1rem 0;
  }

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

  .guide-step {
    gap: 1rem;
  }

  .guide-step-num {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .timeline-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}
