:root {
  --cream: #f7f1e4;
  --cream-alt: #efe6d2;
  --gold: #f4c542;
  --gold-dark: #b8862f;
  --brown: #3b2a18;
  --brown-light: #6b4f32;
  --pink: #f2a488;
  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --max-width: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-display); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown);
  box-shadow: 0 8px 20px rgba(184, 134, 47, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(184, 134, 47, 0.55); }

.btn-secondary {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
}
.btn-secondary:hover { background: var(--brown); color: var(--cream); }

.btn-small {
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 228, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(59, 42, 24, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brown);
}

.nav-logo { width: 40px; height: 40px; border-radius: 50%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-weight: 600;
}

.nav-links a:not(.btn) {
  position: relative;
  padding: 0.2rem 0;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--gold-dark);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--brown);
  border-radius: 2px;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--brown);
  color: var(--gold);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
}
.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: scroll-ticker 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.ticker-track span { padding-right: 3rem; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(244, 197, 66, 0.35) 0%, rgba(244, 197, 66, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero-coin {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(184, 134, 47, 0.45);
  animation: bob 3.5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold) 45%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brown-light);
  margin-top: 0.2rem;
}

.hero-pitch {
  margin: 1.5rem auto 2rem;
  font-size: 1.05rem;
  color: var(--brown-light);
  max-width: 560px;
}

/* ---------- CA pill ---------- */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(59, 42, 24, 0.06);
  border: 1px dashed var(--gold-dark);
  border-radius: 999px;
  padding: 0.5rem 0.6rem 0.5rem 1rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

.ca-pill-alt { margin-top: 2rem; }

.ca-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.ca-address {
  font-size: 0.85rem;
  color: var(--brown-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.ca-copy {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  background: var(--brown);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.ca-copy:hover { background: var(--gold-dark); }
.ca-copy.copied { background: #4b7f52; }

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
.hero-socials a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-size: 1.1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.hero-socials a:hover { transform: translateY(-3px); background: var(--gold-dark); }

/* ---------- Sections ---------- */
.section { padding: 6rem 1.5rem; }
.section-alt { background: var(--cream-alt); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.section-text {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  color: var(--brown-light);
  font-size: 1.05rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lore timeline ---------- */
.timeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.timeline-card {
  background: var(--cream);
  border: 1px solid rgba(59, 42, 24, 0.1);
  border-radius: 20px;
  padding: 1.8rem 1.3rem;
  width: 180px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(59,42,24,0.08); }

.timeline-card-active {
  background: linear-gradient(160deg, var(--gold), var(--gold-dark));
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(184, 134, 47, 0.45);
}
.timeline-card-active h3,
.timeline-card-active .timeline-cap,
.timeline-card-active .timeline-note { color: var(--brown); }

.timeline-emoji { font-size: 2.3rem; display: block; margin-bottom: 0.5rem; }
.timeline-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.timeline-cap { font-weight: 700; color: var(--gold-dark); font-size: 0.95rem; }
.timeline-note { font-size: 0.85rem; color: var(--brown-light); margin-top: 0.3rem; }

.timeline-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------- Stats grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem 1rem;
  border: 1px solid rgba(59, 42, 24, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(59,42,24,0.08); }

.stat-icon { font-size: 1.8rem; display: block; margin-bottom: 0.6rem; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--brown); }
.stat-label { font-size: 0.85rem; color: var(--brown-light); margin-top: 0.3rem; }

.stat-card-link { display: block; cursor: pointer; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin: 2.5rem 0;
  text-align: left;
}

.step-card {
  background: var(--cream-alt);
  border-radius: 20px;
  padding: 1.8rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(59,42,24,0.08); }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.step-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step-card p { font-size: 0.9rem; color: var(--brown-light); }

.how-to-buy-cta { margin-top: 1rem; }

/* ---------- Roadmap ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
  text-align: left;
}

.roadmap-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem;
  border-top: 4px solid var(--gold-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.roadmap-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(59,42,24,0.08); }

.roadmap-phase {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.roadmap-card h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.roadmap-card li {
  font-size: 0.92rem;
  color: var(--brown-light);
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.roadmap-card li::before {
  content: '🐷';
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--brown);
  color: var(--cream);
  padding: 3.5rem 1.5rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer .nav-brand { justify-content: center; color: var(--cream); margin-bottom: 1.2rem; }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.footer-socials a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(247, 241, 228, 0.1);
  transition: background 0.15s ease, transform 0.15s ease;
}
.footer-socials a:hover { background: var(--gold-dark); transform: translateY(-3px); }

.footer-disclaimer {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(247, 241, 228, 0.6);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(247, 241, 228, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .timeline-arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.2rem 1.5rem 1.6rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(59, 42, 24, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .ca-address { max-width: 150px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}
