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

:root {
  /* ---- Brand palette: BLACK · DEEP GREEN · GREEN · LIGHT GREEN · GRAY (Emerald Luxe / glass) ---- */
  --glow:        #8ef0b3;   /* เขียวอ่อน — primary accent */
  --glow-mid:    #45c47e;
  --glow-deep:   #1f9d63;   /* เขียว */
  --mint:        #bdeccd;   /* secondary pale mint */
  --mint-mid:    #8fbfa2;
  --leaf:        #dff7e6;

  --black:       #04100b;
  --bg:          #050c08;
  --deep:        #0a2417;   /* เขียวเข้มเข้ม */
  --surface:     #0c281b;
  --card:        rgba(12, 32, 22, 0.55);
  --border:      rgba(142, 240, 179, 0.20);
  --border-mint: rgba(189, 236, 205, 0.18);

  --text:        #eaf5ee;
  --muted:       #93a89c;   /* เทา */
  --dim:         #5f7267;

  --grad-green:  linear-gradient(135deg, #dff7e6 0%, #8ef0b3 42%, #1f9d63 100%);
  --grad-cta:    linear-gradient(135deg, #a8f5c6 0%, #3bbd77 55%, #12784a 100%);
  --grad-mint:   linear-gradient(135deg, #eafff2 0%, #bdeccd 100%);

  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-green: 0 0 40px rgba(47, 174, 110, 0.28);
  --shadow-mint:  0 0 40px rgba(189, 236, 205, 0.16);

  --font-body:    'Prompt', sans-serif;
  --font-display: 'Trirong', Georgia, 'Times New Roman', serif;

  /* aliases so shared markup keeps working */
  --gold: var(--glow); --pink: var(--glow); --blue: var(--mint);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(5, 12, 8, 0.90), rgba(5, 12, 8, 0.93)),
    url('assets/img/BG%20web%20-%20HENG36.webp');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  body {
    background-image:
      linear-gradient(rgba(5, 12, 8, 0.92), rgba(5, 12, 8, 0.95)),
      url('assets/img/BG%20phone%20-%20HENG36.webp');
    background-attachment: scroll;
    padding-bottom: 62px;
  }
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 1.25rem; }
@media (max-width: 768px) { .section { padding: 3rem 1rem; } }
@media (max-width: 479px) { .section { padding: 2.5rem 0.875rem; } }

/* ===== HEADINGS (serif display) ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.005em; }

/* ===== UTILS ===== */
.grad-text {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-blue {
  background: var(--grad-mint);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* SEO keyword highlight */
.kw { color: var(--glow); font-weight: 700; }

.badge {
  display: inline-block;
  font-family: var(--font-body);
  padding: 0.28rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(142, 240, 179, 0.08);
  border: 1px solid rgba(142, 240, 179, 0.32);
  color: var(--glow);
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.badge-blue { background: rgba(189, 236, 205, 0.08); border-color: rgba(189, 236, 205, 0.3); color: var(--mint); }

/* ornamental luxe divider */
.divider {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.divider-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(142, 240, 179, 0.5));
}
.divider-line.rev { background: linear-gradient(to left, transparent, rgba(142, 240, 179, 0.5)); }
.divider-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--glow);
}
/* center diamond divider (luxe) */
.orn {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  color: rgba(142, 240, 179, 0.6);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600;
  margin: 0.35rem 0 1rem;
}
.orn::before, .orn::after {
  content: ""; width: 46px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 240, 179, 0.45));
}
.orn::after { background: linear-gradient(270deg, transparent, rgba(142, 240, 179, 0.45)); }

/* ===== SHINE ===== */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: '';
  position: absolute;
  top: -50%; left: -100%;
  width: 200%; height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  animation: shineMove 3.5s infinite;
}
@keyframes shineMove { 0% { left: -100%; opacity: 0; } 50% { opacity: 0.5; } 100% { left: 120%; opacity: 0; } }

