/* =========================================
   XLWORKSHOP — Nature Night Theme
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Variables ── */
:root {
  --night-sky:      #0a0f1a;
  --deep-forest:    #0d1a0f;
  --forest-mid:     #112213;
  --forest-light:   #1a3320;
  --pine-green:     #2d5a3d;
  --moss-green:     #4a7c59;
  --leaf-green:     #6aab7a;
  --stone-dark:     #1c1f1e;
  --stone-mid:      #2e3530;
  --stone-light:    #4a5248;
  --bark-brown:     #3d2a1a;
  --wood-mid:       #5c3d22;
  --wood-light:     #8b6340;
  --warm-wood:      #c4946a;
  --sky-blue:       #1a3a5c;
  --moonlight:      #d4e8f0;
  --star-white:     #f0f4f8;
  --campfire-gold:  #f59e0b;
  --campfire-red:   #ef4444;
  --campfire-glow:  rgba(245,158,11,0.15);
  --firefly:        #b8ff6e;
  --text-main:      #dde8d5;
  --text-muted:     #8aaa8a;
  --text-dim:       #556655;
  --border-wood:    #4a3020;
  --border-moss:    #2d4a35;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--night-sky);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Stars Background ── */
.stars-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  background: var(--star-white);
  border-radius: 50%;
  animation: twinkle var(--d, 3s) ease-in-out infinite;
  opacity: var(--o, 0.6);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--o, 0.6); transform: scale(1); }
  50%       { opacity: 0.1; transform: scale(0.6); }
}

/* ── Fireflies ── */
.firefly {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--firefly);
  border-radius: 50%;
  box-shadow: 0 0 8px 3px rgba(184,255,110,0.6);
  pointer-events: none;
  z-index: 1;
  animation: fireflyFloat var(--fd, 8s) ease-in-out infinite;
  opacity: 0;
}
@keyframes fireflyFloat {
  0%   { opacity: 0; transform: translate(0,0); }
  20%  { opacity: 0.9; }
  50%  { opacity: 0.4; transform: translate(var(--fx,40px), var(--fy,-30px)); }
  80%  { opacity: 0.8; }
  100% { opacity: 0; transform: translate(var(--fx2,80px), var(--fy2,20px)); }
}

/* ── Fog layers ── */
.fog-layer {
  position: fixed;
  bottom: 0; left: -50%;
  width: 200%; height: 220px;
  background: linear-gradient(to top, rgba(13,26,15,0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  animation: fogDrift 30s ease-in-out infinite alternate;
}
.fog-layer.fog-mid {
  height: 120px;
  opacity: 0.5;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}
@keyframes fogDrift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(5%); }
}

/* ── Forest silhouette ── */
.forest-silhouette {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 260px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.forest-silhouette svg {
  width: 100%; height: 100%;
  position: absolute; bottom: 0;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,15,26,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-moss);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 35px;
  background: linear-gradient(135deg, var(--pine-green), var(--moss-green));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 12px rgba(74,124,89,0.4);
}
.nav-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--leaf-green);
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.04em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--leaf-green);
  background: rgba(74,124,89,0.12);
}
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7em; opacity: 0.6; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(13,26,15,0.97);
  border: 1px solid var(--border-moss);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: flex; flex-direction: column; gap: 0.2rem; }
.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(10,15,26,0.98);
  border-bottom: 1px solid var(--border-moss);
  padding: 1rem 2rem 1.5rem;
  z-index: 99;
  flex-direction: column; gap: 0.5rem;
  backdrop-filter: blur(14px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.6rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--leaf-green); background: rgba(74,124,89,0.1); }
.mobile-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 0.4rem 0.5rem 0.2rem;
}

/* ── Page Wrapper ── */
.page-content {
  position: relative;
  z-index: 10;
  padding-top: 64px;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}
.hero-moon {
  position: absolute;
  top: 80px; right: 10%;
  width: 100px; height: 100px;
  background: radial-gradient(circle at 38% 38%, #f0f4e8, #dde8c0 40%, #b8c890 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px 20px rgba(220,232,190,0.12), 0 0 80px 40px rgba(220,232,190,0.06);
  pointer-events: none;
}
.hero-moon::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, transparent 60%, rgba(180,200,140,0.3) 100%);
}
.hero-inner { max-width: 800px; position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--moss-green);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block; width: 40px; height: 1px;
  background: var(--pine-green);
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--moonlight);
  text-shadow: 0 0 40px rgba(212,232,240,0.2);
  margin-bottom: 0.5rem;
}
.hero-title span { color: var(--leaf-green); }
.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  color: var(--moss-green);
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.hero-bio {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.hero-socials {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.social-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.social-btn.youtube {
  background: rgba(220,38,38,0.12);
  border-color: rgba(220,38,38,0.3);
  color: #ff6b6b;
}
.social-btn.youtube:hover {
  background: rgba(220,38,38,0.22);
  box-shadow: 0 0 16px rgba(220,38,38,0.2);
}
.social-btn.discord {
  background: rgba(88,101,242,0.12);
  border-color: rgba(88,101,242,0.3);
  color: #9da8ff;
}
.social-btn.discord:hover {
  background: rgba(88,101,242,0.22);
  box-shadow: 0 0 16px rgba(88,101,242,0.2);
}
.social-btn.kofi {
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.3);
  color: var(--campfire-gold);
}
.social-btn.kofi:hover {
  background: rgba(245,158,11,0.22);
  box-shadow: 0 0 16px rgba(245,158,11,0.2);
}
.hero-cta-row {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--pine-green), var(--moss-green));
  color: #fff;
  border: none; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(45,90,61,0.4);
  letter-spacing: 0.04em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45,90,61,0.6);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-moss);
  border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.04em;
}
.btn-secondary:hover {
  background: rgba(74,124,89,0.1);
  color: var(--leaf-green);
  border-color: var(--pine-green);
}

