:root {
  --bg: #0a0705;
  --bg-panel: #15100c;
  --bg-panel-2: #1c1410;
  --border: #2e211a;
  --orange: #ff6b1a;
  --orange-2: #ffb020;
  --red: #ff3b1a;
  --text: #f5ede4;
  --text-dim: #b8a999;
  --text-faint: #7a6a5c;
  --green: #3ddc84;
  --danger: #ff5555;
  --radius: 16px;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Kanit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% -5%, rgba(255,107,26,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(255,59,26,0.14), transparent 60%),
    radial-gradient(ellipse 800px 600px at 50% 100%, rgba(255,107,26,0.08), transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0/26px 26px,
    var(--bg);
  min-height: 100vh;
}

/* HEE logo scattered everywhere: a subtle tiled watermark across the whole
   page, plus a handful of bigger floaters that slowly spin as you scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/hee-logo.png");
  background-size: 90px 90px;
  background-repeat: repeat;
  opacity: 0.035;
}

.floating-logo {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.16;
  filter: saturate(1.1);
  animation: floatSpin 14s linear infinite;
}
.floating-logo.fl1 { top: 8%;  left: 3%;  width: 64px; animation-duration: 18s; }
.floating-logo.fl2 { top: 22%; right: 4%; width: 46px; animation-duration: 12s; animation-direction: reverse; }
.floating-logo.fl3 { top: 58%; left: 2%;  width: 54px; animation-duration: 20s; }
.floating-logo.fl4 { top: 68%; right: 3%; width: 70px; animation-duration: 16s; animation-direction: reverse; }
.floating-logo.fl5 { top: 88%; left: 6%;  width: 40px; animation-duration: 10s; }
.floating-logo.fl6 { top: 40%; right: 8%; width: 34px; animation-duration: 9s; animation-direction: reverse; }

@keyframes floatSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* mascot characters drifting behind the page content, poppable on click */
.floating-mascot {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
  cursor: pointer;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
  animation: mascotDrift 9s ease-in-out infinite;
  transition: opacity 0.2s ease;
}
.floating-mascot:hover { opacity: 0.85; }
.floating-mascot.bouncing { animation: mascotPop 0.7s cubic-bezier(.34,1.56,.64,1) 1; }

.floating-mascot.fm1  { top: 4vh;   left: 11%;  width: 56px; animation-duration: 10s; }
.floating-mascot.fm2  { top: 10vh;  right: 13%; width: 48px; animation-duration: 8s;  animation-direction: reverse; }
.floating-mascot.fm3  { top: 27vh;  left: 4%;   width: 64px; animation-duration: 12s; }
.floating-mascot.fm4  { top: 34vh;  right: 3%;  width: 52px; animation-duration: 9s;  animation-direction: reverse; }
.floating-mascot.fm5  { top: 53vh;  left: 8%;   width: 46px; animation-duration: 11s; }
.floating-mascot.fm6  { top: 61vh;  right: 9%;  width: 70px; animation-duration: 13s; animation-direction: reverse; }
.floating-mascot.fm7  { top: 79vh;  left: 3%;   width: 58px; animation-duration: 10s; }
.floating-mascot.fm8  { top: 94vh;  right: 5%;  width: 50px; animation-duration: 9s;  animation-direction: reverse; }
.floating-mascot.fm9  { top: 114vh; left: 10%;  width: 62px; animation-duration: 12s; }
.floating-mascot.fm10 { top: 133vh; right: 7%;  width: 54px; animation-duration: 8s;  animation-direction: reverse; }
.floating-mascot.fm11 { top: 158vh; left: 5%;   width: 48px; animation-duration: 11s; }
.floating-mascot.fm12 { top: 183vh; right: 11%; width: 66px; animation-duration: 13s; animation-direction: reverse; }
.floating-mascot.fm13 { top: 218vh; left: 7%;   width: 52px; animation-duration: 9s;  }
.floating-mascot.fm14 { top: 248vh; right: 4%;  width: 60px; animation-duration: 10s; animation-direction: reverse; }
.floating-mascot.fm15 { top: 288vh; left: 9%;   width: 44px; animation-duration: 12s; }
.floating-mascot.fm16 { top: 326vh; right: 6%;  width: 58px; animation-duration: 9s;  animation-direction: reverse; }
.floating-mascot.fm17 { top: 376vh; left: 4%;   width: 66px; animation-duration: 11s; }
.floating-mascot.fm18 { top: 424vh; right: 8%;  width: 50px; animation-duration: 8s;  animation-direction: reverse; }

@keyframes mascotDrift {
  0%   { transform: translateY(0) rotate(-4deg); }
  50%  { transform: translateY(-16px) rotate(4deg); }
  100% { transform: translateY(0) rotate(-4deg); }
}
@keyframes mascotPop {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-46px) scale(1.15); }
  55%  { transform: translateY(-18px) scale(0.95); }
  78%  { transform: translateY(-28px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 700px) {
  .floating-mascot { opacity: 0.34; }
  .floating-mascot.fm9, .floating-mascot.fm12, .floating-mascot.fm17 { display: none; }
}

/* keep real content above the decorative layers */
.site-header, #networkBanner, .ticker-wrap, main, footer, #loadingOverlay, #toastRoot {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- hero intro ---------- */
.hero-intro {
  text-align: center;
  padding: 54px 20px 42px;
}
.hero-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--orange-2);
  border: 1px solid rgba(255,176,32,0.35);
  background: rgba(255,176,32,0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.foundation-title {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-size: 48px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--orange-2), var(--red) 60%, var(--orange-2));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