/* ===== FLOAT ===== */
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: floatBob 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .float, .shine::after { animation: none; } }

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  padding: 0.8rem 2.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-pink {
  background: var(--grad-cta);
  color: #05140d;
  box-shadow: 0 4px 20px rgba(47, 174, 110, 0.4);
}
.btn-pink:hover  { transform: scale(1.05); box-shadow: 0 8px 28px rgba(47,174,110,0.55); }
.btn-pink:active { transform: scale(0.97); }
.btn-outline {
  background: rgba(142,240,179,0.04);
  color: var(--glow);
  border: 1.5px solid rgba(142, 240, 179, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(142,240,179,0.10); transform: scale(1.05); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 18, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(142, 240, 179, 0.14);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
  height: 72px; display: flex; align-items: center; gap: 0.75rem;
}
.logo-link { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.logo-img { height: 52px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
.logo-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 479px) { .logo-name { font-size: 1.05rem; } }
@media (max-width: 360px) { .logo-name { display: none; } }

.nav-menu { display: flex; align-items: center; gap: 0.125rem; margin-left: 0.5rem; }
.nav-link {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.4rem 0.875rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  white-space: nowrap; transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(142,240,179,0.08); }

.ico-line {
  display: inline-flex; align-items: center; justify-content: center;
  background: #06C755; color: #fff; font-size: 0.55rem; font-weight: 800;
  letter-spacing: 0.03em; border-radius: 4px; padding: 2px 4px; flex-shrink: 0; line-height: 1;
}

.header-btns { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; margin-left: auto; }
.hbtn {
  height: 34px; width: auto; max-width: 120px; object-fit: contain; cursor: pointer;
  transition: transform 0.2s; filter: drop-shadow(0 2px 8px rgba(47,174,110,0.35));
}
.hbtn:hover { transform: scale(1.07); }

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .logo-img { height: 44px; max-width: 140px; }
  .nav-menu { display: none; }
}
@media (max-width: 479px) {
  .header-inner { padding: 0 0.875rem; height: 56px; }
  .logo-img { height: 36px; max-width: 110px; }
  .hbtn { height: 28px; max-width: 90px; }
  .header-btns { gap: 0.375rem; }
}

/* ===== MOBILE NAV (scroll strip under header) ===== */
.mob-nav {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(7, 18, 12, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(142,240,179,0.12);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mob-nav::-webkit-scrollbar { display: none; }
.mob-nav-inner { display: flex; align-items: center; padding: 0 0.875rem; height: 34px; width: max-content; min-width: 100%; gap: 0.125rem; }
.mob-nav-link {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.2rem 0.75rem; border-radius: 9999px;
  font-size: 0.76rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.mob-nav-link:hover, .mob-nav-link:active { color: var(--text); background: rgba(142,240,179,0.08); }
@media (max-width: 768px) { .mob-nav { display: block; } }
@media (max-width: 479px) { .mob-nav { top: 56px; } }

/* ===== HERO (centered + banner) ===== */
.hero { position: relative; overflow: hidden; padding: 120px 1.25rem 3.5rem; }

.hero-center { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-center .badge { margin-bottom: 1.1rem; }
.hero-center .orn { margin: 0 0 1.4rem; }

.hero-banner { position: relative; width: 100%; max-width: 1080px; margin: 3rem auto 0; }
.hero-banner-frame {
  border-radius: 28px; overflow: hidden; position: relative;
  border: 1px solid rgba(142,240,179,0.22);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 0 60px rgba(47,174,110,0.06);
}
.hero-banner-frame img { display: block; width: 100%; height: auto; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.6rem;
  background: rgba(7,18,12,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(142,240,179,0.3); border-radius: 14px; padding: 0.55rem 0.85rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45); text-align: left;
}
.float-card .fc-ico {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(142,240,179,0.14); border: 1px solid rgba(142,240,179,0.3);
}
.float-card b { display: block; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.float-card small { display: block; font-family: var(--font-body); font-size: 0.68rem; color: var(--muted); }
.fc-1 { top: 9%; left: -2%; animation: floatBob 4s ease-in-out infinite; }
.fc-2 { top: 44%; right: -2%; animation: floatBob 4.6s ease-in-out infinite; }
.fc-3 { bottom: 8%; left: 6%; animation: floatBob 5.2s ease-in-out infinite; }
@media (max-width: 640px) {
  .hero-banner-frame { border-radius: 20px; }
  .float-card { padding: 0.4rem 0.6rem; gap: 0.45rem; border-radius: 11px; }
  .float-card .fc-ico { width: 27px; height: 27px; font-size: 0.9rem; }
  .float-card b { font-size: 0.7rem; }
  .float-card small { font-size: 0.58rem; }
  .fc-1 { left: 0; top: 5%; }
  .fc-2 { right: 0; top: 47%; }
  .fc-3 { bottom: 5%; left: 2%; }
}
@media (max-width: 400px) { .fc-3 { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-1 { top: 12%; left: 4%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(47,174,110,0.18) 0%, transparent 70%); }
.hero-glow-2 { bottom: 8%; right: 2%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(142,240,179,0.12) 0%, transparent 70%); }
.hero-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 3rem 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; width: 100%;
}
@media (max-width: 768px) {
  .hero { padding: 100px 1rem 2.5rem; }
  .orn { justify-content: center; }
  .hero-banner { margin-top: 2.3rem; }
}
@media (max-width: 479px) { .hero { padding: 100px 0.875rem 2rem; } }
.hero h1 { font-size: clamp(2rem, 6.2vw, 4rem); line-height: 1.08; margin-bottom: 1.1rem; font-weight: 600; text-wrap: balance; }
@media (max-width: 479px) { .hero h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); } }
.hero p { color: var(--muted); font-size: clamp(0.98rem, 2.2vw, 1.18rem); line-height: 1.7; max-width: 48ch; margin: 0 auto 1.9rem; }
@media (max-width: 479px) { .hero p { font-size: 0.92rem; margin-bottom: 1.5rem; } }
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 768px) { .hero-actions { justify-content: center; } }
@media (max-width: 359px) { .hero-actions { flex-direction: column; align-items: center; } .hero-actions .btn { width: 100%; max-width: 280px; } }
.hero-img-wrap { display: flex; justify-content: center; }

/* hero glass frame */
.hero-card {
  position: relative; padding: 1.5rem; border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(142,240,179,0.10), rgba(12,40,27,0.5));
  border: 1px solid rgba(142,240,179,0.26);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 44px rgba(47,174,110,0.08);
}
.hero-card img { max-width: 420px; width: 100%; filter: drop-shadow(0 0 44px rgba(47,174,110,0.34)); }
.hero-badge-float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.42rem 0.85rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 600; color: var(--text);
  background: rgba(7,18,12,0.82); border: 1px solid rgba(142,240,179,0.5);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap;
}
.hb-1 { top: 6%; left: -5%; animation: floatBob 4s ease-in-out infinite; }
.hb-2 { bottom: 9%; right: -3%; animation: floatBob 4.6s ease-in-out infinite; }
@media (max-width: 768px) { .hero-card img { max-width: 340px; } }
@media (max-width: 479px) { .hero-card { padding: 1.1rem; } .hero-card img { max-width: 280px; } .hero-badge-float { font-size: 0.7rem; padding: 0.32rem 0.65rem; } .hb-1 { left: 0; } .hb-2 { right: 0; } }

