@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Baloo+2:wght@500;700;800&display=swap');

:root {
  --pepe-green: #a6e01a;
  --pepe-green-bright: #c4ff2e;
  --pepe-dark: #0b0f08;
  --pepe-dark2: #131a0d;
  --pepe-red: #b5401f;
  --pepe-pink: #ffc2e2;
  --pepe-gray: #6b7075;
  --glow: 0 0 12px rgba(196,255,46,0.65), 0 0 30px rgba(196,255,46,0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--pepe-dark);
  color: #eafcd0;
  font-family: 'Baloo 2', sans-serif;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(166,224,26,0.08), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(166,224,26,0.06), transparent 45%);
}

h1, h2, h3, .title-font {
  font-family: 'Luckiest Guy', cursive;
  letter-spacing: 1px;
  text-shadow: var(--glow);
}

a { color: inherit; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,15,8,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--pepe-green);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.3rem;
  color: var(--pepe-green-bright);
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--pepe-green);
  animation: wiggle 3s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: #eafcd0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pepe-green-bright); }

.btn {
  display: inline-block;
  background: var(--pepe-green-bright);
  color: #0b0f08 !important;
  font-family: 'Luckiest Guy', cursive;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  border: 3px solid #0b0f08;
  box-shadow: 4px 4px 0 #0b0f08;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #0b0f08;
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #0b0f08;
}

.btn-lg { font-size: 1.4rem; padding: 16px 36px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 60px 24px 40px;
  text-align: center;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  max-width: 900px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(166,224,26,0.35));
  animation: float 4s ease-in-out infinite;
}

.hero-tagline {
  font-size: 1.4rem;
  margin: 18px auto 6px;
  max-width: 700px;
  font-weight: 800;
  color: var(--pepe-green-bright);
}

.hero-sub {
  font-size: 1.05rem;
  color: #cde8a5;
  max-width: 640px;
  margin: 0 auto 26px;
}

.ticker-mark { color: var(--pepe-pink); }

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* floating frogs decorations */
.floaty {
  position: absolute;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(166,224,26,0.4));
  z-index: 0;
}
.floaty img { width: 100%; height: 100%; border-radius: 50%; }
.f1 { width: 70px; height: 70px; top: 8%; left: 2%; animation: float 5s ease-in-out infinite; }
.f2 { width: 80px; height: 80px; top: 78%; left: 4%; animation: float 6s ease-in-out infinite 1s; }
.f3 { width: 60px; height: 60px; top: 10%; right: 2%; animation: float 4.5s ease-in-out infinite 0.5s; }
.f4 { width: 80px; height: 80px; top: 78%; right: 3%; animation: float 5.5s ease-in-out infinite 1.5s; }

.hero-banner, .hero-tagline, .hero-sub, .ca-box, .hero-ctas {
  position: relative;
  z-index: 1;
}

/* ---------- CA BOX ---------- */
.ca-box {
  margin: 0 auto 10px;
  max-width: 560px;
  background: var(--pepe-dark2);
  border: 3px dashed var(--pepe-green);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.ca-box:hover { background: #1a2412; transform: scale(1.02); }

.ca-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pepe-gray);
  display: block;
}

.ca-value {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--pepe-green-bright);
  overflow-wrap: anywhere;
  text-align: left;
}

.copy-btn {
  background: var(--pepe-green);
  border: 2px solid #0b0f08;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Baloo 2', sans-serif;
}
.copy-btn:hover { background: var(--pepe-green-bright); }