.foundation-emblem-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.foundation-emblem-text { display: flex; flex-direction: column; align-items: center; }
.foundation-emblem-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(255,176,32,0.5);
  box-shadow: 0 0 20px rgba(255,107,26,0.35), inset 0 0 14px rgba(0,0,0,0.45);
  animation: emblemGlow 3s ease-in-out infinite;
}
@keyframes emblemGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(255,107,26,0.3), inset 0 0 14px rgba(0,0,0,0.45); }
  50% { box-shadow: 0 0 30px rgba(255,160,40,0.6), inset 0 0 14px rgba(0,0,0,0.45); }
}
.foundation-slogan {
  font-family: "Permanent Marker", cursive;
  font-size: 23px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 6px;
  transform: rotate(-1.4deg);
}

/* durian.fun CTAs — the emphasized pair (trade + stake) */
.hero-cta-durian-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}
.btn-cta-durian {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 22px 38px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dim);
  border-radius: 16px;
  background: rgba(204,255,0,0.07);
  border: 1.5px solid rgba(204,255,0,0.4);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn-cta-durian:hover { transform: translateY(-2px); border-color: #ccff00; background: rgba(204,255,0,0.13); }
.btn-cta-durian:active { transform: scale(0.98); }
.btn-cta-logo { height: 24px; width: auto; vertical-align: -6px; }
.stake-chip-apy { color: #ccff00; font-weight: 800; }

/* kublerx CTA — same scale as the durian pair, sits on its own row below */
.hero-cta-kublerx-row {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.btn-cta-kublerx {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 22px 38px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dim);
  border-radius: 16px;
  background: rgba(56,189,248,0.08);
  border: 1.5px solid rgba(56,189,248,0.45);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn-cta-kublerx:hover { transform: translateY(-2px); border-color: #38bdf8; background: rgba(56,189,248,0.16); }
.btn-cta-kublerx:active { transform: scale(0.98); }
.btn-cta-kublerx-logo { height: 20px; width: auto; vertical-align: -5px; }

/* HEE token contract address — sits above the Durian CTA row */
.hee-token-badge-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 20px 0 26px;
}
.hee-token-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-faint);
}

.token-guard-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}
.token-guard {
  height: 132px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  animation: guardSway 5s ease-in-out infinite;
}
.token-guard-left { animation-delay: 0s; }
.token-guard-right { animation-delay: 0.6s; transform: scaleX(-1); }
@keyframes guardSway {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-4px); }
}
.token-guard-right { animation-name: guardSwayFlipped; }
@keyframes guardSwayFlipped {
  0%, 100% { transform: scaleX(-1) rotate(-2deg) translateY(0); }
  50% { transform: scaleX(-1) rotate(2deg) translateY(-4px); }
}

