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

:root {
  /* ---- Brand palette: "Dragon's Hoard" — black lacquer void + antique
     bronze-gold as the DOMINANT hue + deep crimson as a secondary accent
     (inverse emphasis of PK9999's crimson-led palette; deeper and more
     desaturated than alpha88's vivid ember-orange). Echoes the coiled
     dragon + coin-hoard logo art. Distinct silhouette: swipeable
     scroll-snap banner filmstrip, a giant coin "1 บาท" stat, a
     first-person testimonial quote panel, arched dragon-scale cards,
     an arched shield bottom-nav badge. ---- */
  --black:    #0d0603;
  --black-2:  #1a0d05;
  --black-hi: #2a1608;

  --bronze:        #b8802e;
  --bronze-bright: #e8b45a;
  --bronze-deep:   #7a5017;

  --crimson:        #8c1a1a;
  --crimson-bright: #d94343;
  --crimson-deep:   #5c0f0f;

  --text:  #fdf0dc;
  --muted: #dcc09a;
  --dim:   #9c7f5c;

  --border:      rgba(232,180,90,0.32);
  --border-soft: rgba(232,180,90,0.16);
  --border-red:  rgba(217,67,67,0.42);

  --glass:      rgba(26,13,5,0.72);
  --glass-soft: rgba(26,13,5,0.46);

  --grad-cta:   linear-gradient(135deg, #ffdca0 0%, #e8b45a 45%, #b8802e 100%);
  --grad-brand: linear-gradient(135deg, #d94343 0%, #8c1a1a 55%, #5c0f0f 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(232,180,90,0.42), 0 0 26px rgba(232,180,90,0.24), 0 14px 32px rgba(0,0,0,0.65);
  --glow-red:  0 0 0 1px rgba(217,67,67,0.42), 0 0 26px rgba(217,67,67,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: lacquer-black void with a bronze glow rising
   from the bottom and a faint crimson ember top-right, echoing the
   dragon/coin-hoard logo art. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 90% 4%, rgba(217,67,67,0.14) 0%, rgba(217,67,67,0) 36%),
    radial-gradient(circle at 6% 94%, rgba(184,128,46,0.38) 0%, rgba(184,128,46,0) 48%),
    radial-gradient(circle at 50% 40%, rgba(122,80,23,0.35) 0%, rgba(122,80,23,0) 55%),
    linear-gradient(180deg, #000000 0%, #1a0d05 24%, #2a1608 50%, #1a0d05 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(232,180,90,0.5) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 62%, rgba(217,67,67,0.5) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 86% 18%, rgba(232,180,90,0.4) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 32% 82%, rgba(217,67,67,0.4) 0, transparent 100%),
    repeating-linear-gradient(115deg, rgba(232,180,90,0.05) 0px, rgba(232,180,90,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(26,13,5,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(--bronze-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(--bronze-bright);
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--crimson-bright); box-shadow: 0 0 8px var(--crimson-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(--bronze-bright); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--crimson-bright); color: var(--crimson-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, #1a0d05, #5c0f0f, #1a0d05);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 0 18px rgba(140,26,26,0.3) 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(--bronze-bright); text-shadow: 0 0 12px rgba(232,180,90,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 — "Dragon Rail": lacquer-glass bar with a thin bronze hairline
   underglow. Fixed flush at the very top. Uses the wide landscape
   lockup so the wordmark reads clearly at header height.
   ===================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--glass);
  box-shadow: 0 1px 0 var(--border), 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 { height: 58px; width: auto; max-width: 220px; object-fit: contain; filter: drop-shadow(0 3px 12px rgba(232,180,90,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(--bronze-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.4rem 0.7rem; }
  .header-row1 { gap: 0.5rem; }
  .nav-menu { display: none; }
  .logo-img { height: 42px; max-width: 160px; }
  .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 { height: 36px; max-width: 130px; }
  .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(--bronze-bright); }

/* =====================================================================
   HERO — "Scroll Filmstrip": all 4 banners laid out as a native
   horizontally-swipeable scroll-snap filmstrip with a peek of the next
   card (no JS-driven slide swap) — a mechanic distinct from every
   earlier brand's carousel/tab/diptych hero.
   ===================================================================== */
.hero { position: relative; padding-top: 92px; }
@media (max-width: 768px) { .hero { padding-top: 110px; } }

.hero-filmstrip {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  max-width: 1400px; margin: 1.1rem auto 0; padding: 0 12vw 0.5rem;
}
.hero-filmstrip::-webkit-scrollbar { display: none; }
.hero-film-card {
  flex: 0 0 76%; scroll-snap-align: center; line-height: 0;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); opacity: 0.55; transition: opacity 0.3s ease;
}
.hero-film-card.in-view { opacity: 1; }
.hero-film-card img { width: 100%; height: auto; display: block; }
@media (max-width: 768px) { .hero-filmstrip { padding: 0 7vw 0.5rem; } .hero-film-card { flex: 0 0 86%; } }

.hero-film-dots { display: flex; justify-content: center; gap: 0.5rem; padding-top: 0.9rem; }
.film-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glass); border: 1px solid var(--border); transition: background 0.2s, transform 0.2s; }
.film-dot.active { background: var(--grad-brand); transform: scale(1.3); border-color: transparent; }

.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; }

/* =====================================================================
   COIN STAT — H2 #1: a giant coin-shaped "1 บาท" numeral beside the
   heading text, tying to the logo's coin-hoard motif.
   ===================================================================== */
.coin-stat { max-width: 940px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.coin-num {
  flex: 0 0 140px; width: 140px; height: 140px; border-radius: 50%;
  background: var(--grad-cta); color: var(--black); box-shadow: var(--glow-gold);
  border: 3px solid var(--crimson-bright);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
}
.coin-num .num { font-size: 2.5rem; line-height: 1; }
.coin-num .unit { font-size: 0.72rem; letter-spacing: 0.05em; margin-top: 0.2rem; }
.coin-stat-text h2 { font-size: clamp(1.25rem, 3.2vw, 1.7rem); margin-bottom: 0.75rem; }
.coin-stat-text p { color: var(--muted); font-size: 0.9rem; line-height: 1.9; }
@media (max-width: 700px) { .coin-stat { flex-direction: column; text-align: center; padding: 2rem 1.5rem; } .coin-num { margin: 0 auto; } }

/* =====================================================================
   QUOTE PANEL — H2 #2: a first-person testimonial-style panel with a
   giant watermark quote glyph and a row of rating icons — distinct
   from ugod928's plain gem-panel and alpha88's numeric-watermark panel.
   ===================================================================== */
.quote-panel { max-width: 900px; margin: 0 auto; position: relative; overflow: hidden; background: var(--glass); border: 1px solid var(--border-red); border-radius: var(--r-xl); padding: 3.25rem 2.5rem 2.75rem; box-shadow: var(--shadow-lg); text-align: center; }
.quote-panel::before {
  content: '\201C'; position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: 6.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(217,67,67,0.35); pointer-events: none;
}
.quote-rating { display: flex; gap: 0.3rem; justify-content: center; margin-bottom: 1.1rem; position: relative; }
.quote-rating span { font-size: 1.05rem; }
.quote-panel h2 { font-size: clamp(1.3rem, 3.4vw, 1.85rem); margin-bottom: 1rem; position: relative; }
.quote-panel p { color: var(--muted); font-size: 0.94rem; line-height: 1.95; max-width: 740px; margin: 0 auto; position: relative; }
@media (max-width: 768px) { .quote-panel { padding: 2.5rem 1.5rem 2rem; } }

/* =====================================================================
   DRAGON SCALE CARDS — H2 #3-#5: three arched, scale-shaped cards
   (elliptical dome top) in a row, echoing the coiled dragon's scales —
   distinct from every earlier brand's rectangular/rounded card grid.
   ===================================================================== */
.scale-row { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1.25rem; }
@media (max-width: 768px) { .scale-row { grid-template-columns: 1fr; gap: 1.5rem; max-width: 460px; } }
.scale-card {
  position: relative; background: var(--glass); border: 1px solid var(--border);
  border-radius: 50% 50% 18px 18px / 34% 34% 18px 18px;
  padding: 2.75rem 1.5rem 2rem; text-align: center; box-shadow: var(--shadow);
}
.scale-ico {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 1.1rem;
  background: var(--grad-brand); color: #fff; box-shadow: var(--glow-red);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  border: 2px solid var(--bronze-bright);
}
.scale-card h3 { font-size: 1.02rem; margin-bottom: 0.65rem; }
.scale-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.85; }

/* ===== 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(13,6,3,0.85); color: var(--bronze-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);
}
.badge-count::before {
  content: '';
  display: inline-block; width: 0.72em; height: 0.72em; flex-shrink: 0;
  background: var(--bronze-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: var(--grad-brand); 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(--bronze-bright); }
.faq-a { color: var(--muted); font-size: 0.865rem; line-height: 1.9; }
.faq-a::before { content: 'A  '; color: var(--crimson-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); 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 a large circular coin-badge logo for
   prominence.
   ===================================================================== */
.footer { background: var(--black); border-top: 1px solid var(--border-soft); color: var(--muted); padding: 3rem 1.25rem 2rem; text-align: center; }
.footer-logo { height: 130px; width: auto; margin: 0 auto 1rem; filter: drop-shadow(0 3px 14px rgba(232,180,90,0.5)); }
@media (max-width: 479px) { .footer-logo { height: 98px; } }
.footer-tagline { max-width: 660px; margin: 0 auto 2rem; font-size: 0.88rem; line-height: 1.85; }
.footer-tagline b { color: var(--bronze-bright); }
.footer-partner { display: block; max-width: 1100px; margin: 0 auto 2rem; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #170b04; 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 — "Scale Shield Dock": flush lacquer-glass dock
   with a bronze top-edge glow, an arched shield-shaped (elliptical
   dome) center logo badge, echoing the Dragon Scale cards — 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), 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(--bronze-bright); background: var(--black-hi); }
.mnav-item.acc { color: var(--bronze-bright); font-weight: 700; }

.mnav-center {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 78px; height: 82px; margin: 0 0.5rem; transform: translateY(-26px);
  background: var(--black-2);
  border-radius: 50% 50% 16px 16px / 36% 36% 16px 16px;
  box-shadow: var(--glow-gold);
  border: 2px solid var(--bronze-bright);
  -webkit-tap-highlight-color: transparent; transition: transform 0.15s ease;
}
.mnav-center:active { transform: translateY(-26px) scale(0.94); }
.mnav-center img { height: 52px; width: auto; max-width: 62px; object-fit: contain; }
@media (max-width: 360px) {
  .mnav-item { font-size: 0.6rem; }
  .mnav-center { width: 66px; height: 70px; transform: translateY(-22px); }
  .mnav-center:active { transform: translateY(-22px) scale(0.94); }
  .mnav-center img { height: 42px; max-width: 50px; }
}

/* ===== 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; } }

/* =====================================================================
   TX COIN STRIP — deposit/withdraw feed, right after hero. Horizontal
   pure-CSS marquee of individual "coin card" chips (list duplicated once,
   looped with translateX -50%) — ties into the coin-hoard motif already
   used in .coin-stat, distinct from p569's vertical list-row marquee.
   ===================================================================== */
.tx-coin-strip { position: relative; overflow: hidden; max-width: 1300px; margin: 0 auto; }
.tx-coin-strip::before, .tx-coin-strip::after { content: ''; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 2; pointer-events: none; }
.tx-coin-strip::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.tx-coin-strip::after { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.tx-coin-track { display: flex; gap: 0.9rem; width: max-content; animation: tx-coin-scroll 32s linear infinite; padding: 0.25rem 1.25rem; }
@keyframes tx-coin-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tx-coin-track { animation: none; } }
.tx-coin-card {
  flex: 0 0 auto; display: flex; align-items: center; gap: 0.7rem;
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 0.75rem 1.15rem; box-shadow: var(--shadow); min-width: 218px;
}
.tx-coin-mark {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; font-family: var(--font-display); border: 2px solid var(--black);
}
.tx-coin-card.dep .tx-coin-mark { background: var(--grad-cta); color: var(--black); }
.tx-coin-card.wd .tx-coin-mark { background: var(--grad-brand); color: #fff; }
.tx-coin-info { min-width: 0; }
.tx-coin-name { font-size: 0.82rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.tx-coin-bank { font-size: 0.7rem; color: var(--dim); }
.tx-coin-amount { font-size: 0.78rem; font-weight: 700; margin-top: 0.1rem; }
.tx-coin-card.dep .tx-coin-amount { color: var(--bronze-bright); }
.tx-coin-card.wd .tx-coin-amount { color: var(--crimson-bright); }

/* =====================================================================
   CATEGORIZED GALLERY — /game/ divided into labeled groups, /casino/
   ===================================================================== */
.category-block { max-width: 1200px; margin: 0 auto 3rem; }
.category-block:last-child { margin-bottom: 0; }
.category-head { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.category-head h2 { font-size: clamp(1.05rem, 2.8vw, 1.3rem); }
.category-head span { color: var(--dim); font-size: 0.82rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; } }
.gallery-card {
  display: block; border-radius: var(--r); overflow: hidden;
  background: var(--glass); border: 1px solid var(--border-soft);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.55)); transition: transform 0.2s ease;
}
.gallery-card:hover { transform: translateY(-4px); }
.gallery-card img { width: 100%; height: auto; display: block; }
.gallery-card-label { padding: 0.5rem 0.6rem; font-size: 0.72rem; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.3; }
.gallery-card-label b { color: var(--bronze-bright); display: block; font-size: 0.78rem; margin-bottom: 0.1rem; font-family: var(--font-display); }

/* ===== HOMEPAGE ARTICLE PREVIEW ===== */
.article-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; max-width: 480px; } }
.article-card {
  display: block; background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease;
}
.article-card:hover { transform: translateY(-4px); }
.article-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-card-body { padding: 1.1rem 1.25rem 1.4rem; }
.article-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.article-card-body p { color: var(--muted); font-size: 0.82rem; line-height: 1.75; }

/* ===== SUB-PAGES ===== */
body.page-body { overflow-x: hidden; }
.page-main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 92px 1.25rem 7rem; text-align: center; gap: 1.75rem; position: relative; }
@media (max-width: 768px) { .page-main { padding-top: 110px; } }
.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: 92px 1.25rem 5rem; }
@media (max-width: 768px) { .article-main { padding-top: 110px; } }
.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-red); line-height: 0; }
.article-cover img { width: 100%; }

.article-tldr {
  background: var(--glass); border: 1px solid var(--border); 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(--bronze-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; }

.article-related { margin-top: 2.5rem; }
.article-related h2 { font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 0 0 1rem; }
.article-related-list { display: flex; flex-direction: column; gap: 0.9rem; }
.article-related-item {
  display: block; background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--r);
  padding: 1rem 1.25rem; transition: transform 0.2s ease, border-color 0.2s ease;
}
.article-related-item:hover { transform: translateY(-2px); border-color: var(--border); }
.article-related-item .rel-title { font-family: var(--font-display); font-weight: 700; color: var(--bronze-bright); font-size: 0.95rem; }
.article-related-item .rel-desc { color: var(--muted); font-size: 0.82rem; margin-top: 0.25rem; line-height: 1.7; }