/* hero stat chips */
.hero-stats { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.hstat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.hstat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 3px; }
.hstat-div { width: 1px; height: 34px; background: linear-gradient(180deg, transparent, rgba(142,240,179,0.45), transparent); }
@media (max-width: 768px) { .hero-stats { justify-content: center; margin-bottom: 1.5rem; } .hstat { align-items: center; } }
@media (max-width: 479px) { .hero-stats { gap: 0.6rem; } .hstat-num { font-size: 1.25rem; } .hstat-label { font-size: 0.66rem; } .hstat-div { height: 28px; } }

/* ===== FEATURES ===== */
.features { padding: 4rem 1.25rem; background: rgba(10, 36, 23, 0.4); }
@media (max-width: 768px) { .features { padding: 3rem 1rem; } }
@media (max-width: 479px) { .features { padding: 2.5rem 0.875rem; } }
.features-head { max-width: 1200px; margin: 0 auto 2.25rem; text-align: center; }
.features-head h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 600; line-height: 1.3; background: var(--grad-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.features-head > p { color: var(--muted); font-size: 0.93rem; line-height: 1.9; max-width: 820px; margin: 1rem auto 0; text-align: left; }
@media (max-width: 479px) { .features-head { margin-bottom: 1.5rem; } .features-head > p { font-size: 0.875rem; } }
.feat-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; gap: 1rem; } }
@media (min-width: 641px) and (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } .feat-card:last-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; width: 100%; } }
.feat-card {
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.75rem 1.5rem; text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
@media (max-width: 640px) { .feat-card { padding: 1.5rem 1.25rem; } }
.feat-card:hover { border-color: rgba(142, 240, 179, 0.45); transform: translateY(-5px); box-shadow: var(--shadow-green); }
.feat-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; font-size: 1.875rem; }
.feat-icon.p { background: rgba(142,240,179,0.10); border: 1px solid rgba(142,240,179,0.24); }
.feat-icon.b { background: rgba(189,236,205,0.10); border: 1px solid rgba(189,236,205,0.24); }
.feat-icon.v { background: rgba(31,157,99,0.14); border: 1px solid rgba(31,157,99,0.3); }
.feat-card h3 { font-size: 1.1rem; color: var(--glow); margin-bottom: 0.5rem; }
.feat-card p  { font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ===== 3ICON STRIP ===== */
.strip { padding: 2rem 1.25rem; }
@media (max-width: 479px) { .strip { padding: 1.5rem 0.875rem; } }
.strip img { max-width: 960px; margin: 0 auto; border-radius: var(--r-xl); width: 100%; }

/* ===== 2-COL CONTENT ===== */
.c2 { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .c2 { gap: 2.5rem; } }
@media (max-width: 768px) { .c2 { grid-template-columns: 1fr; gap: 2rem; } .c2.flip > div:first-child { order: -1; } }
@media (max-width: 479px) { .c2 { gap: 1.5rem; } }
.c2 h2 { font-size: clamp(1.35rem, 3.5vw, 2.05rem); line-height: 1.3; margin-bottom: 1.25rem; }
@media (max-width: 479px) { .c2 h2 { margin-bottom: 1rem; } }
.c2 p { color: var(--muted); font-size: 0.93rem; line-height: 1.9; margin-bottom: 1rem; }
.c2 img { border-radius: var(--r-xl); width: 100%; }

/* ===== GAMES ===== */
.games-wrap { max-width: 960px; margin: 0 auto; text-align: center; }
.games-wrap h2 { font-size: clamp(1.35rem, 3.5vw, 2rem); line-height: 1.3; margin-bottom: 0.75rem; }
.games-wrap > p { color: var(--muted); font-size: 0.93rem; line-height: 1.9; margin-bottom: 1.75rem; text-align: left; }
@media (max-width: 479px) { .games-wrap > p { font-size: 0.875rem; } }
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 640px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }
.game-chip {
  background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--r); padding: 0.9rem 0.75rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.game-chip:hover { border-color: rgba(142,240,179,0.45); transform: translateY(-3px); box-shadow: var(--shadow-green); }