/* dev wallet — grants / tips / donations, big and unmissable */
.dev-support-row {
  margin: 34px auto 0;
  padding: 22px 26px;
  max-width: 620px;
  background: linear-gradient(180deg, rgba(255,176,32,0.08), rgba(255,107,26,0.03)), var(--bg-panel);
  border: 1.5px solid rgba(255,176,32,0.35);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255,107,26,0.05), 0 12px 32px -14px rgba(255,107,26,0.35);
}
.dev-support-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--orange-2);
  margin-bottom: 9px;
}
.dev-support-text {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.dev-wallet-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dev-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,176,32,0.1);
  border: 1.5px solid rgba(255,176,32,0.5);
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 18px -6px rgba(255,176,32,0.45);
  animation: walletGlow 3.2s ease-in-out infinite;
  max-width: 100%;
}
.dev-wallet-pill:hover {
  transform: translateY(-2px);
  border-color: var(--orange-2);
  background: rgba(255,176,32,0.18);
}
.dev-wallet-pill:active { transform: scale(0.98); }
.dev-wallet-chain-logo { height: 24px; width: auto; flex-shrink: 0; }
.dev-wallet-address {
  font-family: monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--orange-2);
  word-break: break-all;
  line-height: 1.3;
}
.dev-wallet-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--bg-panel-2);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.dev-wallet-copy:hover { border-color: var(--orange-2); color: var(--orange-2); transform: translateY(-2px); }
.dev-wallet-copy:active { transform: scale(0.94); }

@keyframes walletGlow {
  0%, 100% { box-shadow: 0 0 18px -6px rgba(255,176,32,0.45); }
  50% { box-shadow: 0 0 26px -4px rgba(255,176,32,0.75); }
}

@keyframes shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,7,5,0.9);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--orange-2); }
.nav-link-soon { color: var(--text-faint); cursor: default; }
.nav-link-soon:hover { color: var(--text-faint); }
.nav-ext { font-size: 11px; color: var(--text-faint); }
.soon-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #3a2a10;
  background: var(--orange-2);
  padding: 2px 6px;
  border-radius: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.nav-link-hot { position: relative; gap: 6px; }
.new-badge-nav {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #1a0f05;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: 6px;
  animation: navBadgePulse 1.8s ease-in-out infinite;
}
.nav-teaser {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-2);
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s ease, max-width 0.3s ease, margin-left 0.2s ease;
}
.nav-link-hot:hover .nav-teaser {
  opacity: 1;
  max-width: 220px;
  margin-left: 2px;
}
@keyframes navBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.new-badge-inline {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #1a0f05;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: radial-gradient(circle at 35% 30%, #ffcf6e, var(--orange) 55%, var(--red) 100%);
  box-shadow: 0 0 18px rgba(255,107,26,0.55);
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }

.brand-sub { color: var(--orange-2); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chain-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg-panel);
}
.chain-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }

.btn {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  padding: 11px 20px;
  color: #1a0a00;
  background: linear-gradient(135deg, var(--orange-2), var(--orange) 55%, var(--red));
  box-shadow: 0 6px 22px rgba(255,80,20,0.35);
  font-size: 14px;
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(255,80,20,0.5); }

.wallet-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
}
.wallet-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.disconnect-btn {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

/* ---------- ticker ---------- */
.ticker-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 40px;
  padding: 9px 0;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange-2);
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hidden { display: none !important; }

/* ---------- network banner ---------- */
.network-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: rgba(255,59,26,0.15);
  border-bottom: 1px solid rgba(255,80,20,0.4);
  color: var(--orange-2);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.network-banner .btn-primary { padding: 8px 16px; font-size: 12.5px; }

/* ---------- hero ---------- */
.hero {
  padding: 30px 0 26px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.hero-title {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.heat-word {
  background: linear-gradient(90deg, var(--orange-2), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hero-badge-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-panel); border: 1px solid var(--border);
  font-size: 17px;
}
.hero-badge-text { font-size: 12.5px; font-weight: 700; color: var(--text-dim); }
.hero-badge-sub { font-size: 11.5px; color: var(--text-faint); margin-top: -4px; }

/* burn card */
.burn-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 440px;
}
.burn-card-title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 16px; margin-bottom: 18px;
}
.field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12.5px; color: var(--text-faint); margin-bottom: 8px;
}
.field-label span.link-like { color: var(--orange-2); cursor: pointer; }

