/* ============================================================
   Komadori Inn 歌鸲旅馆 — 和风温泉旅馆主题
   Color: 樱花粉 #FFCDD2 / 抹茶绿 #A5D6A7 / 木纹棕 #8D6E63 / 和纸白 #FDFBF7
   ============================================================ */

/* ========== CSS VARIABLES ========== */
:root {
  /* Primary palette */
  --sakura: #FFCDD2;
  --sakura-deep: #EF9A9A;
  --matcha: #A5D6A7;
  --matcha-deep: #81C784;
  --wood: #8D6E63;
  --wood-dark: #6D4C41;
  --washi: #FDFBF7;
  --washi-warm: #F5F0E8;

  /* Backgrounds */
  --bg: #FDFBF7;
  --bg-warm: #F5F0E8;
  --bg-card: #FFFFFF;
  --bg-header: #4E342E;
  --bg-footer: #3E2723;
  --bg-hero-overlay: rgba(62, 39, 35, 0.55);

  /* Text */
  --text: #3E2723;
  --text-soft: #6D4C41;
  --text-light: #8D6E63;
  --text-on-dark: #FDFBF7;
  --text-on-dark-soft: #D7CCC8;

  /* Accent */
  --accent: #E57373;
  --accent-hover: #EF5350;
  --accent-soft: #FFCDD2;
  --gold: #C9A96E;
  --gold-light: #E8D5B7;

  /* UI */
  --border: #E0D5C7;
  --border-card: #EDE4D8;
  --shadow: 0 2px 12px rgba(62, 39, 35, 0.08);
  --shadow-hover: 0 6px 24px rgba(62, 39, 35, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* Typography */
  --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', 'STSong', serif;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 68px;
}

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

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

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

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

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

/* ========== ACCESSIBILITY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 3px solid var(--sakura);
  box-shadow: var(--shadow);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-on-dark);
  text-decoration: none;
}
.site-logo:hover {
  color: var(--sakura);
}
.site-logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

/* ========== NAVIGATION ========== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-dark-soft);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  color: var(--sakura);
  background: rgba(255, 205, 210, 0.1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  margin-left: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 24px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(229, 115, 115, 0.35);
}
.nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(229, 115, 115, 0.5);
}

/* 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 var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 520px;
  padding: 80px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #3E2723 0%, #4E342E 30%, #5D4037 60%, #6D4C41 100%);
}

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

.hero-home .hero-bg {
  background-image: url('../img/header.png');
}

.hero-story .hero-bg {
  background-image: url('../img/screenshot-01.png');
}

.hero-guide .hero-bg {
  background-image: url('../img/screenshot-03.png');
}

.hero-characters .hero-bg {
  background-image: url('../img/screenshot-02.png');
}

.hero-faq .hero-bg {
  background-image: url('../img/screenshot-04.png');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-hero-overlay);
  z-index: 1;
}

/* Decorative sakura pattern overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,205,210,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(165,214,167,0.10) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(201,169,110,0.08) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--sakura);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-on-dark-soft);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Sub-page hero */
.hero-subpage {
  min-height: 280px;
  padding: 60px 24px 70px;
}

.hero-subpage-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  letter-spacing: 0.05em;
}

/* ========== CONTENT SECTIONS ========== */
.section-alt {
  background: var(--bg-warm);
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto;
}

/* Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sakura-deep), var(--matcha-deep));
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ========== GAME INTRO CARDS ========== */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

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

.intro-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* ========== FEATURE CARDS ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-left: 4px solid var(--matcha);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--sakura-deep);
}

.feature-card:nth-child(odd) {
  border-left-color: var(--sakura);
}

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

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

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

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

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  aspect-ratio: 16 / 9;
  background: var(--bg-warm);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

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

.lightbox.open {
  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: 24px;
  right: 32px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 2001;
  opacity: 0.7;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.2);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ========== REVIEWS / QUOTES ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.review-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  border: 1px solid var(--border-card);
}

.review-card::before {
  content: '❝';
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--sakura);
  position: absolute;
  top: 8px;
  left: 16px;
  opacity: 0.5;
  line-height: 1;
}

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

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

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

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,205,210,0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(165,214,167,0.08) 0%, transparent 50%);
}

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

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-on-dark-soft);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 32px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(229, 115, 115, 0.4);
}
.btn-cta-large:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(229, 115, 115, 0.55);
}

