/* =========================================================
   天山绿谷·云杉秘境 | 巩留库尔德宁 H5 样式系统
   Color Palette:
   - Spruce Green: #0c241c, #133e2b, #1e593e
   - Meadow Green: #4e8752, #7ab574, #a4d49a
   - Snow Cold White: #f5f9f7, #e4ede8
   - Kazakh Ochre: #c67d43, #d98f56, #f3b679
   - Alpine Sky Blue: #508fa5, #79b7cc
   ========================================================= */

:root {
  --spruce-darkest: #071511;
  --spruce-dark: #0d2820;
  --spruce-primary: #133e2b;
  --spruce-light: #1c583f;
  --meadow-green: #4e8752;
  --meadow-bright: #7cb87a;
  --snow-white: #f5f9f7;
  --snow-mist: rgba(245, 249, 247, 0.85);
  --kazakh-ochre: #c67d43;
  --kazakh-gold: #df9b58;
  --sky-blue: #64a3ba;
  
  --glass-bg: rgba(13, 40, 32, 0.65);
  --glass-border: rgba(245, 249, 247, 0.16);
  --glass-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.45);
  
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en-title: 'Cinzel', serif;
  
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #06110e;
  font-family: var(--font-sans);
  color: var(--snow-white);
  -webkit-font-smoothing: antialiased;
}

/* ================= PC Preview Frame & Mobile Adapter ================= */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #153229 0%, #06120e 100%);
}

.h5-viewport-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 440px; /* Standard mobile preview width on desktop */
  max-height: 100vh;
  overflow: hidden;
  background-color: var(--spruce-darkest);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

@media (min-width: 500px) {
  .h5-viewport-frame {
    height: 92vh;
    border-radius: 40px;
    border: 8px solid #203e33;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), inset 0 0 10px rgba(255,255,255,0.08);
  }
}

/* ================= Global Top Bar ================= */
.h5-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(56px + var(--safe-top));
  padding-top: var(--safe-top);
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 21, 17, 0.8) 0%, rgba(7, 21, 17, 0) 100%);
  pointer-events: auto;
}

.brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emblem-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--kazakh-gold);
  box-shadow: 0 0 10px var(--kazakh-gold);
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--snow-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--snow-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
}

.action-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.3);
}

.lang-toggle-btn {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 1px;
}

.audio-toggle-btn {
  position: relative;
  overflow: hidden;
}

.audio-icon {
  transition: opacity 0.3s;
}

.music-wave {
  position: absolute;
  bottom: 6px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.music-wave i {
  display: block;
  width: 2px;
  height: 4px;
  background-color: var(--kazakh-gold);
  border-radius: 1px;
  animation: waveAnim 1s ease-in-out infinite alternate;
}

.music-wave i:nth-child(2) { animation-delay: 0.2s; height: 10px; }
.music-wave i:nth-child(3) { animation-delay: 0.4s; height: 6px; }
.music-wave i:nth-child(4) { animation-delay: 0.15s; height: 8px; }

.audio-toggle-btn.muted .music-wave i {
  animation: none;
  height: 2px;
  opacity: 0.4;
}
.audio-toggle-btn.muted .audio-icon {
  opacity: 0.4;
}

@keyframes waveAnim {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ================= Side Page Indicator ================= */
.page-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  z-index: 90;
  pointer-events: auto;
}

.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.35s var(--transition-smooth);
  cursor: pointer;
}

.indicator-dot.active {
  height: 20px;
  background: var(--kazakh-gold);
  box-shadow: 0 0 10px rgba(223, 155, 88, 0.7);
}

