/* ==============================
   黛博拉的房间 — Confined Room Mystery Theme
   Warm Lamplight Amber × Shadow Blacks
   Locked-Door Motifs · Intimate Suspense
   ============================== */

/* --- CSS Custom Properties --- */
:root {
  --accent: #e8a860;
  --accent-hover: #d4923e;
  --accent-dark: #b8702a;
  --accent-glow: rgba(232, 168, 96, 0.35);
  --accent-glow-strong: rgba(232, 168, 96, 0.65);
  --amber-deep: #8b5a20;
  --shadow: #1a1512;
  --shadow-light: #2a2218;
  --shadow-mid: #3d3228;
  --bg: #faf7f3;
  --bg-card: #ffffff;
  --bg-section: #f5f0e9;
  --text: #2a2218;
  --text-muted: #6b5e52;
  --text-light: #8b7d70;
  --border: #e0d5c5;
  --border-dark: #c4b69a;
  --font-heading: 'Noto Serif SC', 'STSong', 'SimSun', 'Songti SC', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 2px 12px rgba(26, 21, 18, 0.07);
  --shadow-elevated: 0 4px 20px rgba(26, 21, 18, 0.12);
  --transition: 0.25s ease;
  --max-width: 1080px;
  --header-height: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* --- Lamplight ambient glow on body --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(232, 168, 96, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(232, 168, 96, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(26, 21, 18, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.35;
  color: var(--shadow);
}

h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.65rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }

p { margin-bottom: 1rem; }

/* --- Locked-Door Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--shadow);
  border-bottom: 2px solid var(--accent-dark);
  height: var(--header-height);
  box-shadow: 0 2px 16px rgba(26, 21, 18, 0.3);
}

/* Keyhole accent line on header */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent) 15%,
    var(--accent-hover) 50%,
    var(--accent) 85%,
    transparent 100%
  );
}

.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 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #f5f0e9;
  font-weight: 700;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--shadow-light);
}

/* Keyhole shape in logo */
.logo-icon::after {
  content: '🚪';
  font-size: 1rem;
}

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

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  display: block;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: #c4b69a;
  font-weight: 500;
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: rgba(232, 168, 96, 0.1);
}

/* --- Nav CTA (前往下载) --- */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1rem !important;
  background: var(--accent) !important;
  color: var(--shadow) !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: all var(--transition) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--shadow) !important;
  box-shadow: 0 0 16px var(--accent-glow);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--shadow);
  min-height: 460px;
  display: flex;
  align-items: center;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

/* Lamplight overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(26, 21, 18, 0.5) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.hero h1 {
  font-size: 2.6rem;
  color: #faf7f3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 0.25rem;
}

.hero .hero-sub {
  font-size: 1.05rem;
  color: var(--accent);
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero .hero-desc {
  font-size: 1rem;
  color: #d5c8b5;
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero .hero-tags span {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(232, 168, 96, 0.15);
  color: var(--accent);
  border: 1px solid rgba(232, 168, 96, 0.3);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.8rem;
  background: var(--accent);
  color: var(--shadow);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-hero:hover {
  background: var(--accent-hover);
  color: var(--shadow);
  box-shadow: 0 0 30px var(--accent-glow-strong);
  transform: translateY(-1px);
}

/* Hero page-specific backgrounds */
.hero-home .hero-bg { background-image: url('../img/header.jpg'); }
.hero-story .hero-bg { background-image: url('../img/screenshot-03.jpg'); }
.hero-characters .hero-bg { background-image: url('../img/screenshot-05.jpg'); }
.hero-guide .hero-bg { background-image: url('../img/screenshot-02.jpg'); }
.hero-faq .hero-bg { background-image: url('../img/header.jpg'); }

/* --- Page Hero (smaller, for sub pages) --- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--shadow);
  min-height: 200px;
  display: flex;
  align-items: center;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .hero-inner { padding: 2.5rem 1.5rem; }
.page-hero h1 { font-size: 2rem; }

/* --- Content Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Sections --- */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-section);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--shadow);
  margin-bottom: 0.25rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* --- Locked-Door Divider --- */
.door-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.door-divider::before,
.door-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
}

.door-divider::before { background: linear-gradient(90deg, transparent, var(--accent)); }
.door-divider::after { background: linear-gradient(90deg, var(--accent), transparent); }