/* ========== GUIDE PAGE ========== */
.guide-intro {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 32px;
}

.guide-step {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.guide-step-num {
  position: absolute;
  top: -14px;
  left: 28px;
  background: linear-gradient(135deg, var(--accent), var(--sakura-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 18px;
  border-radius: 20px;
  font-family: var(--font-serif);
}

.guide-step h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
  margin-bottom: 8px;
}

.route-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sakura);
}

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

/* Tip boxes */
.tip-box {
  background: linear-gradient(135deg, rgba(165,214,167,0.15), rgba(255,205,210,0.1));
  border-left: 4px solid var(--matcha);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.tip-box strong {
  color: var(--matcha-deep);
  font-weight: 700;
}

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

.warning-box {
  background: linear-gradient(135deg, rgba(255,205,210,0.2), rgba(229,115,115,0.1));
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.warning-box strong {
  color: var(--accent);
  font-weight: 700;
}

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

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

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

.char-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-warm);
}

.char-card-body {
  padding: 20px 24px;
}

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

.char-card-body .char-role {
  font-size: 0.85rem;
  color: var(--sakura-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.char-card-body .char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.char-tag {
  display: inline-block;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--bg-warm);
  color: var(--text-light);
  font-weight: 500;
  border: 1px solid var(--border);
}

.char-card-body p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.section-subheading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wood-dark);
  text-align: center;
  margin: 48px 0 28px;
}

/* ========== STORY PAGE ========== */
.story-block {
  margin-bottom: 40px;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-light);
}

.story-block p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 12px;
}

.theme-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
  border: 1px solid var(--border-card);
}

.theme-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-bottom: 8px;
}

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

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

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

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

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

.faq-arrow {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-light);
  transition: transform var(--transition);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

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

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

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.8;
}

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

.sys-reqs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.sys-reqs-table thead th {
  background: var(--wood-dark);
  color: var(--text-on-dark);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.sys-reqs-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}

.sys-reqs-table tbody tr:nth-child(even) {
  background: var(--bg-warm);
}

.sys-reqs-h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}

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

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

/* ========== CONTENT LISTS ========== */
.content-list {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0;
}

.content-list-num {
  list-style: decimal;
  padding-left: 24px;
  margin: 12px 0;
}

.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 colored variants */
.strong-pink {
  color: var(--sakura-deep);
  font-weight: 700;
}

.strong-red {
  color: var(--accent);
  font-weight: 700;
}

.strong-gold {
  color: var(--gold);
  font-weight: 700;
}

.strong-muted {
  color: var(--text-soft);
  font-weight: 700;
}

.strong-navy {
  color: var(--wood-dark);
  font-weight: 700;
}

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

.site-footer p {
  color: var(--text-on-dark-soft);
  font-size: 0.88rem;
}

/* ========== RESPONSIVE: 768px ========== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

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

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-header);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
  }

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

  .hamburger {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: 400px;
    padding: 60px 20px;
  }

  .hero-title-main {
    font-size: 2.4rem;
  }

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

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

  .hero-subpage {
    min-height: 220px;
    padding: 48px 20px 56px;
  }

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

  .content-section {
    padding: 48px 20px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .char-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

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

  .btn-cta-large {
    padding: 14px 32px;
    font-size: 1.05rem;
  }
}

/* ========== RESPONSIVE: 480px ========== */
@media (max-width: 480px) {
  .hero {
    min-height: 340px;
    padding: 48px 16px;
  }

  .hero-title-main {
    font-size: 1.9rem;
  }

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

  .hero-tagline {
    font-size: 0.88rem;
  }

  .hero-subpage {
    min-height: 180px;
    padding: 36px 16px 42px;
  }

  .hero-subpage-title {
    font-size: 1.6rem;
  }

  .content-section {
    padding: 36px 16px;
  }

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

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

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

  .section-header h2 {
    font-size: 1.5rem;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .guide-step {
    padding: 20px 18px;
  }

  .guide-step-num {
    left: 16px;
  }

  .cta-banner {
    padding: 48px 20px;
  }

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

  .btn-cta-large {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .site-logo {
    font-size: 1.1rem;
  }
}
