:root {
  --swamp-950: #0b1a10;
  --swamp-900: #102a17;
  --swamp-800: #163a1f;
  --swamp-700: #1f4d2a;
  --ogre-500: #5f8a3a;
  --ogre-400: #7fae4c;
  --ogre-300: #a4d16a;
  --gold-400: #f4c542;
  --gold-500: #e0a52c;
  --cream-100: #f4ecd8;
  --text-light: #f4ecd8;
  --text-muted: #c8d8bd;
  --radius: 16px;
  --font-display: 'Luckiest Guy', cursive;
  --font-body: 'Baloo 2', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--swamp-950);
  color: var(--text-light);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ambient background layers */
.swamp-fog {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(127,174,76,0.08), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(244,197,66,0.06), transparent 55%);
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  animation: blob-drift 18s ease-in-out infinite;
}

.blob-a {
  width: 420px;
  height: 420px;
  background: var(--ogre-500);
  top: -120px;
  left: -100px;
}

.blob-b {
  width: 360px;
  height: 360px;
  background: var(--gold-500);
  bottom: -100px;
  right: -80px;
  animation-delay: -9s;
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 26, 16, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--swamp-700);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
}

.brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--gold-400); }

.nav-cta { white-space: nowrap; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px) scale(1.03); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--swamp-950);
  box-shadow: 0 6px 0 #a97711, 0 10px 18px rgba(0,0,0,0.35);
}

.btn-primary:hover { box-shadow: 0 4px 0 #a97711, 0 8px 14px rgba(0,0,0,0.35); }

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--ogre-400);
}

.btn-outline:hover { background: rgba(127,174,76,0.15); }

.btn-copy {
  background: var(--swamp-700);
  color: var(--gold-400);
  padding: 8px 14px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-copy:hover { background: var(--swamp-800); }

/* HERO — full bleed, centered, floating badge */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 140px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.08);
  animation: hero-pan 26s ease-in-out infinite alternate;
}

@keyframes hero-pan {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, -1.5%); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,18,11,0.55), rgba(8,18,11,0.88) 65%, var(--swamp-950) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(0,0,0,0.1), rgba(8,18,11,0.75) 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  color: var(--gold-400);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0 0 10px;
}

.hero-title-img {
  width: min(560px, 90vw);
  filter: drop-shadow(0 10px 0 rgba(0,0,0,0.4));
  margin: 0 auto 18px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-muted);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: scroll-cue-move 1.6s ease-in-out infinite;
}

@keyframes scroll-cue-move {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* FLOATING STATS STRIP — overlaps hero bottom */
.stats-strip {
  position: relative;
  z-index: 3;
  margin-top: -70px;
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.stat-chip {
  background: var(--swamp-800);
  border: 2px solid var(--swamp-700);
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  min-width: 130px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-chip:hover {
  transform: translateY(-6px);
  border-color: var(--gold-400);
}

.stat-chip .stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-400);
  margin-bottom: 4px;
  word-break: break-word;
}

.stat-chip .stat-label {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.35);
  border: 2px dashed var(--ogre-500);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
}

.ca-label { font-weight: 800; color: var(--gold-400); }

.ca-value {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* TICKER STRIP — skewed marquee */
.ticker-strip {
  position: relative;
  z-index: 2;
  background: var(--gold-400);
  color: var(--swamp-950);
  overflow: hidden;
  padding: 14px 0;
  margin: 70px 0 0;
  transform: rotate(-1.6deg) scale(1.03);
  box-shadow: 0 0 0 3px var(--swamp-950);
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-ticker 22s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.ticker-track span::after {
  content: '•';
  margin-left: 48px;
  opacity: 0.5;
}

@keyframes scroll-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS GENERIC */
.section {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold-400);
  text-align: center;
  margin: 0 0 48px;
  text-shadow: 0 3px 0 rgba(0,0,0,0.4);
}

.section-title.light { color: var(--cream-100); text-align: left; margin-bottom: 18px; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}

.reveal[data-reveal="up"] { transform: translateY(36px); }
.reveal[data-reveal="left"] { transform: translateX(-46px); }
.reveal[data-reveal="right"] { transform: translateX(46px); }
.reveal[data-reveal="pop"] { transform: scale(0.7) rotate(6deg); }
.reveal:not([data-reveal]) { transform: translateY(24px); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.float-slow {
  animation: float-slow 5s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* LORE — zigzag */
.lore { background: var(--swamp-900); padding-top: 100px; }

.zigzag-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
}

.zigzag-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.zigzag-row.reverse .zigzag-media { order: 2; }

.zigzag-media {
  height: 260px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  border: 3px solid var(--swamp-700);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}

.zigzag-text h3 {
  font-size: 1.3rem;
  color: var(--ogre-300);
  margin: 0 0 12px;
}

.zigzag-text p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 1.02rem;
}

@media (max-width: 780px) {
  .zigzag-row, .zigzag-row.reverse {
    grid-template-columns: 1fr;
  }
  .zigzag-row.reverse .zigzag-media { order: 0; }
  .zigzag-media { height: 200px; }
}

/* HOW TO BUY — timeline */
.how-to-buy { background: var(--swamp-950); }

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--gold-400) 0 10px, transparent 10px 20px);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  margin-bottom: 34px;
}

.timeline-item:nth-child(odd) .timeline-card { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .step-number { order: 2; }
.timeline-item:nth-child(even) .timeline-card { grid-column: 2; }

.step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--swamp-950);
  font-family: var(--font-display);
  font-size: 1.2rem;
  box-shadow: 0 0 0 6px var(--swamp-950);
  z-index: 2;
}

.timeline-card {
  background: var(--swamp-900);
  border: 2px solid var(--swamp-700);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.timeline-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ogre-300);
}

.timeline-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 52px; }
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 1;
    text-align: left;
  }
  .step-number { left: 20px; }
}

/* ROADMAP — horizontal scroll-snap */
.roadmap { background: var(--swamp-900); }

.roadmap-scroller {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 24px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.roadmap-scroller::-webkit-scrollbar { height: 8px; }
.roadmap-scroller::-webkit-scrollbar-thumb { background: var(--swamp-700); border-radius: 999px; }

.roadmap-phase {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: var(--swamp-800);
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px;
  transition: transform 0.2s ease;
}

.roadmap-phase:hover { transform: translateY(-6px); }

.phase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--swamp-950);
  background: var(--gold-400);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.roadmap-phase h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--gold-400);
  font-family: var(--font-display);
}

.roadmap-phase p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* FOOTER */
.footer {
  background: var(--swamp-950);
  border-top: 3px solid var(--swamp-700);
  padding: 40px 0 100px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-logo { height: 30px; width: auto; }

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--gold-400); }

.disclaimer {
  max-width: 640px;
  color: var(--text-muted);
  opacity: 0.6;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* FLOATING BUY BUTTON */
.fab-buy {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--swamp-950);
  font-weight: 800;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 0 #a97711, 0 14px 24px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fab-buy.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: fab-pulse 2.4s ease-in-out infinite;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 0 #a97711, 0 14px 24px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 8px 0 #a97711, 0 14px 24px rgba(0,0,0,0.4), 0 0 0 8px rgba(244,197,66,0.25); }
}

@media (max-width: 560px) {
  .fab-buy { padding: 12px 18px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .hero-bg, .hill-badge, .float-slow, .scroll-cue span, .ticker-track, .fab-buy.is-visible {
    animation: none !important;
  }
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