.page-number {
  margin-top: 6px;
  font-size: 10px;
  font-family: var(--font-en-title);
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ================= Kazakh Ethnic Motifs ================= */
.ethnic-motif {
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.35;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Handcrafted Kazakh ram horn / geometric embroidery motif */
.motif-tl {
  top: 65px;
  left: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23df9b58' stroke-width='2'%3E%3Cpath d='M2 38 L2 14 C2 6 8 2 16 2 C24 2 28 8 26 16 C24 22 18 22 16 18 C14 14 18 10 22 12'/%3E%3Cpath d='M38 2 L14 2 C6 2 2 8 2 16'/%3E%3C/svg%3E");
}

.motif-tr {
  top: 65px;
  right: 28px;
  transform: scaleX(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23df9b58' stroke-width='2'%3E%3Cpath d='M2 38 L2 14 C2 6 8 2 16 2 C24 2 28 8 26 16 C24 22 18 22 16 18 C14 14 18 10 22 12'/%3E%3Cpath d='M38 2 L14 2 C6 2 2 8 2 16'/%3E%3C/svg%3E");
}

.motif-bl {
  bottom: 20px;
  left: 12px;
  transform: scaleY(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23df9b58' stroke-width='2'%3E%3Cpath d='M2 38 L2 14 C2 6 8 2 16 2 C24 2 28 8 26 16 C24 22 18 22 16 18 C14 14 18 10 22 12'/%3E%3Cpath d='M38 2 L14 2 C6 2 2 8 2 16'/%3E%3C/svg%3E");
}

.motif-br {
  bottom: 20px;
  right: 12px;
  transform: scale(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23df9b58' stroke-width='2'%3E%3Cpath d='M2 38 L2 14 C2 6 8 2 16 2 C24 2 28 8 26 16 C24 22 18 22 16 18 C14 14 18 10 22 12'/%3E%3Cpath d='M38 2 L14 2 C6 2 2 8 2 16'/%3E%3C/svg%3E");
}

/* ================= Nav Drawer ================= */
.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: linear-gradient(180deg, #102e23 0%, #071712 100%);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.35s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: calc(20px + var(--safe-top)) 24px calc(24px + var(--safe-bottom));
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-subtitle {
  font-size: 11px;
  color: var(--kazakh-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-top: 4px;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  line-height: 1;
}

.drawer-menu {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  flex: 1;
}

.drawer-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.drawer-menu li:active {
  background: rgba(255, 255, 255, 0.1);
}

.menu-idx {
  font-family: var(--font-en-title);
  color: var(--kazakh-gold);
  font-size: 12px;
  font-weight: 700;
}

.drawer-footer {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ================= H5 Slider Engine Container ================= */
.h5-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  touch-action: none;
}

.h5-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.65s var(--transition-smooth), opacity 0.5s ease;
  z-index: 1;
}

.h5-page.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  z-index: 10;
}

.h5-page.prev-page {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
}

/* Page Background Media (High aesthetics) */
.page-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.h5-page.active .page-bg-media {
  transform: scale(1);
}

/* High Quality Rich Aesthetics Gradients & Natural Visuals */
.page-1-bg {
  background-image: 
    radial-gradient(circle at 50% 25%, rgba(100, 163, 186, 0.25) 0%, rgba(7, 21, 17, 0.95) 75%),
    linear-gradient(180deg, #13382c 0%, #0d271f 40%, #061511 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1200' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M0 450 L180 320 L350 420 L500 240 L650 380 L800 290 L800 1200 L0 1200 Z' fill='%23194534'/%3E%3Cpolygon points='500,240 430,360 570,360' fill='%23ffffff' opacity='0.9'/%3E%3Cpolygon points='180,320 120,400 240,400' fill='%23e6f2ee' opacity='0.8'/%3E%3Cpolygon points='650,380 600,430 700,430' fill='%23e6f2ee' opacity='0.8'/%3E%3Cpath d='M0 600 Q 400 520 800 580 L 800 1200 L 0 1200 Z' fill='%230f2c22'/%3E%3Cpath d='M0 720 Q 300 680 800 760 L 800 1200 L 0 1200 Z' fill='%230a1e17'/%3E%3C/svg%3E");
}

.page-2-bg {
  background: linear-gradient(180deg, #0e2b20 0%, #081a14 50%, #05100c 100%);
}

.page-3-bg {
  background: #081b15;
}

.page-4-bg {
  background: linear-gradient(180deg, #122c22 0%, #0a1b14 100%);
  transition: background 0.8s ease;
}

.page-5-bg {
  background: linear-gradient(180deg, #2a1f16 0%, #15100d 50%, #081b15 100%);
}

.page-6-bg {
  background: linear-gradient(180deg, #0f2720 0%, #091713 100%);
}

.page-7-bg {
  background: linear-gradient(180deg, #0d2b1f 0%, #071912 100%);
}

.page-8-bg {
  background: linear-gradient(180deg, #16362a 0%, #091c15 60%, #050f0b 100%);
}

.bg-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 17, 0.4) 0%, rgba(7, 21, 17, 0.7) 60%, rgba(7, 21, 17, 0.95) 100%);
}

.dark-glass {
  background: linear-gradient(180deg, rgba(13, 40, 32, 0.75) 0%, rgba(7, 21, 17, 0.92) 100%);
}

.dark-amber-glass {
  background: linear-gradient(180deg, rgba(46, 32, 22, 0.75) 0%, rgba(7, 21, 17, 0.92) 100%);
}

.dark-emerald-glass {
  background: linear-gradient(180deg, rgba(14, 46, 33, 0.75) 0%, rgba(6, 19, 14, 0.92) 100%);
}

.final-glass {
  background: linear-gradient(180deg, rgba(19, 62, 43, 0.6) 0%, rgba(7, 21, 17, 0.95) 85%);
}

/* Canvas for floating mountain mist */
.clouds-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}

/* ================= Page Common Layout & Headers ================= */
.page-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding: calc(64px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
}

.page-scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 70px;
}

.page-scrollable::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

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

.section-header.tight {
  margin-bottom: 12px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-en-title);
  letter-spacing: 2px;
  color: var(--kazakh-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--snow-white);
  letter-spacing: 1px;
  line-height: 1.3;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kazakh-gold), transparent);
  position: relative;
}

.divider-icon {
  position: absolute;
  background: var(--spruce-darkest);
  padding: 0 6px;
  color: var(--kazakh-gold);
  font-size: 11px;
}

.section-lead {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 249, 247, 0.75);
  max-width: 90%;
  margin: 0 auto;
}

.section-lead-sm {
  font-size: 12px;
  color: rgba(245, 249, 247, 0.7);
  margin-top: 4px;
}

.scroll-continue-hint {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 24px;
  letter-spacing: 1px;
}

/* ================= PAGE 1: Cover Specifics ================= */
.page-1-content {
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-bottom: calc(40px + var(--safe-bottom));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(223, 155, 88, 0.4);
  backdrop-filter: blur(8px);
  font-size: 11px;
  color: #f7e0b5;
  letter-spacing: 1px;
  margin-top: 25px;
}

.badge-icon {
  color: var(--kazakh-gold);
  font-size: 12px;
}

.hero-title {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--meadow-bright);
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.title-main {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #ffffff 30%, #d8eee4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.title-en {
  font-family: var(--font-en-title);
  font-size: 12px;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.tag-pill {
  padding: 5px 12px;
  border-radius: 14px;
  background: rgba(19, 62, 43, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  color: var(--snow-white);
}

.hero-intro-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 310px;
  margin-top: 15px;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.pulse-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--kazakh-gold) 0%, var(--kazakh-ochre) 100%);
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(198, 125, 67, 0.5);
  transition: transform 0.2s;
}

.pulse-cta-btn:active {
  transform: scale(0.96);
}

.btn-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 36px;
  border: 1.5px solid var(--kazakh-gold);
  animation: pulseRipple 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes pulseRipple {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.cta-arrow {
  animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.swipe-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.mouse-icon {
  display: inline-block;
  width: 14px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 7px;
  position: relative;
}

.mouse-icon i {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  background: #fff;
  border-radius: 1px;
  animation: mouseWheel 1.5s infinite;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 6px); opacity: 0; }
}

/* Animations entrance */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.h5-page.active .animate-in {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ================= PAGE 2: Highlights & Data Grid ================= */
.nature-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.glass-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

.card-icon-num {
  font-family: var(--font-en-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--kazakh-gold);
  opacity: 0.85;
  margin-bottom: 4px;
}

.glass-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--snow-white);
  margin-bottom: 6px;
}

.glass-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 249, 247, 0.8);
}