.game-chip span { color: var(--glow); }
.games-img { margin-top: 2rem; }
.games-img img { border-radius: var(--r-xl); margin: 0 auto; max-width: 760px; width: 100%; box-shadow: var(--shadow-green); }

/* ===== INFO CARD (mobile entrance) ===== */
.rtp-wrap {
  max-width: 820px; margin: 0 auto; background: var(--card);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-mint); border-radius: var(--r-xl); padding: 2.75rem;
}
@media (max-width: 768px) { .rtp-wrap { padding: 2rem 1.5rem; } }
@media (max-width: 479px) { .rtp-wrap { padding: 1.5rem 1rem; border-radius: var(--r-lg); } }
.rtp-wrap h3 { font-size: clamp(1.2rem, 3.5vw, 1.65rem); color: var(--mint); margin-bottom: 1.25rem; line-height: 1.3; }
.rtp-wrap p { color: var(--muted); font-size: 0.93rem; line-height: 1.9; margin-bottom: 0.875rem; }
@media (max-width: 479px) { .rtp-wrap p { font-size: 0.875rem; } }
.rtp-wrap p:last-child { margin-bottom: 0; }

/* ===== SUMMARY ===== */
.summary-card { background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(142,240,179,0.22); border-radius: var(--r-xl); padding: 3rem; text-align: center; }
@media (max-width: 768px) { .summary-card { padding: 2rem 1.5rem; } }
@media (max-width: 479px) { .summary-card { padding: 1.5rem 1rem; border-radius: var(--r-lg); } }
.summary-card h2 { font-size: clamp(1.3rem, 3.5vw, 1.9rem); margin-bottom: 1.5rem; }
.summary-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.9; margin-bottom: 1rem; text-align: left; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 1.25rem;
  background: linear-gradient(135deg, rgba(47,174,110,0.16) 0%, rgba(142,240,179,0.06) 50%, rgba(10,36,23,0.4) 100%);
  border-top: 1px solid rgba(142,240,179,0.16); border-bottom: 1px solid rgba(142,240,179,0.16); text-align: center;
}
@media (max-width: 768px) { .cta-section { padding: 3.5rem 1rem; } }
@media (max-width: 479px) { .cta-section { padding: 2.5rem 0.875rem; } }
.cta-section h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); margin-bottom: 0.875rem; line-height: 1.3; }
.cta-section > div > p { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
@media (max-width: 360px) { .cta-btns { flex-direction: column; gap: 0.875rem; } }
.cta-img { height: 52px; width: auto; max-width: 180px; object-fit: contain; cursor: pointer; transition: transform 0.25s; filter: drop-shadow(0 4px 16px rgba(47,174,110,0.4)); }
@media (max-width: 479px) { .cta-img { height: 44px; } }
.cta-img:hover { transform: scale(1.08); }

/* ===== FOOTER ===== */
.footer { background: rgba(4, 10, 7, 0.95); border-top: 1px solid rgba(142,240,179,0.12); padding: 3.5rem 1.25rem 2.5rem; text-align: center; }
@media (max-width: 479px) { .footer { padding: 2.5rem 1rem 2rem; } }
.footer-logo { height: 40px; margin: 0 auto 1.5rem; }
.footer-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.85; max-width: 680px; margin: 0 auto 1.5rem; }
@media (max-width: 479px) { .footer-desc { font-size: 0.825rem; } }
.footer-copy { color: var(--dim); font-size: 0.78rem; }

