:root {
  --bnb-yellow: #F0B90B;
  --coin-yellow: #F7C948;
  --coin-yellow-dark: #E0A400;
  --ink: #101114;
  --ink-soft: #1c1d22;
  --paper: #FFFDF7;
  --paper-alt: #FFF7DE;
  --text: #1a1a1a;
  --text-muted: #55524a;
  --border: rgba(16,17,20,0.1);
  --radius: 18px;
  --shadow-lg: 0 20px 50px rgba(16,17,20,0.12);
  --shadow-sm: 0 6px 16px rgba(16,17,20,0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, .brand-name {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  line-height: 1.1;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
code { font-family: 'SFMono-Regular', Consolas, monospace; }
img, svg { display: block; max-width: 100%; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Background decor */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(16,17,20,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,17,20,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(247,201,72,0.35), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex-shrink: 0; }
.btn-primary {
  background: var(--bnb-yellow);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--coin-yellow); }
.btn-ghost {
  background: rgba(16,17,20,0.05);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(16,17,20,0.1); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 253, 247, 0.85);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border-radius: 10px;
}
.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a { opacity: 0.75; transition: opacity 0.15s; }
.main-nav a:hover { opacity: 1; }
.nav-x-link { display: none; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 64px 0 0; overflow-x: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,185,11,0.18);
  color: #8a6400;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--bnb-yellow); -webkit-text-stroke: 1.5px var(--ink); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 26px;
}
.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
  max-width: 100%;
  flex-wrap: wrap;
}
.ca-box--center { display: inline-flex; }
.ca-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--coin-yellow);
}
.ca-value {
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.ca-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coin-yellow);
  color: var(--ink);
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
}
.ca-copy:hover { background: var(--bnb-yellow); }
.ca-copy.copied { background: #6be675; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-actions.center { justify-content: center; margin-top: 36px; }
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(16,17,20,0.05);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-art { position: relative; display: flex; justify-content: center; }
.mascot-stage { position: relative; width: min(420px, 100%); }
.mascot-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(247,201,72,0.55), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.mascot-img {
  display: block;
  width: 78%;
  margin: 0 auto;
  animation: float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 25px 30px rgba(16,17,20,0.18));
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}
.speech-bubble {
  position: absolute;
  top: 6%;
  right: -4%;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 8px 14px;
  border-radius: 16px 16px 16px 4px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.marquee {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--coin-yellow);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  width: max-content;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  animation: marquee 22s linear infinite;
}
.marquee-track span { padding-right: 12px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--paper-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.lead { color: var(--text-muted); font-size: 1.05rem; }
.lead.center { text-align: center; }

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.story-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story-icon { font-size: 2rem; margin-bottom: 14px; }
.story-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.story-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Proof gallery */
.proof-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 26px;
  align-items: start;
}
.proof-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.proof-gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.proof-gallery figcaption {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Banner */
.banner-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 50px;
}
.banner-frame img { width: 100%; display: block; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.about-coin { width: 100%; max-width: 320px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(16,17,20,0.15)); }
.about-grid h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 8px 0 18px; }
.check-list { margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--bnb-yellow);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Tokenomics */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}
.token-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
}
.token-icon { font-size: 2rem; margin-bottom: 12px; }
.token-card h3 { font-size: 1rem; margin-bottom: 6px; }
.token-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.ca-box--center { display: flex; justify-content: center; margin: 0 auto; width: fit-content; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--coin-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* Community */
.community {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.community-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.community h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--coin-yellow); }
.community .lead { color: rgba(255,255,255,0.75); margin-bottom: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 40px 0 30px; border-top: 4px solid var(--bnb-yellow); }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-family: 'Baloo 2', sans-serif; }
.footer-ca code { color: var(--coin-yellow); }
.disclaimer { max-width: 640px; font-size: 0.82rem; line-height: 1.5; color: rgba(255,255,255,0.5); }
.copyright { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 6px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .check-list { align-items: center; }
  .check-list li { padding-left: 0; }
  .check-list li::before { position: static; margin-right: 8px; }
  .story-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .nav-x-link { display: block; }
}
@media (max-width: 560px) {
  .story-grid, .steps, .token-grid, .proof-gallery { grid-template-columns: 1fr; }
  .ca-box { padding: 10px 14px; }
  .ca-value { font-size: 0.72rem; }
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
