/* ═══════════════════════════════════════════════════
   BUYBUTTON $BUY — style.css
   Black & neon-green trading dashboard aesthetic
   Original independent meme project branding
═══════════════════════════════════════════════════ */

/* ── Fonts & Reset ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color System */
  --bg-primary:    #080c08;
  --bg-secondary:  #0e140e;
  --bg-card:       #111811;
  --bg-card-2:     #0d130d;
  --accent:        #39ff14;
  --accent-dim:    #27cc0a;
  --accent-lite:   #8fff6a;
  --accent-glow:   rgba(57,255,20,0.18);
  --accent-glow2:  rgba(57,255,20,0.06);
  --text-primary:  #e8f5e8;
  --text-secondary:#9ab89a;
  --text-muted:    #5a7a5a;
  --border:        rgba(57,255,20,0.25);
  --border-strong: rgba(57,255,20,0.5);

  /* Typography */
  --font-main:  'Space Grotesk', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --section-pad: 100px 0;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:    150ms;
  --dur-med:     300ms;
  --dur-slow:    500ms;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-main);
  border: none;
  background: none;
}

/* ── Utility ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden { display: none !important; }

/* ── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--dur-med) var(--ease-smooth);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: #040a04;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(57,255,20,0.3), 0 4px 12px rgba(0,0,0,0.4);
}

.btn-primary:hover {
  background: var(--accent-lite);
  border-color: var(--accent-lite);
  box-shadow: 0 0 35px rgba(57,255,20,0.5), 0 6px 20px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: inset 0 0 0 0 var(--accent-glow);
}

.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-outline:active { transform: translateY(0); }

.btn-lg {
  padding: 15px 30px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* Copy Button */
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(57,255,20,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--dur-fast) var(--ease-smooth);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}

.btn-copy:hover {
  background: rgba(57,255,20,0.2);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 12, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-med), box-shadow var(--dur-med);
}

.navbar.scrolled {
  background: rgba(8, 12, 8, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-glow2);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  transition: all var(--dur-fast);
  cursor: pointer;
}

.hamburger:hover { border-color: var(--accent); }

.ham-line {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease-smooth);
  transform-origin: center;
}

.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-smooth);
  background: rgba(8,12,8,0.98);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  max-height: 420px;
}

.mobile-menu-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 1rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mobile-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
  text-transform: uppercase;
}

.mobile-link:hover, .mobile-link:active {
  color: var(--accent);
  background: var(--accent-glow2);
}

.mobile-x-btn { width: 100%; }

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 68px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,12,8,0.96) 0%,
    rgba(8,12,8,0.88) 50%,
    rgba(8,12,8,0.96) 100%
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Hero Content */
.hero-content {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Logo (replaces mascot in hero) */
.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-logo-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(57,255,20,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 4s ease infinite;
}

.hero-logo-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 24px rgba(57,255,20,0.4));
}

@media (max-width: 600px) {
  .hero-logo-img { width: 110px; height: 110px; }
  .hero-logo-glow { width: 140px; height: 140px; }
}

.hero-label {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(57,255,20,0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57,255,20,0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(57,255,20,0); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0;
}

.hero-title-accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(57,255,20,0.4);
}

.hero-ticker {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  margin-top: 6px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
  justify-content: center;
}

/* Contract Address Box */
.ca-box {
  background: rgba(57,255,20,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  max-width: 520px;
}

.ca-box-centered {
  max-width: 600px;
  margin: 40px auto 0;
}

.ca-box-footer {
  max-width: 100%;
}

.ca-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ca-address {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

/* Hero Mascot */
.hero-mascot-wrap {
  position: relative;
  flex-shrink: 0;
  width: min(420px, 45vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Candles */
.deco-candle {
  position: absolute;
  width: 10px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.6;
}

.deco-candle::before, .deco-candle::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1.5px;
  background: var(--accent);
  transform: translateX(-50%);
  opacity: 0.8;
}

.deco-candle::before { top: 100%; height: 8px; }
.deco-candle::after  { bottom: 100%; height: 6px; }

.c1 { height: 50px; top: 10%; left: 5%; animation: candleFlicker 3s ease infinite; }
.c2 { height: 34px; top: 20%; right: 8%; animation: candleFlicker 2.5s 0.5s ease infinite; }
.c3 { height: 60px; bottom: 25%; left: 2%; animation: candleFlicker 3.5s 1s ease infinite; }
.c4 { height: 42px; bottom: 15%; right: 5%; animation: candleFlicker 2.8s 0.3s ease infinite; }

@keyframes candleFlicker {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 0.85; transform: scaleY(1.08); }
}

/* Arrows */
.deco-arrow {
  position: absolute;
  color: var(--accent);
  font-size: 1rem;
  font-weight: bold;
  animation: arrowFloat 2s ease infinite;
}

.a1 { top: 5%; left: 20%; animation-delay: 0s; }
.a2 { top: 30%; right: 3%; animation-delay: 0.7s; }
.a3 { bottom: 20%; left: 12%; animation-delay: 1.4s; }

@keyframes arrowFloat {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-6px); }
}