/* --- Info Cards --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.info-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(232, 168, 96, 0.15);
}

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

.info-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--shadow);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Feature Cards --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--shadow-light);
}

.feature-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-elevated);
}

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

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

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

.story-block h3 {
  color: var(--shadow);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.story-block .story-chapter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

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

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

.char-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(232, 168, 96, 0.15);
}

.char-card-header {
  background: var(--shadow);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.char-card-header .char-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--shadow-light);
  flex-shrink: 0;
}

.char-card-header .char-name {
  color: #f5f0e9;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.char-card-header .char-role {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.char-card-body {
  padding: 1.25rem;
}

.char-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

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

.char-card-body .char-tags span {
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(232, 168, 96, 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(232, 168, 96, 0.25);
}

/* --- Guide Steps --- */
.guide-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.guide-step {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2rem;
  border-left: 1px dashed var(--border-dark);
  margin-left: 1.5rem;
}

.guide-step:last-child { padding-bottom: 0; border-left-color: transparent; }

.guide-step::before {
  content: counter(step);
  position: absolute;
  left: -1.5rem;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--shadow);
  color: var(--accent);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  box-shadow: 0 0 12px var(--accent-glow);
}

.guide-step h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--shadow);
}

.guide-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --- Tip Box --- */
.tip-box {
  background: rgba(232, 168, 96, 0.06);
  border: 1px solid rgba(232, 168, 96, 0.2);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* --- Download Card --- */
.download-card {
  background: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 1px solid var(--accent-dark);
  box-shadow: 0 4px 24px rgba(26, 21, 18, 0.2);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.download-card h3 {
  color: #f5f0e9;
  position: relative;
  margin-top: 0;
}

.download-card p {
  color: #c4b69a;
  position: relative;
  font-size: 0.9rem;
}

.download-card .btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.8rem;
  background: var(--accent);
  color: var(--shadow);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  margin-top: 0.5rem;
  box-shadow: 0 0 20px var(--accent-glow);
}

.download-card .btn-dl:hover {
  background: var(--accent-hover);
  color: var(--shadow);
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

/* --- FAQ Accordion --- */
.faq-list { margin: 2rem 0; }

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

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(232, 168, 96, 0.12);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--shadow);
  transition: color var(--transition);
}

.faq-q:hover { color: var(--accent-dark); }

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

.faq-item.active .faq-toggle { transform: rotate(45deg); }

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

.faq-item.active .faq-a {
  max-height: 400px;
  padding: 0 1.25rem 1.25rem;
}

.faq-a p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-grid img {
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.gallery-grid img:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(232, 168, 96, 0.2);
  transform: scale(1.02);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 21, 18, 0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px var(--accent-glow);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #f5f0e9;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity var(--transition);
}

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

/* --- CTA Banner --- */
.cta-banner {
  background: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-dark);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #f5f0e9;
  position: relative;
  margin: 0 0 0.5rem;
}

.cta-banner p {
  color: #c4b69a;
  position: relative;
  margin-bottom: 1.25rem;
}

.cta-banner .btn-hero { position: relative; }

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

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

.stats-row .stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.stats-row .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

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

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

.info-table th {
  background: var(--shadow);
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-heading);
  width: 25%;
}

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

/* --- Req Table --- */
.req-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.req-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.req-col h4 {
  color: var(--accent-dark);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.req-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.req-col li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  border-bottom: 1px dotted var(--border);
}

.req-col li:last-child { border-bottom: none; }

.req-col li::before {
  content: '• ';
  color: var(--accent);
  font-weight: 700;
}

/* --- Tags --- */
.tag-accent {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(232, 168, 96, 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(232, 168, 96, 0.25);
}

.tag-dark {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--shadow-light);
  color: var(--accent);
  border: 1px solid var(--shadow-mid);
}

/* --- Review Quotes --- */
.review-quote { font-style: italic; }

.review-author {
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0;
}

/* --- Blockquote --- */
blockquote {
  background: rgba(232, 168, 96, 0.05);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
  background: var(--shadow);
  color: #8b7d70;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.82rem;
  border-top: 2px solid var(--shadow-light);
  margin-top: 3rem;
}

.site-footer p { margin: 0; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.pb-0 { padding-bottom: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--shadow);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 2px solid var(--accent-dark);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    width: 100%;
  }

  .nav-cta { margin-left: 0; margin-top: 0.25rem; width: 100%; text-align: center; justify-content: center; }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  .hero { min-height: 360px; }
  .hero h1 { font-size: 1.85rem; }

  .req-table { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .char-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { min-height: 280px; }
  .hero h1 { font-size: 1.5rem; }

  .cta-banner { padding: 1.5rem; }
  .download-card { padding: 1.5rem; }

  .guide-step { padding-left: 2.5rem; margin-left: 0.5rem; }
  .guide-step::before { width: 2rem; height: 2rem; left: -1rem; font-size: 0.85rem; }

  .stats-row { gap: 1rem; }
  .stats-row .stat-value { font-size: 1.5rem; }
}