.data-stat-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(198, 125, 67, 0.15);
  border: 1px solid rgba(223, 155, 88, 0.3);
  border-radius: 16px;
  padding: 14px 10px;
  margin-top: 20px;
}

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

.stat-val {
  font-family: var(--font-en-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--kazakh-gold);
}

.stat-val small {
  font-size: 11px;
  font-weight: 400;
  margin-left: 2px;
}

.stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

/* ================= PAGE 3: Interactive Map & Spots ================= */
.page-map-content {
  padding-bottom: 12px;
}

.interactive-map-container {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 240px;
  max-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.handrawn-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Map Interactive Pins */
.map-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-pin:hover, .map-pin:active {
  transform: scale(1.2);
}

.pin-radar {
  fill: none;
  stroke: var(--kazakh-gold);
  stroke-width: 1.5;
  opacity: 0.6;
  animation: radarWave 2s infinite;
}

@keyframes radarWave {
  0% { r: 6; opacity: 0.9; }
  100% { r: 20; opacity: 0; }
}

.pin-core {
  fill: var(--kazakh-gold);
  stroke: #ffffff;
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.pin-dot {
  fill: #ffffff;
}

.pin-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  fill: #ffffff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.9));
  pointer-events: none;
}

.pin-label.highlight {
  fill: #ffe082;
  font-weight: 700;
}

.map-pin.active .pin-core {
  fill: #ff5722;
}

/* Bottom Pop-up Spot Detail Card */
.spot-card-modal {
  position: relative;
  background: rgba(13, 38, 29, 0.92);
  border: 1px solid rgba(223, 155, 88, 0.35);
  border-radius: 20px;
  padding: 12px 14px;
  margin-top: 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  gap: 12px;
}

.spot-card-handle {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.spot-media-wrap {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.spot-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.spot-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 9px;
  color: var(--kazakh-gold);
}

.spot-nav-arrows {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
}

.spot-arrow-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.spot-info-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.spot-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.spot-name {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #ffffff;
}

.spot-elevation {
  font-size: 10px;
  font-family: var(--font-en-title);
  color: var(--kazakh-gold);
  background: rgba(223, 155, 88, 0.15);
  padding: 2px 6px;
  border-radius: 6px;
}

.spot-desc {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(245, 249, 247, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.spot-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tip-tag {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
}

/* ================= PAGE 4: Four Seasons ================= */
.seasons-tab-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.season-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 4px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.season-tab-btn:active, .season-tab-btn.active {
  background: var(--kazakh-ochre);
  border-color: var(--kazakh-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(198, 125, 67, 0.4);
}

.season-icon {
  font-size: 18px;
}

.season-name {
  font-size: 12px;
  font-weight: 600;
}

.season-tab-btn small {
  font-size: 9px;
  opacity: 0.7;
}

.season-showcase-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.season-visual-banner {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  transition: all 0.5s ease;
}

.season-color-badge {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 10px;
  color: var(--kazakh-gold);
}

.season-detail-body {
  padding: 16px;
}

.season-headline {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--snow-white);
  margin-bottom: 6px;
}

.season-poem {
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  color: var(--meadow-bright);
  padding: 8px 12px;
  background: rgba(78, 135, 82, 0.15);
  border-left: 2px solid var(--meadow-bright);
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

.season-traits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trait-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 249, 247, 0.85);
}

.trait-bullet {
  color: var(--kazakh-gold);
  font-size: 10px;
  margin-top: 3px;
}

/* ================= PAGE 5: Kazakh Nomadic Culture ================= */
.culture-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.culture-card {
  position: relative;
  background: rgba(30, 24, 18, 0.7);
  border: 1px solid rgba(223, 155, 88, 0.25);
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
}

.culture-badge {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 10px;
  font-weight: 600;
  color: var(--kazakh-gold);
  background: rgba(198, 125, 67, 0.15);
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid rgba(198, 125, 67, 0.3);
}

.culture-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.culture-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(198, 125, 67, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.culture-text {
  flex: 1;
}

.culture-text h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--snow-white);
  margin-bottom: 4px;
}

.culture-text p {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(245, 249, 247, 0.8);
}

/* ================= PAGE 6: Travel Guide Accordion ================= */
.guide-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-icon {
  font-size: 16px;
}

.acc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--snow-white);
}