.amount-box {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 14px;
  margin-bottom: 6px;
}
.amount-box input {
  background: transparent; border: none; outline: none;
  color: var(--text); font-size: 26px; font-weight: 700; width: 100%;
  font-family: inherit;
}
.amount-box input::placeholder { color: var(--text-faint); }
.token-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,107,26,0.12);
  color: var(--orange-2);
  padding: 6px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.max-btn {
  background: none; border: 1px solid var(--border); color: var(--orange-2);
  font-size: 11px; padding: 3px 8px; border-radius: 6px; cursor: pointer; font-weight: 700;
}

.swap-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-panel-2); border: 1px solid var(--border);
  margin: 4px auto 10px;
  font-size: 13px; color: var(--text-faint);
}

.will-burn-box {
  background: rgba(255,59,26,0.08);
  border: 1px solid rgba(255,80,20,0.3);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
}
.will-burn-value { font-size: 26px; font-weight: 800; color: var(--orange-2); }

#burnBtn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.burn-disclaimer {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 14px; font-size: 11.5px; color: var(--text-faint); line-height: 1.5;
}

/* visual side */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding-top: 10px;
}
.coin-stage {
  position: relative;
  width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.coin-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(255,107,26,0.4), transparent 65%);
  filter: blur(10px);
  animation: pulse 2.4s ease-in-out infinite;
}
/* a ring of tongues surrounding the coin, each licking inward from the rim.
   .tongue-arm is a zero-size pivot sitting dead-center of the coin; rotating
   it sweeps its child around the circle like a clock hand. The tongue SVG
   itself always points "north" (outward end near the rim, tip near the
   center) — scaleY grows it from the rim inward to lick the coin face. */
.tongue-ring {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.tongue-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}
.tongue-lick {
  display: block;
  position: absolute;
  top: -172px;
  left: -23px;
  width: 46px;
  height: 104px;
  transform-origin: 50% 4%;
  transform: scaleY(0.3);
  animation: tongueFlick 2.7s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(200,20,60,0.55));
}