/* Chart line SVG */
.deco-chart {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 80%;
  animation: chartSlide 4s ease infinite;
}

@keyframes chartSlide {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

/* Dots */
.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease infinite;
}

.d1 { width: 6px; height: 6px; top: 18%; right: 20%; animation-delay: 0s; }
.d2 { width: 4px; height: 4px; top: 60%; left: 8%; animation-delay: 0.6s; }
.d3 { width: 5px; height: 5px; bottom: 30%; right: 12%; animation-delay: 1.2s; }
.d4 { width: 8px; height: 8px; top: 45%; left: 3%; animation-delay: 0.9s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 8px var(--accent); }
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(57,255,20,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 4s ease infinite;
}

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

.hero-mascot {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  max-height: 520px;
  filter: drop-shadow(0 0 30px rgba(57,255,20,0.15));
}

/* Float animation */
.float-anim {
  animation: floatMascot 4s ease-in-out infinite;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* Scroll hint */
.scroll-hint {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.scroll-arrow {
  animation: scrollBounce 1.8s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   TICKER BAR
═══════════════════════════════════════════════════ */
.ticker-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
  gap: 0;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.ticker-sep {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.6rem;
  margin: 0 2px;
}

/* ═══════════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════════ */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(57,255,20,0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
}

.section-sub {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

/* ═══════════════════════════════════════════════════
   STORY SECTION
═══════════════════════════════════════════════════ */
.story-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.story-img-wrap {
  flex-shrink: 0;
  width: min(380px, 40%);
}

.story-card-img {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}

.story-card-img:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 0 30px var(--accent-glow);
}

.story-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.story-card-img:hover .story-img {
  transform: scale(1.02);
}

.story-text-wrap {
  flex: 1;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.story-text p {
  font-size: clamp(0.95rem, 1.5vw, 1.07rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

.story-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
  color: var(--accent) !important;
  font-style: italic;
  font-weight: 600;
}

/* Story Highlight Cards */
.story-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color var(--dur-med), transform var(--dur-med);
}

.story-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
}

.story-card-icon {
  margin-bottom: 10px;
}

.story-card-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.story-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   GAME SECTION
═══════════════════════════════════════════════════ */
.game-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.game-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.game-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
}

.game-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 40%, var(--bg-primary) 100%);
}