/* ── Divider ── */
.nature-divider {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 2rem;
  max-width: 1200px; margin: 0 auto;
}
.nature-divider::before, .nature-divider::after {
  content: '';
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--border-moss), transparent);
}
.nature-divider-icon { font-size: 1.1rem; opacity: 0.5; }

/* ── Section Heading ── */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--moss-green);
  margin-bottom: 0.6rem;
}
.section-heading h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--moonlight);
  font-weight: 700;
}
.section-heading p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
  font-style: italic;
}

/* ── Section ── */
.section {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-full {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
}
.section-bg {
  background: rgba(13,26,15,0.4);
  border-top: 1px solid var(--border-moss);
  border-bottom: 1px solid var(--border-moss);
}

/* ── Featured Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.map-card {
  background: rgba(17,34,19,0.7);
  border: 1px solid var(--border-moss);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,90,61,0.3);
  border-color: var(--pine-green);
}
.map-card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--forest-mid);
  display: block;
}
.map-card-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--forest-mid), var(--stone-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.map-card-body { padding: 1.25rem; }
.map-card-badges {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.badge {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.badge-green  { background: rgba(74,124,89,0.2); color: var(--leaf-green); border: 1px solid rgba(74,124,89,0.4); }
.badge-amber  { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.badge-blue   { background: rgba(59,130,246,0.12); color: #93c5fd; border: 1px solid rgba(59,130,246,0.25); }
.badge-red    { background: rgba(239,68,68,0.12); color: #fca5a5; border: 1px solid rgba(239,68,68,0.25); }
.badge-gray   { background: rgba(74,82,72,0.4); color: var(--text-muted); border: 1px solid var(--stone-light); }
.map-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--moonlight);
  margin-bottom: 0.25rem;
}
.map-card-sub {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--moss-green);
  margin-bottom: 0.75rem;
}
.map-card-desc {
  font-size: 0.875rem; line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.map-card-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--text-dim);
  margin-bottom: 1rem;
}
.map-card-meta .sep { opacity: 0.4; }
.map-card-actions {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.btn-download {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--pine-green), var(--moss-green));
  color: #fff; border: none; border-radius: 7px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.btn-download:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}
.btn-download.secondary {
  background: transparent;
  border: 1px solid var(--border-moss);
  color: var(--text-muted);
}
.btn-download.secondary:hover {
  background: rgba(74,124,89,0.1);
  color: var(--leaf-green);
}
.btn-download.paid {
  background: linear-gradient(135deg, var(--bark-brown), var(--wood-mid));
  border: 1px solid var(--wood-light);
}
.card-wip-overlay {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: #fbbf24;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: 5px;
}

/* ── Campfire Section ── */
.campfire-section {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
}
.campfire-glow {
  width: 120px; height: 120px;
  margin: 0 auto 1.5rem;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.campfire-glow::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--campfire-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.15); opacity: 1; }
}