.acc-chevron {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.accordion-item.open .acc-chevron {
  transform: rotate(90deg);
  color: var(--kazakh-gold);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 249, 247, 0.85);
}

.accordion-item.open .accordion-body {
  max-height: 380px;
  padding: 0 16px 14px 16px;
}

.accordion-body p {
  margin-bottom: 6px;
}

.accordion-body ul {
  padding-left: 16px;
  margin-bottom: 6px;
}

.alert-box {
  background: rgba(198, 125, 67, 0.2);
  border-left: 3px solid var(--kazakh-gold);
  border-radius: 0 8px 8px 0;
  padding: 8px 10px;
  font-size: 11px;
  margin-top: 8px;
}

.alert-box.green {
  background: rgba(78, 135, 82, 0.2);
  border-left-color: var(--meadow-bright);
}

/* ================= PAGE 7: Nature Ecology & Quiz ================= */
.spruce-reservoir-card {
  background: rgba(19, 62, 43, 0.5);
  border: 1px solid rgba(124, 184, 122, 0.3);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 20px;
}

.reservoir-header {
  margin-bottom: 12px;
}

.res-badge {
  display: inline-block;
  font-size: 10px;
  background: rgba(124, 184, 122, 0.2);
  color: var(--meadow-bright);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.reservoir-header h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--snow-white);
  line-height: 1.4;
}