.game-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Game Illustration */
.game-illus-wrap {
  flex-shrink: 0;
  width: min(340px, 38%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(57,255,20,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.game-illus {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 400px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(57,255,20,0.12));
}

/* Game Interface */
.game-interface {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 480px;
  margin: 0 auto;
}

/* Stats */
.game-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
}

.stat-box {
  flex: 1;
  text-align: center;
  padding: 18px 20px;
}

.stat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 20px rgba(57,255,20,0.4);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* BUY Button */
.buy-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy-pulse-ring {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.buy-pulse-ring.pulse {
  animation: buyPulse 0.4s ease-out forwards;
}

@keyframes buyPulse {
  0% { opacity: 0.8; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.5); }
}

.buy-btn {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(145deg, #48ff22, #27cc0a);
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 6px rgba(57,255,20,0.12),
    0 0 40px rgba(57,255,20,0.35),
    0 8px 32px rgba(0,0,0,0.5),
    inset 0 2px 0 rgba(255,255,255,0.25);
  color: #040a04;
  font-family: var(--font-main);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.buy-btn:not(:disabled):hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 0 8px rgba(57,255,20,0.15),
    0 0 60px rgba(57,255,20,0.5),
    0 12px 40px rgba(0,0,0,0.6),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

.buy-btn:not(:disabled):active,
.buy-btn.pressed {
  transform: scale(0.92) translateY(3px);
  box-shadow:
    0 0 0 4px rgba(57,255,20,0.2),
    0 0 25px rgba(57,255,20,0.4),
    0 2px 10px rgba(0,0,0,0.6),
    inset 0 2px 0 rgba(255,255,255,0.15);
}

.buy-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.buy-btn-shine {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 40%;
  height: 30%;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.buy-btn-text {
  position: relative;
  z-index: 1;
}

/* Game Controls */
.game-controls {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Game Result */
.game-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.result-rank {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(57,255,20,0.4);
}

.result-score {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.result-msg {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.btn-copy-score {
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   HOW TO BUY
═══════════════════════════════════════════════════ */
.htb-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.htb-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}

.htb-step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-med), transform var(--dur-med);
  position: relative;
}

.htb-step:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #040a04;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.step-icon {
  margin: 0 auto 14px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(57,255,20,0.07);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.htb-connector {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  padding-top: 55px;
  flex-shrink: 0;
  width: 36px;
  opacity: 0.6;
}

.connector-line {
  width: 1px;
  height: 20px;
  background: var(--border-strong);
}

.htb-disclaimer {
  text-align: center;
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════
   COMMUNITY
═══════════════════════════════════════════════════ */
.community-section {
  background: var(--bg-primary);
}

.community-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(57,255,20,0.05);
  transition: box-shadow var(--dur-slow);
}

.community-card:hover {
  box-shadow: 0 0 80px rgba(57,255,20,0.1), 0 0 1px var(--border-strong);
}

.comm-chart-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
}

.comm-chart-deco svg {
  width: 100%;
  height: 100%;
}

.comm-logo-corner {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.18;
}

.comm-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.community-content {
  position: relative;
  z-index: 1;
}

.comm-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.comm-text:last-of-type {
  margin-bottom: 36px;
}

.comm-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  position: relative;
}

.footer-glow-line {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.footer-inner {
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-ticker {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(57,255,20,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  transition: all var(--dur-fast);
}

.footer-social:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.footer-ca {
  display: flex;
  justify-content: flex-end;
}

/* Footer Disclaimer */
.footer-disclaimer {
  border-top: 1px solid rgba(57,255,20,0.1);
  padding: 24px 20px;
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-copy {
  margin-top: 10px !important;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px)
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-right .btn-primary { display: none; }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-content {
    max-width: 100%;
    order: 1;
  }

  .hero-desc { max-width: 100%; }

  .hero-btns { justify-content: center; }

  .ca-box { max-width: 100%; }

  .hero-mascot-wrap {
    order: 2;
    width: min(360px, 80vw);
  }

  .story-inner {
    flex-direction: column;
    gap: 40px;
  }

  .story-img-wrap {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .game-inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .game-illus-wrap {
    width: min(300px, 70vw);
    order: -1;
  }

  .game-interface { width: 100%; }

  .htb-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .htb-connector { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-brand { justify-content: center; }
  .footer-ca { justify-content: center; }
  .ca-box-footer { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (430px / 390px)
═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --section-pad: 70px 0; }

  .hero-inner { gap: 28px; }

  .hero-mascot-wrap {
    width: min(300px, 88vw);
  }

  .story-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .htb-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .game-stats { max-width: 100%; }

  .buy-btn {
    width: 140px;
    height: 140px;
    font-size: 1.6rem;
  }

  .buy-pulse-ring {
    width: 140px;
    height: 140px;
  }

  .community-card {
    padding: 40px 24px;
    border-radius: var(--radius-lg);
  }

  .comm-btns { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 300px; justify-content: center; }

  .hero-btns .btn-lg { width: 100%; max-width: 320px; }

  .ca-row { flex-direction: column; align-items: flex-start; }
  .ca-address { width: 100%; word-break: break-all; }

  .footer-brand { flex-direction: column; align-items: center; text-align: center; }
}

/* ═══════════════════════════════════════════════════
   FOCUS STYLES (Accessibility)
═══════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATION CLASSES
═══════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   SOUND TOGGLE BUTTON
═══════════════════════════════════════════════════ */
.sound-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(57,255,20,0.07);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-smooth);
  flex-shrink: 0;
}

.sound-toggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  transform: scale(1.1);
}

.sound-toggle.muted {
  opacity: 0.45;
  border-color: rgba(255,255,255,0.1);
}