/* ── Wooden Sign Card (Texture Pack) ── */
.pack-card {
  background: rgba(28,20,12,0.8);
  border: 2px solid var(--border-wood);
  border-radius: 12px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.pack-card:hover {
  border-color: var(--wood-mid);
  box-shadow: 0 8px 32px rgba(61,42,26,0.4);
}
.pack-card-img {
  width: 160px; aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--stone-dark);
  border: 1px solid var(--border-wood);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.pack-card-body {}
.pack-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--warm-wood);
  margin-bottom: 0.25rem;
}
.pack-card-sub {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--wood-light);
  margin-bottom: 0.75rem;
}
.pack-card-desc {
  font-size: 0.85rem; line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.pack-card-list {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1rem;
}
.pack-card-list li {
  font-size: 0.72rem; font-weight: 500;
  background: rgba(92,61,34,0.3);
  border: 1px solid rgba(92,61,34,0.5);
  color: var(--warm-wood);
  padding: 0.2rem 0.5rem; border-radius: 4px;
  letter-spacing: 0.04em;
}
.pack-password {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24;
  padding: 0.35rem 0.75rem; border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* ── Help Page ── */
.help-section { max-width: 800px; margin: 0 auto; padding: 5rem 2rem; position: relative; z-index: 10; }
.install-step {
  background: rgba(17,34,19,0.6);
  border: 1px solid var(--border-moss);
  border-left: 3px solid var(--pine-green);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.install-step h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem; color: var(--leaf-green);
  margin-bottom: 0.5rem;
}
.install-step p, .install-step li {
  font-size: 0.875rem; line-height: 1.7;
  color: var(--text-muted);
}
.install-step ul { padding-left: 1.25rem; }
.code-path {
  display: inline-block;
  font-family: monospace;
  font-size: 0.78rem;
  background: rgba(28,31,30,0.8);
  border: 1px solid var(--stone-light);
  color: var(--leaf-green);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin: 0.2rem 0;
  word-break: break-all;
}
.help-alert {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.help-alert p {
  font-size: 0.875rem; color: #fde68a; line-height: 1.6;
}
.version-guide {
  background: rgba(26,58,92,0.25);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.version-guide h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem; color: #93c5fd;
  margin-bottom: 0.75rem;
}
.version-guide p, .version-guide li {
  font-size: 0.875rem; color: #7db3d8; line-height: 1.7;
}
.version-guide ul { padding-left: 1.25rem; }

/* ── Paid Maps ── */
.premium-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(92,61,34,0.3));
  border: 1px solid rgba(245,158,11,0.35);
  color: #fcd34d;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 6px;
  margin-bottom: 1.5rem;
}
.altarbound-card {
  background: linear-gradient(135deg, rgba(20,14,8,0.95), rgba(28,20,12,0.95));
  border: 1px solid var(--border-wood);
  border-radius: 16px;
  overflow: hidden;
  max-width: 700px; margin: 0 auto;
}
.altarbound-header {
  padding: 2rem;
  background: linear-gradient(to bottom, rgba(92,61,34,0.15), transparent);
  border-bottom: 1px solid var(--border-wood);
}
.altarbound-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--warm-wood);
  margin-bottom: 0.25rem;
}
.altarbound-sub {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--wood-light);
}
.altarbound-body { padding: 2rem; }
.altarbound-body p {
  font-family: 'Lora', serif;
  font-size: 0.95rem; line-height: 1.8;
  color: var(--text-muted); font-style: italic;
  margin-bottom: 1.5rem;
}

/* ── Archive Section ── */
.archive-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem; color: var(--text-dim);
  background: none; border: 1px solid var(--stone-mid);
  border-radius: 7px; padding: 0.5rem 1rem;
  transition: all 0.2s;
  margin-bottom: 1rem;
}
.archive-toggle:hover { color: var(--text-muted); border-color: var(--stone-light); }
.archive-content { display: none; }
.archive-content.open { display: block; }

/* ── Footer ── */
.footer {
  position: relative; z-index: 10;
  border-top: 1px solid var(--border-moss);
  background: rgba(10,15,26,0.8);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem;
  align-items: start;
}
.footer-brand {}
.footer-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--leaf-green);
  margin-bottom: 0.5rem;
}
.footer-brand-tagline {
  font-size: 0.8rem; color: var(--text-dim);
  line-height: 1.6; max-width: 300px;
}
.footer-disclaimer {
  font-size: 0.72rem; color: var(--text-dim);
  margin-top: 0.75rem; font-style: italic;
}
.footer-hiatus {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: #fde68a;
  text-align: center;
  max-width: 280px;
}
.footer-hiatus strong { display: block; margin-bottom: 0.2rem; }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-moss);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); }
.footer-bottom a { color: var(--moss-green); text-decoration: none; }
.footer-bottom a:hover { color: var(--leaf-green); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative; z-index: 10;
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-moss);
  background: linear-gradient(to bottom, rgba(13,26,15,0.5) 0%, transparent 100%);
}
.page-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--moonlight);
  margin-bottom: 0.5rem;
}
.page-hero .sub {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--moss-green);
  margin-bottom: 1rem;
}
.page-hero .desc {
  font-family: 'Lora', serif;
  font-size: 1rem; font-style: italic;
  color: var(--text-muted); max-width: 500px; margin: 0 auto;
  line-height: 1.7;
}

/* ── Notice Banner ── */
.notice-banner {
  background: rgba(26,58,92,0.2);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.notice-banner .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.notice-banner p { font-size: 0.875rem; color: #93c5fd; line-height: 1.6; }
.notice-banner a { color: #60a5fa; }

/* ── Scroll animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .pack-card {
    grid-template-columns: 1fr;
  }
  .pack-card-img { width: 100%; aspect-ratio: 16/9; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-socials { gap: 0.6rem; }
}