.tongue-shape { fill: #ff8aa3; stroke: #b3123a; stroke-width: 2.5; }
.tongue-groove { fill: none; stroke: rgba(160,20,50,0.4); stroke-width: 2.5; stroke-linecap: round; }
.lip-shape { fill: #e8283d; stroke: #7a0f14; stroke-width: 2.5; }
.teeth-strip { fill: #fff8f0; stroke: #cfc3b6; stroke-width: 1; }
.tooth-line { stroke: #cfc3b6; stroke-width: 1.2; }
.saliva-drop { fill: #dff3ff; opacity: 0; animation: salivaPop 2.7s ease-in-out infinite; }

@keyframes tongueFlick {
  0%, 52% { transform: scaleY(0.3); }
  60% { transform: scaleY(1); }
  68% { transform: scaleY(1.1); }
  75% { transform: scaleY(0.88); }
  84%, 100% { transform: scaleY(0.3); }
}
@keyframes salivaPop {
  0%, 60% { opacity: 0; transform: translateY(0) scale(0.5); }
  66% { opacity: 1; transform: translateY(2px) scale(1); }
  80% { opacity: 0; transform: translateY(16px) scale(0.35); }
  100% { opacity: 0; }
}

.coin-disc {
  width: 230px; height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe6a8, #f0a030 45%, #a85a12 85%);
  border: 6px solid #7a4210;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(255,120,20,0.5), inset 0 0 30px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.coin-disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.coin-disc-img { width: 100% !important; height: 100% !important; }
.coin-disc-emoji { font-size: 92px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4)); }
.coin-disc-ring {
  position: absolute; inset: 8px; border-radius: 50%;
  border: 2px dashed rgba(122,66,16,0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.burn-address-card {
  margin-top: 26px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  width: 100%;
  max-width: 320px;
}
.burn-address-card-title {
  font-size: 12.5px; color: var(--text-faint); margin-bottom: 8px; display:flex; align-items:center; gap:6px;
}
.address-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-panel-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; font-family: monospace; font-size: 13px;
  color: var(--orange-2); cursor: pointer; gap: 8px;
}
.address-row .copy-icon { color: var(--text-faint); font-size: 12px; }
.burn-address-note { font-size: 11px; color: var(--text-faint); margin-top: 8px; line-height: 1.5; }

/* ---------- how it works ---------- */
.how-it-works {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 0 0 22px;
}
.how-step {
  flex: 1;
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.how-step-num {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 26px;
  font-weight: 900;
  color: var(--border);
}
.how-step-icon { font-size: 24px; margin-bottom: 8px; }
.how-step-title { font-weight: 800; font-size: 14.5px; margin-bottom: 6px; }
.how-step-text { font-size: 12.5px; color: var(--text-faint); line-height: 1.55; }
.how-step-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-2); font-size: 18px; font-weight: 700;
  flex: 0 0 auto;
}

/* ---------- metrics strip ---------- */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 8px 0 26px;
  overflow: hidden;
}
.metric {
  padding: 20px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metric:nth-child(4n) { border-right: none; }
.metric:nth-last-child(-n+4) { border-bottom: none; }
.metric-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
}
.metric-note { font-weight: 400; text-transform: none; letter-spacing: 0; }
.metric-value {
  font-size: 26px;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.1;
  font-family: "Kanit", sans-serif;
}
.metric-unit { font-size: 12px; color: var(--text-faint); font-weight: 600; margin-left: 4px; }
.metric-sub { font-size: 12px; color: var(--text-faint); font-weight: 600; margin-top: 4px; min-height: 15px; }
.stat-icon { font-size: 12px; }
.price-up { color: #22c55e; }
.price-down { color: var(--red); }

/* ---------- price chart ---------- */
.panel-chart { margin-bottom: 20px; }
.chart-wrap { position: relative; width: 100%; height: 220px; margin-top: 6px; }
.chart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 2px; }
.segmented {
  display: inline-flex;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.segmented-btn {
  background: transparent;
  border: none;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.segmented-btn:hover:not(.active):not(:disabled) { color: var(--text-dim); background: rgba(255,255,255,0.04); }
.segmented-btn.active {
  background: linear-gradient(135deg, var(--orange-2), var(--orange) 55%, var(--red));
  color: #1a0a00;
}
.segmented-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---------- panels ---------- */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
}
.panel-top-burns { border-color: rgba(255,107,26,0.3); }
.panel-solo { margin-bottom: 34px; }

/* ---------- feature cards ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 26px;
}
.feature-card {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.feature-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.feature-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: rgba(255,107,26,0.1);
  border: 1px solid rgba(255,107,26,0.25);
  margin-bottom: 14px;
}
.feature-card-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--orange-2); margin-bottom: 6px;
}
.feature-card-title {
  font-size: 17px; font-weight: 800; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.feature-card-text { font-size: 13px; color: var(--text-dim); line-height: 1.55; }
.feature-card-soon { border-style: dashed; opacity: 0.9; }
.feature-card-soon .feature-card-eyebrow { color: var(--text-faint); }

/* ---------- brand kit ---------- */
.brandkit-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Kanit", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 16px;
}
.new-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #1a0f05;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
}
.brandkit-section-sub {
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.6;
  margin: -6px 0 18px;
}
.brandkit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 6px 0 26px;
}
.brandkit-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.brandkit-card:hover { border-color: var(--orange); }
.brandkit-card-wide { grid-column: 1 / -1; }
.brandkit-swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background:
    linear-gradient(45deg, #1c1410 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(-45deg, #1c1410 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(45deg, transparent 75%, #1c1410 75%) -10px 0/20px 20px,
    linear-gradient(-45deg, transparent 75%, #1c1410 75%) -10px 0/20px 20px,
    var(--bg-panel-2);
}
.brandkit-swatch img { width: 160px; height: 160px; object-fit: contain; }
.brandkit-swatch-banner { padding: 20px; }
.brandkit-swatch-banner img { width: 100%; height: auto; max-width: 640px; object-fit: contain; }
.brandkit-card-body { padding: 18px 22px 22px; }
.brandkit-card-title { font-size: 17px; font-weight: 800; margin-bottom: 8px; font-family: "Kanit", sans-serif; letter-spacing: 0.5px; }
.brandkit-card-text { font-size: 13px; color: var(--text-dim); line-height: 1.55; margin-bottom: 16px; }
.brandkit-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1a0a00;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange) 55%, var(--red));
  transition: transform 0.15s ease;
}
.brandkit-download:hover { transform: translateY(-1px); }
.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.panel-title { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.panel-link { font-size: 12.5px; color: var(--orange-2); }
.scan-status { font-size: 11px; color: var(--text-faint); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); display: inline-block;
  box-shadow: 0 0 6px var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}