.reservoir-diagram {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diagram-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.diag-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--meadow-bright);
  color: #071912;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.diag-info {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 249, 247, 0.85);
}

.sub-block-title {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--snow-white);
  margin-bottom: 10px;
}

.species-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.species-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.species-avatar {
  font-size: 26px;
  margin-bottom: 4px;
}

.species-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--snow-white);
}

.species-status {
  font-size: 9px;
  color: var(--kazakh-gold);
  margin: 2px 0 4px;
}

.species-card p {
  font-size: 10px;
  line-height: 1.4;
  color: rgba(245, 249, 247, 0.7);
}

/* Quiz Module */
.eco-quiz-card {
  background: rgba(13, 38, 29, 0.85);
  border: 1px solid var(--kazakh-gold);
  border-radius: 16px;
  padding: 16px;
}

.quiz-badge {
  font-size: 11px;
  color: var(--kazakh-gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.eco-quiz-card h4 {
  font-size: 13px;
  line-height: 1.45;
  color: var(--snow-white);
  margin-bottom: 12px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-opt-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--snow-white);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-opt-btn:active {
  background: rgba(255, 255, 255, 0.2);
}

.quiz-opt-btn.correct {
  background: rgba(78, 135, 82, 0.5);
  border-color: var(--meadow-bright);
}

.quiz-opt-btn.wrong {
  background: rgba(180, 50, 50, 0.4);
  border-color: #ff6b6b;
}

.quiz-feedback {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  display: none;
}

/* ================= PAGE 8: Share, Postcard & Guestbook ================= */
.final-page-content {
  padding-bottom: 40px;
}

.final-title {
  font-size: 26px;
  background: linear-gradient(180deg, #ffffff 40%, #edd4b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.share-postcard-card {
  background: rgba(245, 249, 247, 0.08);
  border: 1px solid rgba(223, 155, 88, 0.4);
  border-radius: 20px;
  padding: 18px 16px;
  margin-bottom: 24px;
}

.postcard-visual {
  background: #fbf9f4;
  border-radius: 12px;
  padding: 16px;
  color: #2b3a32;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 14px;
}

.postcard-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 2px dashed #c67d43;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #c67d43;
  text-align: center;
  line-height: 1.1;
  transform: rotate(6deg);
}

.postcard-text .pc-to {
  font-size: 11px;
  font-weight: 700;
  color: #133e2b;
  display: block;
  margin-bottom: 6px;
}

.postcard-text .pc-body {
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
  color: #3e4a42;
  margin-bottom: 10px;
}

.postcard-text .pc-from {
  font-size: 10px;
  color: #7b867f;
  display: block;
  text-align: right;
}

.postcard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-share-trigger {
  padding: 11px 12px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--kazakh-gold) 0%, var(--kazakh-ochre) 100%);
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(198, 125, 67, 0.4);
}