/* ===== BOTTOM MOBILE NAV (5 items, center logo elevated) ===== */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  align-items: flex-end; justify-content: space-between; gap: 0.25rem;
  background: linear-gradient(180deg, rgba(10,36,23,0.92), rgba(4,10,7,0.98));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(142,240,179,0.3);
  box-shadow: 0 -8px 26px rgba(0,0,0,0.55);
  padding: 0.28rem 0.5rem; padding-bottom: max(0.28rem, env(safe-area-inset-bottom));
}
@media (max-width: 768px) { .sticky-bar { display: flex; } }
.mnav-item {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem;
  padding: 0.2rem 0.15rem; border-radius: 12px; color: var(--muted);
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; text-align: center; line-height: 1.1;
  -webkit-tap-highlight-color: transparent; transition: color 0.2s, background 0.2s;
}
.mnav-item .mn-ico { font-size: 1.02rem; line-height: 1; }
.mnav-item:active { background: rgba(142,240,179,0.10); color: var(--glow); }
.mnav-item.acc { color: var(--glow); }

/* center elevated logo */
.mnav-center { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.1rem; transform: translateY(-10px); -webkit-tap-highlight-color: transparent; }
.mnav-center:active .mnav-ring { transform: scale(0.94); }
.mnav-ring {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center; border: 2.5px solid #061109;
  box-shadow: 0 0 0 2px rgba(142,240,179,0.6), 0 6px 16px rgba(47,174,110,0.55);
  transition: transform 0.18s ease;
}
.mnav-ring img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.mnav-center span { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; color: var(--glow); }
@media (max-width: 360px) {
  .mnav-item { font-size: 0.55rem; }
  .mnav-item .mn-ico { font-size: 0.95rem; }
  .mnav-ring { width: 44px; height: 44px; }
  .mnav-ring img { width: 33px; height: 33px; }
}

