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

:root {
  /* ---- Brand palette: "Neon Hot" — near-black arcade void + vivid
     neon emerald as the DOMINANT hue + saturated neon yellow-gold as a
     secondary accent, lifted straight from the "888" (green) / "HOT"
     (gold) wordmark, plus a hot-pink spark used sparingly for literal
     "HOT" moments. Distinct silhouette: a 3D coin-flip hero, notched
     ticket cards, a price-tag stat, a top-5 leaderboard list, a chat-
     bubble support panel, a pennant-shaped bottom-nav badge. ---- */
  --black:    #050805;
  --black-2:  #0c140c;
  --black-hi: #16220f;

  --green:        #22e065;
  --green-bright: #6dffa0;
  --green-deep:   #0f7a3a;

  --gold:        #ffd400;
  --gold-bright: #fff066;
  --gold-deep:   #c9a300;

  --hot-bright: #ff4d7d;

  --text:  #eafff2;
  --muted: #bfe6cc;
  --dim:   #7fa88f;

  --border:      rgba(34,224,101,0.32);
  --border-soft: rgba(34,224,101,0.16);
  --border-gold: rgba(255,212,0,0.42);

  --glass:      rgba(12,20,12,0.72);
  --glass-soft: rgba(12,20,12,0.46);

  --grad-cta:   linear-gradient(135deg, #fff066 0%, #ffe066 45%, #ffd400 100%);
  --grad-brand: linear-gradient(135deg, #6dffa0 0%, #22e065 55%, #0f7a3a 100%);

  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow:    0 10px 28px rgba(0,0,0,0.65);
  --shadow-lg: 0 18px 46px rgba(0,0,0,0.7);
  --glow-gold:  0 0 0 1px rgba(255,212,0,0.42), 0 0 26px rgba(255,212,0,0.24), 0 14px 32px rgba(0,0,0,0.65);
  --glow-green: 0 0 0 1px rgba(34,224,101,0.42), 0 0 26px rgba(34,224,101,0.28), 0 14px 32px rgba(0,0,0,0.65);

  --font-display: 'Kanit', sans-serif;
  --font-body:    'Prompt', 'Kanit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  font-family: var(--font-body);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px;
}
@media (min-width: 769px) { body { padding-bottom: 0; } }

/* Painted canvas backdrop: arcade-black void with a neon-green glow
   rising from the bottom and a gold sheen top-right, echoing the
   banner art's neon zigzag stripes. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 90% 4%, rgba(255,212,0,0.14) 0%, rgba(255,212,0,0) 36%),
    radial-gradient(circle at 6% 94%, rgba(34,224,101,0.38) 0%, rgba(34,224,101,0) 48%),
    radial-gradient(circle at 50% 40%, rgba(15,122,58,0.4) 0%, rgba(15,122,58,0) 55%),
    linear-gradient(180deg, #000000 0%, #0c140c 24%, #16220f 50%, #0c140c 78%, #000000 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.4;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 26%, rgba(255,212,0,0.5) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 62%, rgba(34,224,101,0.55) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 86% 18%, rgba(255,212,0,0.4) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 32% 82%, rgba(34,224,101,0.4) 0, transparent 100%),
    repeating-linear-gradient(115deg, rgba(34,224,101,0.05) 0px, rgba(34,224,101,0.05) 1px, transparent 1px, transparent 68px);
}

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

/* ===== LAYOUT ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 1.25rem; position: relative; }
@media (max-width: 768px) { .section { padding: 3.25rem 1rem; } }
@media (max-width: 479px) { .section { padding: 2.75rem 0.875rem; } }
.bg-alt { background: rgba(12,20,12,0.5); }

/* ===== HEADINGS ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; color: var(--text); }

/* ===== UTILS ===== */
.grad-text {
  background: var(--grad-cta);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.kw { color: var(--gold-bright); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-bright);
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hot-bright); box-shadow: 0 0 8px var(--hot-bright); }

.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2.35rem); line-height: 1.35; margin: 0.9rem 0 1rem; }
.section-head p { color: var(--muted); font-size: 0.95rem; line-height: 1.9; }
@media (max-width: 479px) { .section-head { margin-bottom: 2rem; } .section-head p { font-size: 0.875rem; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  padding: 0.85rem 2.1rem; border-radius: 9999px; border: none; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn-gold { background: var(--grad-cta); color: var(--black); box-shadow: var(--glow-gold); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-gold:active { transform: translateY(1px); }
.btn-outline { background: var(--glass); color: var(--green-bright); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--gold-bright); color: var(--gold-bright); }
.hbtn { padding: 0.55rem 1.25rem; font-size: 0.82rem; }

/* =====================================================================
   TICKER BAR
   ===================================================================== */
.ticker-bar {
  position: relative; z-index: 5;
  overflow: hidden; white-space: nowrap;
  background: linear-gradient(90deg, #0c140c, #0f7a3a, #0c140c);
  border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border);
  box-shadow: 0 0 18px rgba(34,224,101,0.25) inset;
  padding: 0.7rem 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 24s linear infinite; }
.ticker-item {
  display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--gold-bright); text-shadow: 0 0 12px rgba(255,212,0,0.4); white-space: nowrap;
}
.ticker-item b { color: #fff; font-weight: 800; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
@media (max-width: 768px) { .ticker-item { font-size: 0.8rem; gap: 1.5rem; padding-right: 1.5rem; } }

/* =====================================================================
   HEADER — "Arcade Rail": black-glass bar with a thin green hairline
   underglow. Fixed flush at the very top. The wordmark logo is an
   extreme landscape ratio (389x52), so it's sized by width (clamped to
   the viewport) rather than a fixed height — keeps it prominent on
   desktop without ever overflowing a narrow mobile header.
   ===================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--glass);
  box-shadow: 0 1px 0 var(--border-gold), 0 8px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; padding: 0.55rem 1.25rem; }
.header-row1 { display: flex; align-items: center; gap: 1rem; width: 100%; }

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { width: min(210px, 38vw); height: auto; object-fit: contain; filter: drop-shadow(0 3px 12px rgba(34,224,101,0.5)); }

.nav-menu { display: flex; align-items: center; gap: 0.2rem; margin: 0 auto; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1.05rem; border-radius: 9999px;
  font-size: 0.87rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--gold-bright); background: var(--black-hi); }

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

.header-btns { display: flex; gap: 0.6rem; align-items: center; flex-shrink: 0; margin-left: auto; }
.header-row2 { display: none; }

@media (max-width: 768px) {
  .header-inner { padding: 0.45rem 0.7rem; }
  .header-row1 { gap: 0.5rem; }
  .nav-menu { display: none; }
  .logo-img { width: min(150px, 34vw); }
  .header-btns { gap: 0.35rem; }
  .hbtn { padding: 0.46rem 0.8rem; font-size: 0.72rem; }
  .header-row2 {
    display: flex; align-items: center; gap: 0.3rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-top: 0.4rem; margin-top: 0.4rem;
    border-top: 1px solid var(--border-soft);
  }
  .header-row2::-webkit-scrollbar { display: none; }
}
@media (max-width: 360px) {
  .logo-img { width: 120px; }
  .hbtn { padding: 0.4rem 0.6rem; font-size: 0.64rem; }
  .header-btns { gap: 0.25rem; }
}
.mob-nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  font-size: 0.78rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  background: var(--black-hi);
}
.mob-nav-link:active { color: var(--gold-bright); }

/* =====================================================================
   HERO — "Coin Flip": the two banners live on opposite faces of a
   single card that auto-flips like a spinning coin every 6s (real CSS
   3D rotateY, not a fade/tab/scroll swap) — a mechanic distinct from
   every earlier brand and thematically tied to a gambling site.
   ===================================================================== */
.hero { position: relative; padding-top: 96px; }
@media (max-width: 768px) { .hero { padding-top: 118px; } }

.hero-flip-wrap { max-width: 1280px; margin: 1.1rem auto 0; padding: 0 1.25rem; perspective: 1800px; }
.hero-flip {
  position: relative; width: 100%; padding-top: 20.78%; /* 266/1280 banner aspect */
  transform-style: preserve-3d; transition: transform 1s cubic-bezier(0.45, 0.15, 0.2, 1);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.hero-flip.flipped { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  line-height: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-gold);
}
.flip-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flip-back { transform: rotateY(180deg); }
@media (max-width: 768px) { .hero-flip-wrap { padding: 0 0.85rem; } .flip-face { border-radius: var(--r); } }
@media (prefers-reduced-motion: reduce) { .hero-flip { transition: none; } }

.hero-flip-hint { display: flex; justify-content: center; align-items: center; gap: 0.4rem; padding-top: 0.85rem; color: var(--dim); font-size: 0.75rem; }
.hero-flip-hint .coin { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-cta); box-shadow: 0 0 10px rgba(255,212,0,0.5); }

.hero-intro { max-width: 900px; margin: 0 auto; padding: 3rem 1.25rem 1rem; text-align: center; }
@media (max-width: 768px) { .hero-intro { padding: 2.25rem 1rem 0.5rem; } }
.hero-intro .eyebrow { margin-bottom: 1.2rem; }
.hero-intro h1 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); line-height: 1.4; margin-bottom: 1.1rem; }
.hero-intro p { color: var(--muted); font-size: clamp(0.92rem, 2vw, 1.02rem); line-height: 1.95; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ===== 3ICON STRIP ===== */
.strip { padding: 1.5rem 1.25rem; }
.strip-frame { max-width: 900px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #0e2216; }
.strip-frame img { width: 100%; }

/* =====================================================================
   TICKET CARDS — H2 #1 & #3: two notch-cornered "ticket stub" cards in
   a row, distinct from every rounded/gem/scale card used in earlier
   brands.
   ===================================================================== */
.ticket-row { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 700px) { .ticket-row { grid-template-columns: 1fr; } }
.ticket-card {
  position: relative; background: var(--glass); border: 1px solid var(--border);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  padding: 2.25rem 2rem 2rem 2.25rem; box-shadow: var(--shadow);
}
.ticket-ico {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 1.1rem;
  background: var(--grad-brand); color: #fff; box-shadow: var(--glow-green);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  border: 2px solid var(--gold-bright);
}
.ticket-card h2 { font-size: clamp(1.05rem, 2.6vw, 1.25rem); margin-bottom: 0.75rem; line-height: 1.4; }
.ticket-card p { color: var(--muted); font-size: 0.87rem; line-height: 1.85; }

/* =====================================================================
   TAG STAT — H2 #2: a price-tag-shaped panel (pointed left edge + a
   punch hole) around the "1 บาท" starting-bet figure — a different
   silhouette from jaiideejing's circular coin stat.
   ===================================================================== */
.tag-stat {
  max-width: 820px; margin: 0 auto; position: relative; display: flex; align-items: center; gap: 1.75rem;
  background: var(--glass); border: 1px solid var(--border-gold);
  clip-path: polygon(38px 0, 100% 0, 100% 100%, 38px 100%, 0 50%);
  padding: 2.25rem 2.25rem 2.25rem 3.25rem; box-shadow: var(--shadow-lg);
}
.tag-stat::before {
  content: ''; position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: var(--black); border: 2px solid var(--gold-bright);
}
.tag-num { flex: 0 0 auto; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1; }
.tag-num sub { font-size: 0.9rem; font-weight: 700; display: block; margin-top: 0.2rem; }
.tag-text h2 { font-size: clamp(1.1rem, 2.8vw, 1.4rem); margin-bottom: 0.6rem; }
.tag-text p { color: var(--muted); font-size: 0.87rem; line-height: 1.85; }
@media (max-width: 700px) { .tag-stat { flex-direction: column; text-align: center; padding: 2.25rem 1.5rem 2rem; clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); } .tag-stat::before { display: none; } }

/* =====================================================================
   LEADERBOARD — H2 #4: a top-5 ranked list of the named hit games,
   rows instead of cards — distinct from every grid used previously.
   ===================================================================== */
.leaderboard { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.lb-row { display: flex; align-items: center; gap: 1.1rem; background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r); padding: 0.95rem 1.25rem; box-shadow: var(--shadow); }
.lb-rank {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; box-shadow: var(--glow-green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.lb-row:first-child { border-color: var(--border-gold); }
.lb-row:first-child .lb-rank { background: var(--grad-cta); color: var(--black); box-shadow: var(--glow-gold); }
.lb-body { flex: 1; min-width: 0; }
.lb-body h3 { font-size: 0.96rem; margin-bottom: 0.15rem; }
.lb-body p { color: var(--muted); font-size: 0.8rem; }
.lb-flame { flex-shrink: 0; font-size: 1.15rem; }

/* =====================================================================
   CHAT PANEL — H2 #5: a mock chat-bubble exchange above the heading,
   matching the casual "ตอบไวแบบฟิวแฟน" support copy.
   ===================================================================== */
.chat-panel { max-width: 820px; margin: 0 auto; background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem 2rem; box-shadow: var(--shadow-lg); }
.chat-bubbles { display: flex; flex-direction: column; gap: 0.55rem; margin: 0 auto 1.75rem; max-width: 420px; }
.chat-bubble { padding: 0.6rem 1.05rem; border-radius: 17px; font-size: 0.85rem; line-height: 1.5; max-width: 84%; }
.chat-bubble.q { align-self: flex-start; background: var(--black-hi); border-bottom-left-radius: 4px; color: var(--muted); }
.chat-bubble.a { align-self: flex-end; background: var(--grad-brand); border-bottom-right-radius: 4px; color: #06210f; font-weight: 600; }
.chat-panel h2 { text-align: center; font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 0.85rem; }
.chat-panel p { text-align: center; color: var(--muted); font-size: 0.9rem; line-height: 1.9; max-width: 700px; margin: 0 auto; }
@media (max-width: 768px) { .chat-panel { padding: 2rem 1.5rem; } }

/* ===== PROVIDER SHOWCASE (single 12-card grid) ===== */
.provider-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
@media (max-width: 900px) { .provider-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479px) { .provider-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }
.provider-card {
  position: relative; display: block; border-radius: var(--r); overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.6));
}
.provider-card:hover { transform: translateY(-4px); }
.provider-card img { width: 100%; height: auto; }

.provider-badges { position: absolute; top: 0.5rem; left: 0.5rem; right: 0.5rem; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.badge-count {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: rgba(5,8,5,0.85); color: var(--gold-bright);
  font-size: 0.66rem; font-weight: 700; padding: 0.2rem 0.5rem 0.2rem 0.4rem;
  border-radius: 9999px; border: 1px solid var(--border-gold);
}
.badge-count::before {
  content: '';
  display: inline-block; width: 0.72em; height: 0.72em; flex-shrink: 0;
  background: var(--gold-bright);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm0 2.5c-3.34 0-10 1.68-10 5v2.5h20v-2.5c0-3.32-6.66-5-10-5z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm0 2.5c-3.34 0-10 1.68-10 5v2.5h20v-2.5c0-3.32-6.66-5-10-5z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.badge-hot {
  display: inline-flex; align-items: center; gap: 0.2rem;
  background: linear-gradient(135deg, #ff8fae, var(--hot-bright)); color: #fff;
  font-size: 0.64rem; font-weight: 800; padding: 0.2rem 0.55rem 0.2rem 0.4rem;
  border-radius: 9999px;
}
.badge-hot::before { content: '🔥'; font-size: 0.7rem; }
@media (max-width: 479px) { .badge-count, .badge-hot { font-size: 0.58rem; padding: 0.16rem 0.4rem; } }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.faq-q { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.55rem; color: var(--text); }
.faq-q::before { content: 'Q  '; color: var(--gold-bright); }
.faq-a { color: var(--muted); font-size: 0.865rem; line-height: 1.9; }
.faq-a::before { content: 'A  '; color: var(--green-bright); font-weight: 700; }
@media (max-width: 479px) { .faq-item { padding: 1.05rem 1.15rem; } }

/* ===== CTA SECTION ===== */
.cta-section { padding: 5rem 1.25rem; }
.cta-panel {
  max-width: 1000px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--border-gold); border-radius: var(--r-xl);
  padding: 3.25rem 2rem; box-shadow: var(--glow-gold);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cta-panel .eyebrow { margin-bottom: 1rem; }
.cta-panel h2 { font-size: clamp(1.5rem, 4vw, 2.15rem); margin-bottom: 0.75rem; }
.cta-panel 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; }
.cta-btns .btn { padding: 1rem 2.4rem; font-size: 1.02rem; }
@media (max-width: 768px) { .cta-panel { padding: 2.5rem 1.5rem; } }
@media (max-width: 479px) { .cta-panel { padding: 2rem 1.1rem; border-radius: var(--r-lg); } }

/* =====================================================================
   FOOTER — dark per brief, with the wordmark scaled large (by width,
   same responsive-safe approach as the header).
   ===================================================================== */
.footer { background: var(--black); border-top: 1px solid var(--border-soft); color: var(--muted); padding: 3rem 1.25rem 2rem; text-align: center; }
.footer-logo { width: min(300px, 62vw); height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 3px 14px rgba(34,224,101,0.5)); }
.footer-tagline { max-width: 660px; margin: 0 auto 2rem; font-size: 0.88rem; line-height: 1.85; }
.footer-tagline b { color: var(--gold-bright); }
.footer-partner { display: block; max-width: 1100px; margin: 0 auto 2rem; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #08130a; border: 1px solid var(--border); padding: 1.25rem; }
.footer-partner img { width: 100%; }
.footer-copy { color: var(--dim); font-size: 0.76rem; }
.footer-copy b { color: var(--dim); }

/* =====================================================================
   BOTTOM MOBILE NAV — "Pennant Dock": flush black-glass dock with a
   green top-edge glow, a pointed pennant/banner-shaped center badge
   (flat top, single point at the bottom) using the square favicon mark
   — a silhouette distinct from every earlier brand.
   ===================================================================== */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  align-items: center; justify-content: space-between;
  background: var(--glass);
  box-shadow: 0 -1px 0 var(--border-gold), 0 -10px 26px rgba(0,0,0,0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 0.5rem 0.6rem;
}
@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.15rem;
  padding: 0.55rem 0.15rem; border-radius: var(--r); color: var(--muted);
  font-size: 0.66rem; font-weight: 600; text-align: center; line-height: 1.1;
  -webkit-tap-highlight-color: transparent; transition: color 0.2s, background 0.2s;
}
.mnav-item .mnav-emoji { font-size: 1.1rem; line-height: 1; }
.mnav-item .ico-line { transform: scale(1.35); margin-bottom: 0.1rem; }
.mnav-item:active { color: var(--gold-bright); background: var(--black-hi); }
.mnav-item.acc { color: var(--gold-bright); font-weight: 700; }

.mnav-center {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 78px; height: 84px; margin: 0 0.5rem; transform: translateY(-24px);
  background: var(--black-2);
  clip-path: polygon(0% 0%, 100% 0%, 100% 62%, 50% 100%, 0% 62%);
  box-shadow: var(--glow-green);
  border: 2px solid var(--gold-bright);
  -webkit-tap-highlight-color: transparent; transition: transform 0.15s ease;
}
.mnav-center:active { transform: translateY(-24px) scale(0.94); }
.mnav-center img { height: 40px; width: auto; max-width: 50px; object-fit: contain; margin-top: -0.6rem; }
@media (max-width: 360px) {
  .mnav-item { font-size: 0.6rem; }
  .mnav-center { width: 66px; height: 72px; transform: translateY(-20px); }
  .mnav-center:active { transform: translateY(-20px) scale(0.94); }
  .mnav-center img { height: 32px; max-width: 40px; }
}

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

/* ===== SUB-PAGES ===== */
body.page-body { overflow: hidden; }
.page-main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 1.25rem 7rem; text-align: center; gap: 1.75rem; position: relative; }
@media (max-width: 768px) { .page-main { padding-top: 118px; } }
.page-h1 { font-size: clamp(1.3rem, 3.6vw, 1.9rem); line-height: 1.4; }
.action-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== ARTICLE PAGE ===== */
.article-main { max-width: 780px; margin: 0 auto; padding: 96px 1.25rem 5rem; }
@media (max-width: 768px) { .article-main { padding-top: 118px; } }
.article-main h1 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.45; margin-bottom: 1rem; }
.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.95; margin-bottom: 1.25rem; }
.article-main h2 { font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 2rem 0 1rem; }

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

.article-tldr {
  background: var(--glass); border: 1px solid var(--border-gold); border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem; margin-bottom: 2rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.article-tldr h2 { margin-top: 0; font-size: 1rem; color: var(--gold-bright); }
.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; }