.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--pepe-green-bright);
  color: #0b0f08;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 50px;
  border: 3px solid #0b0f08;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
  font-family: 'Luckiest Guy', cursive;
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--pepe-green-bright);
  color: #0b0f08;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 3px solid #0b0f08;
  border-bottom: 3px solid #0b0f08;
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.1rem;
}
.marquee-track {
  display: inline-block;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span { margin: 0 20px; }

/* ---------- SECTIONS ---------- */
section { padding: 70px 24px; position: relative; }

.section-title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--pepe-green-bright);
  margin-bottom: 8px;
}
.section-kicker {
  text-align: center;
  color: var(--pepe-pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #cde8a5;
}

/* Lore */
.lore {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}
.lore-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.lore-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 26px;
  border: 4px solid var(--pepe-green);
  box-shadow: var(--glow);
  animation: wiggle 6s ease-in-out infinite;
}
.bow-badge {
  position: absolute;
  top: -18px;
  right: -18px;
  background: var(--pepe-pink);
  color: #4a0f28;
  font-family: 'Luckiest Guy', cursive;
  padding: 10px 14px;
  border-radius: 50%;
  border: 3px solid #0b0f08;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.1;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 #0b0f08;
}
.lore-text { max-width: 480px; }
.lore-text p { line-height: 1.7; font-size: 1.05rem; color: #eafcd0; }
.lore-text strong { color: var(--pepe-green-bright); }

/* Meme maker */
.mm {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.mm-stage {
  position: relative;
  background:
    repeating-conic-gradient(#1a2412 0% 25%, #131a0d 0% 50%) 0 0 / 28px 28px;
  border: 3px solid var(--pepe-green);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glow);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-stage.has-image { aspect-ratio: auto; background: #000; }
.mm-stage.dragover { border-style: dashed; border-color: var(--pepe-pink); }
#mm-canvas {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75vh;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  outline: none;
}
#mm-canvas.dragging { cursor: grabbing; }
.mm-stage:not(.has-image) #mm-canvas { display: none; }
.mm-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  color: #cde8a5;
  width: 100%;
  height: 100%;
  justify-content: center;
}
.mm-drop img { width: 120px; animation: wiggle 3s ease-in-out infinite; }
.mm-drop strong { font-family: 'Luckiest Guy', cursive; font-size: 1.6rem; color: var(--pepe-green-bright); font-weight: 400; }
.mm-stage.has-image .mm-drop { display: none; }

.mm-panel {
  background: var(--pepe-dark2);
  border: 3px solid var(--pepe-green);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mm-group h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--pepe-green-bright);
  text-shadow: none;
}
.mm-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-stickers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mm-sticker {
  background: #0b0f08;
  border: 3px solid var(--pepe-green);
  border-radius: 14px;
  padding: 8px 4px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #eafcd0;
  font-family: 'Luckiest Guy', cursive;
  font-size: 0.85rem;
  transition: transform 0.15s, background 0.15s;
}
.mm-sticker img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.mm-sticker:hover { transform: translateY(-3px) rotate(-3deg); background: #1a2412; }
.mm-sticker:active { transform: scale(0.95); }
.mm-sticker:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.mm-edit {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 2px dashed var(--pepe-green);
  border-radius: 14px;
}
.mm-edit[hidden] { display: none; }
.mm-edit label {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.mm-edit input[type=range] { width: 100%; accent-color: var(--pepe-green-bright); }
.mm-hint { margin: 10px 0 0; font-size: 0.9rem; color: var(--pepe-gray); }

.mm-text {
  width: 100%;
  background: #0b0f08;
  border: 2px solid var(--pepe-green);
  border-radius: 12px;
  color: #eafcd0;
  padding: 10px 12px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
.mm-text:focus { outline: none; border-color: var(--pepe-green-bright); box-shadow: var(--glow); }

.btn-sm { font-size: 0.85rem; padding: 7px 14px; box-shadow: 3px 3px 0 #0b0f08; }
.btn-ghost { background: #eafcd0; }
.btn-danger { background: var(--pepe-pink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

@media (max-width: 860px) {
  .mm { grid-template-columns: 1fr; }
}

/* Tokenomics */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.token-card {
  background: var(--pepe-dark2);
  border: 3px solid var(--pepe-green);
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
}
.token-card .num {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.6rem;
  color: var(--pepe-green-bright);
  display: block;
  margin-bottom: 6px;
}
.token-card .lbl {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pepe-gray);
}

/* Fee split */
.fees {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
}
.fee-donut {
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(
    var(--pepe-green-bright) 0 33.33%,
    var(--pepe-pink) 33.33% 66.66%,
    #f2bb3e 66.66% 100%
  );
  border: 4px solid #0b0f08;
  box-shadow: var(--glow), 6px 6px 0 #0b0f08;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-slow 40s linear infinite;
}
.fee-donut-hole {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pepe-dark);
  border: 4px solid #0b0f08;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: spin-slow 40s linear infinite reverse;
}
.fee-big {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.6rem;
  color: var(--pepe-green-bright);
  text-shadow: var(--glow);
  line-height: 1;
}
.fee-small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cde8a5;
  font-weight: 800;
}
.fee-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fee-card {
  background: var(--pepe-dark2);
  border: 3px solid var(--fee-color);
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: 5px 5px 0 var(--fee-color);
  transition: transform 0.15s;
}
.fee-card:hover { transform: translateY(-5px) rotate(-1deg); }
.fee-team { --fee-color: var(--pepe-green-bright); }
.fee-hold { --fee-color: var(--pepe-pink); }
.fee-swarm { --fee-color: #f2bb3e; }
.fee-pct {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2rem;
  color: var(--fee-color);
  display: block;
  line-height: 1.1;
}
.fee-card h3 {
  margin: 6px 0;
  font-size: 1.1rem;
  color: #eafcd0;
  text-shadow: none;
}
.fee-card p { margin: 0; color: #cde8a5; font-size: 0.92rem; line-height: 1.5; }

@media (max-width: 860px) {
  .fees { grid-template-columns: 1fr; }
  .fee-cards { grid-template-columns: 1fr; }
  .fee-donut { width: 220px; }
}

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  padding-top: 26px;
}
.roadmap::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 16%;
  right: 16%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--pepe-green) 0 14px, transparent 14px 24px);
}
.phase {
  position: relative;
  background: var(--pepe-dark2);
  border: 3px solid var(--pepe-green);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.phase-dot {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pepe-dark);
  border: 4px solid var(--pepe-green);
}
.phase-live { box-shadow: var(--glow); border-color: var(--pepe-green-bright); }
.phase-live .phase-dot {
  background: var(--pepe-green-bright);
  animation: pulse 1.6s ease-in-out infinite;
}
.phase-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 50px;
  background: #0b0f08;
  border: 2px solid var(--pepe-green);
  color: var(--pepe-green-bright);
}
.phase-live .phase-tag { background: var(--pepe-green-bright); color: #0b0f08; }
.phase-num {
  font-family: 'Luckiest Guy', cursive;
  color: var(--pepe-pink);
  font-size: 1rem;
  letter-spacing: 1px;
}
.phase h3 { margin: 0; font-size: 1.4rem; color: var(--pepe-green-bright); text-shadow: none; }
.phase p { margin: 0; color: #cde8a5; line-height: 1.6; font-size: 0.95rem; }
.phase .btn { margin-top: 6px; }

.phase-secret { border-style: dashed; }
.phase-secret .phase-tag { border-color: var(--pepe-pink); color: var(--pepe-pink); }
.redacted { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 4px 0; }
.redacted span {
  display: block;
  height: 14px;
  border-radius: 3px;
  background: #0b0f08;
  border: 1px solid #2a3520;
}
.redacted span:nth-child(1) { width: 92%; }
.redacted span:nth-child(2) { width: 70%; }
.redacted span:nth-child(3) { width: 48%; }
.phase-whisper {
  font-style: italic;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}
.phase-secret:hover .phase-whisper,
.phase-secret:focus .phase-whisper { opacity: 1; transform: none; }
.phase-secret:hover .redacted span { animation: glitch 0.4s steps(2) infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196,255,46,0.7); }
  50% { box-shadow: 0 0 0 10px rgba(196,255,46,0); }
}
@keyframes glitch {
  0% { transform: translateX(0); }
  50% { transform: translateX(3px); background: #1f2a14; }
  100% { transform: translateX(-2px); }
}

@media (max-width: 860px) {
  .roadmap { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 20px; }
  .roadmap::before {
    top: 12px; bottom: 12px; left: 11px; right: auto; width: 4px; height: auto;
    background: repeating-linear-gradient(180deg, var(--pepe-green) 0 14px, transparent 14px 24px);
  }
  .phase-dot { top: 22px; left: -37px; transform: none; }
}

/* How to buy */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--pepe-dark2);
  border: 3px solid var(--pepe-green);
  border-radius: 18px;
  padding: 26px 20px;
  position: relative;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pepe-green-bright);
  color: #0b0f08;
  font-family: 'Luckiest Guy', cursive;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  border: 3px solid #0b0f08;
}
.step-card h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--pepe-green-bright); text-shadow: none; }
.step-card p { color: #cde8a5; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Footer */
footer {
  border-top: 3px solid var(--pepe-green);
  padding: 40px 24px 30px;
  text-align: center;
  color: var(--pepe-gray);
  font-size: 0.85rem;
}
footer img {
  width: 60px;
  border-radius: 50%;
  border: 2px solid var(--pepe-green);
  margin-bottom: 14px;
  animation: wiggle 4s ease-in-out infinite;
}
footer .disclaimer {
  max-width: 600px;
  margin: 18px auto 0;
  line-height: 1.6;
}

/* Socials */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  margin: 4px 0 10px;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 50px;
  border: 2px solid var(--pepe-green);
  background: var(--pepe-dark2);
  color: #eafcd0;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.social svg { width: 18px; height: 18px; flex-shrink: 0; }
.social:hover { transform: translateY(-2px) rotate(-2deg); background: var(--pepe-green-bright); color: #0b0f08; }
.social.soon { border-style: dashed; opacity: 0.8; }
.soon-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--pepe-pink);
  color: #4a0f28;
  padding: 1px 7px;
  border-radius: 50px;
}
footer .socials { margin: 18px 0 0; }

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--pepe-green);
  color: #eafcd0 !important;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.nav-icon svg { width: 17px; height: 17px; }
.nav-icon:hover { background: var(--pepe-green-bright); color: #0b0f08 !important; transform: rotate(-8deg); }
.step-card p a { color: var(--pepe-green-bright); font-weight: 800; }

/* ---------- ANIMATIONS ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .nav-links { gap: 8px; }
  .nav-links a:not(.btn):not(.nav-icon) { display: none; }
  .nav-links .btn { padding: 8px 14px; font-size: 0.9rem; }
  .hero, section, footer { padding-left: 16px; padding-right: 16px; }
  .nav-inner { padding: 10px 16px; }
  .ca-box { padding: 12px 14px; }
  .lore-img { width: 240px; height: 240px; }
  .token-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .token-card { padding: 18px 10px; }
  .token-card .num { font-size: 1.25rem; }
  .section-title { font-size: 1.8rem; }
  .hero-tagline { font-size: 1.1rem; }
}