.btn-share-trigger.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.btn-share-trigger:active {
  transform: scale(0.97);
}

/* Guestbook */
.guestbook-section {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
}

.guestbook-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.gb-icon {
  font-size: 18px;
}

.guestbook-header h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--snow-white);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-inputs input, .form-inputs textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--snow-white);
  font-size: 12px;
  outline: none;
  font-family: var(--font-sans);
  margin-bottom: 6px;
}

.form-inputs input:focus, .form-inputs textarea:focus {
  border-color: var(--kazakh-gold);
}

.submit-comment-btn {
  background: var(--spruce-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-comment-btn:active {
  background: var(--spruce-primary);
}

.comment-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.comment-bubble {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 10px;
}

.cb-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--kazakh-gold);
  margin-bottom: 3px;
}

.cb-text {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(245, 249, 247, 0.85);
}

/* Footnote & QR */
.official-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.qr-mockup {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.qr-box {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 4px;
}

.qr-text {
  text-align: left;
}

.qr-text strong {
  display: block;
  font-size: 13px;
  color: var(--snow-white);
}

.qr-text small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-meta {
  font-size: 10px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.back-to-top-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  cursor: pointer;
  margin-top: 6px;
}

/* ================= Popups & Modals ================= */
.share-guide-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  padding: 20px 24px;
}

.share-guide-mask.show {
  display: flex;
}

.share-arrow-anim {
  width: 60px;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23df9b58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'%3E%3C/path%3E%3Cpath d='M7 7h10v10'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  animation: arrowPulse 1s infinite alternate;
}

@keyframes arrowPulse {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5px, -5px); }
}

.share-tip-box {
  background: var(--glass-bg);
  border: 1px solid var(--kazakh-gold);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  margin-top: 10px;
  align-self: center;
}

.share-tip-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 12px;
}

.share-tip-box .dots {
  color: var(--kazakh-gold);
  font-weight: 700;
}

.close-mask-btn {
  background: var(--kazakh-ochre);
  border: none;
  border-radius: 20px;
  padding: 6px 20px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

/* Postcard Render Modal */
.postcard-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.postcard-modal-mask.show {
  display: flex;
}

.postcard-dialog {
  background: #112d22;
  border: 1px solid var(--kazakh-gold);
  border-radius: 20px;
  padding: 20px 16px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.dialog-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
}

.postcard-dialog h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #ffffff;
}

.postcard-dialog .sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 14px;
}

.canvas-render-container canvas {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.dialog-footer {
  margin-top: 14px;
}

.action-btn-pill {
  padding: 10px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--kazakh-gold) 0%, var(--kazakh-ochre) 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* Toast */
.toast-tip {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 250;
  white-space: nowrap;
}

.toast-tip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