/* ===== SECTION ALT BG ===== */
.bg-alt  { background: rgba(10, 36, 23, 0.36); }
.bg-dark { background: rgba(4, 9, 6, 0.55); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== STEPS ===== */
.steps-wrap { max-width: 860px; margin: 0 auto; }
.steps-head { text-align: center; margin-bottom: 2.5rem; }
.steps-head h2 { font-size: clamp(1.35rem, 3.5vw, 2rem); line-height: 1.3; margin-bottom: 0.75rem; }
.steps-head > p { color: var(--muted); font-size: 0.93rem; max-width: 600px; margin: 0 auto; }
.step-prereq { margin-bottom: 2.5rem; }
.step-prereq > h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 0.875rem; font-weight: 600; }
.step-checklist { background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.875rem; }
@media (max-width: 479px) { .step-checklist { padding: 1rem 1.1rem; gap: 0.75rem; } }
.check-row { display: flex; align-items: flex-start; gap: 0.875rem; }
.ck { font-size: 1rem; flex-shrink: 0; width: 1.5rem; text-align: center; }
.ck-ok { color: var(--glow); font-weight: 800; flex-shrink: 0; font-size: 1rem; }
.check-row p, .check-row div { color: var(--muted); font-size: 0.875rem; line-height: 1.75; margin: 0; }
.tip-box { background: rgba(142, 240, 179, 0.06); border: 1px solid rgba(142, 240, 179, 0.22); border-radius: var(--r-lg); padding: 1rem 1.25rem; display: flex; gap: 0.875rem; align-items: flex-start; margin-top: 1rem; }
.tip-box p { color: var(--muted); font-size: 0.875rem; line-height: 1.75; margin: 0; }
.steps-list { display: flex; flex-direction: column; gap: 2rem; }
.step-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--grad-cta); color: #05140d; font-weight: 900; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(47, 174, 110, 0.4); font-family: var(--font-body); }
.step-body { flex: 1; min-width: 0; }
.step-body > h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 0.5rem; font-weight: 600; line-height: 1.35; }
.step-body > p { color: var(--muted); font-size: 0.9rem; line-height: 1.85; margin-bottom: 0; }
.step-body .step-checklist { margin-top: 0.75rem; }
@media (max-width: 479px) { .step-item { gap: 1rem; } .step-num { width: 36px; height: 36px; font-size: 0.95rem; } .step-body > h3 { font-size: 1rem; } .step-body > p { font-size: 0.855rem; } }

/* ===== FAQ ===== */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 2.5rem; }
.faq-head h2 { font-size: clamp(1.3rem, 3.5vw, 1.9rem); line-height: 1.3; margin-top: 0.5rem; margin-bottom: 0.625rem; }
.faq-head > p { color: var(--muted); font-size: 0.9rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.875rem; }
.faq-item { background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item:hover { border-color: rgba(189, 236, 205, 0.4); box-shadow: var(--shadow-mint); }
.faq-q { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1rem; margin-bottom: 0.625rem; line-height: 1.45; }
.faq-q::before { content: 'Q · '; color: var(--glow); }
.faq-a { color: var(--muted); font-size: 0.875rem; line-height: 1.85; margin: 0; }
.faq-a::before { content: 'A · '; color: var(--mint); font-weight: 600; }
@media (max-width: 479px) { .faq-item { padding: 1.1rem 1.2rem; } .faq-q { font-size: 0.95rem; } .faq-a { font-size: 0.845rem; } }

/* ===== SUB-PAGES ===== */
body.page-body { overflow: hidden; }
.page-main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 1.25rem 6rem; text-align: center; gap: 1.75rem; }
@media (max-width: 768px) { .page-main { padding-top: 108px; padding-bottom: 6.5rem; } }
@media (max-width: 479px) { .page-main { padding-top: 100px; } }
.page-h1 { font-size: clamp(1.25rem, 3.5vw, 1.75rem); font-weight: 600; line-height: 1.35; background: var(--grad-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.action-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.action-img { height: 52px; width: auto; object-fit: contain; cursor: pointer; transition: transform 0.25s; filter: drop-shadow(0 4px 16px rgba(47,174,110,0.4)); }
.action-img:hover { transform: scale(1.08); }
@media (max-width: 479px) { .action-img { height: 44px; } }
@media (max-width: 360px) { .action-btns { flex-direction: column; gap: 0.875rem; } }

/* ===== ARTICLE PAGE ===== */
.article-main { max-width: 780px; margin: 0 auto; padding: 72px 1.25rem 5rem; }
@media (max-width: 768px) { .article-main { padding-top: 108px; } }
@media (max-width: 479px) { .article-main { padding-top: 100px; } }
.article-main h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.4; margin-bottom: 1rem; color: var(--text); }
.article-main .article-meta { color: var(--dim); font-size: 0.8rem; margin-bottom: 2rem; }
.article-main p { color: var(--muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.25rem; }
.article-main h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 2rem 0 1rem; color: var(--text); }

.article-cover { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-green); line-height: 0; }
.article-cover img { width: 100%; }

.article-tldr {
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem; margin-bottom: 2rem;
}
.article-tldr h2 { margin-top: 0; font-size: 1rem; color: var(--glow); }
.article-tldr ul { margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: 0.9rem; line-height: 1.95; }
.article-tldr li { margin-bottom: 0.35rem; }

.article-faq { margin-top: 2.5rem; }