.recent-burns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.burn-row {
  display: grid;
  grid-template-columns: 22px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  border: 1px solid transparent;
}
.burn-row:hover { background: var(--bg-panel-2); border-color: var(--border); }
.burn-row-addr { font-family: monospace; color: var(--text-dim); }
.burn-row-amt { color: var(--orange-2); font-weight: 800; }
.burn-row-block { color: var(--text-faint); font-size: 11px; }
.empty-state { color: var(--text-faint); font-size: 13px; padding: 24px 0; text-align: center; grid-column: 1 / -1; }

.dashboard-links {
  display: flex; flex-direction: column; gap: 10px;
}
.dashboard-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13.5px; font-weight: 600;
}
.dashboard-link:hover { border-color: var(--orange); }
.dashboard-link .arrow { color: var(--orange-2); }

.brutal-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 40px 20px 30px;
  border-top: 1px solid var(--border);
  max-width: 1120px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 26px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 4px;
}
.footer-col a { font-size: 13px; color: var(--text-dim); }
.footer-col a:hover { color: var(--orange-2); }
.footer-soon { font-size: 13px; color: var(--text-faint); display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12.5px;
}
.footer-bottom .fire { filter: saturate(1.4); }

/* ---------- toast ---------- */
#toastRoot {
  position: fixed; bottom: 22px; right: 22px; z-index: 100;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  max-width: 300px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-color: var(--green); color: var(--green); }
.toast-error { border-color: var(--danger); color: var(--danger); }
.toast-info { border-color: var(--orange); color: var(--orange-2); }

/* ---------- loading overlay ---------- */
#loadingOverlay {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; flex-direction: column; gap: 14px;
  transition: opacity 0.3s ease;
}
#loadingOverlay.hidden { opacity: 0; pointer-events: none; }
.loading-flame { font-size: 44px; animation: pulse 1s ease-in-out infinite; }
.loading-text { color: var(--text-faint); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(4n) { border-right: 1px solid var(--border); }
  .metric:nth-child(2n) { border-right: none; }
  .metric:nth-last-child(-n+4) { border-bottom: 1px solid var(--border); }
  .metric:nth-last-child(-n+2) { border-bottom: none; }
  .feature-cards { grid-template-columns: 1fr; }
  .brandkit-grid { grid-template-columns: 1fr; }
  .recent-burns-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .how-it-works { flex-direction: column; }
  .how-step-arrow { transform: rotate(90deg); padding: 2px 0; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .token-guard { height: 96px; }
}
@media (max-width: 520px) {
  .token-guard { height: 68px; }
  .token-guard-row { gap: 8px; }
  .metrics-strip { grid-template-columns: 1fr; }
  .metric { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .metric:last-child { border-bottom: none !important; }
  .site-header { flex-wrap: wrap; gap: 10px; }
  .burn-card { max-width: 100%; }
  .coin-stage { width: 240px; height: 240px; }
  .coin-disc { width: 170px; height: 170px; }
  .tongue-lick { top: -126px; left: -15px; width: 30px; height: 75px; }
  .ticker-item { font-size: 11.5px; padding: 0 14px; }
  .foundation-title { font-size: 30px; letter-spacing: 1px; }
  .foundation-slogan { font-size: 16px; }
  .btn-cta-durian, .btn-cta-kublerx { padding: 16px 24px; font-size: 14.5px; }
  .btn-cta-logo, .btn-cta-kublerx-logo { height: 19px; }
  .foundation-emblem-row { gap: 12px; }
  .foundation-emblem-logo { width: 52px; height: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-col { align-items: center; }
  .dev-support-row { padding: 18px 16px; }
  .dev-wallet-pill { padding: 10px 14px; gap: 8px; }
  .dev-wallet-address { font-size: 11px; }
  .dev-wallet-chain-logo { height: 19px; }
  .dev-wallet-copy { width: 38px; height: 38px; }
}
