/* ============================================
   GOOD ASS COIN — CHILDLIKE CSS 🍑
   (painted with crayons, basically)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Patrick+Hand&display=swap');

/* ── ROOT TOKENS ── */
:root {
  --yellow:   #ffc800;
  --yellow-d: #f0a800;
  --black:    #1a1a1a;
  --white:    #fffff8;
  --red:      #ff3b3b;
  --blue:     #4d96ff;
  --green:    #6bcb77;
  --purple:   #b48eff;
  --paper:    #fffff0;
  --lined:    #e8f4fd;
  --ink:      #1a1a1a;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Patrick Hand', cursive;
  background-color: var(--yellow);
  color: var(--black);
  overflow-x: hidden;
  cursor: none; /* replaced by custom coin cursor */
  min-height: 100vh;
}

/* lined paper texture via repeating gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(100, 150, 220, 0.15) 31px,
      rgba(100, 150, 220, 0.15) 32px
    );
  pointer-events: none;
  z-index: 0;
}

/* ── FLOATING DOODLES ── */
.doodle-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.doodle {
  position: absolute;
  font-size: clamp(1.5rem, 4vw, 3rem);
  opacity: 0.18;
  animation: floatDoodle linear infinite;
  user-select: none;
}

.d1  { left: 5%;  top: 10%; animation-duration: 12s; animation-delay: 0s;   font-size: 2.5rem; }
.d2  { left: 15%; top: 80%; animation-duration: 16s; animation-delay: -3s;  font-size: 2rem; }
.d3  { left: 30%; top: 20%; animation-duration: 10s; animation-delay: -6s;  font-size: 3rem; }
.d4  { left: 50%; top: 60%; animation-duration: 14s; animation-delay: -2s;  font-size: 2.5rem; }
.d5  { left: 65%; top: 5%;  animation-duration: 11s; animation-delay: -8s;  font-size: 2rem; }
.d6  { left: 75%; top: 75%; animation-duration: 18s; animation-delay: -1s;  font-size: 2.5rem; }
.d7  { left: 85%; top: 30%; animation-duration: 13s; animation-delay: -5s;  font-size: 2rem; }
.d8  { left: 90%; top: 55%; animation-duration: 15s; animation-delay: -9s;  font-size: 3rem; }
.d9  { left: 20%; top: 45%; animation-duration: 17s; animation-delay: -4s;  font-size: 1.8rem; }
.d10 { left: 50%; top: 90%; animation-duration: 12s; animation-delay: -7s;  font-size: 2.2rem; }

@keyframes floatDoodle {
  0%   { transform: translateY(0)   rotate(0deg); }
  25%  { transform: translateY(-30px) rotate(10deg); }
  50%  { transform: translateY(-10px) rotate(-5deg); }
  75%  { transform: translateY(-40px) rotate(8deg); }
  100% { transform: translateY(0)   rotate(0deg); }
}

/* ── CUSTOM CURSOR ── */
.cursor-coin {
  position: fixed;
  top: 0; left: 0;
  font-size: 1.8rem;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
  will-change: left, top;
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 4rem;
  background: var(--yellow);
}

.hero-scribble-line {
  width: 90%;
  height: 4px;
  background: var(--black);
  border-radius: 2px;
  position: absolute;
}
.hero-scribble-line.top    { top: 1rem; }
.hero-scribble-line.bottom { bottom: 1rem; }

/* wiggly via clip path */
.hero-scribble-line::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--black);
  clip-path: polygon(
    0% 50%, 2% 0%, 4% 100%, 6% 0%, 8% 100%, 10% 0%,
    12% 100%, 14% 0%, 16% 100%, 18% 0%, 20% 100%,
    22% 0%, 24% 100%, 26% 0%, 28% 100%, 30% 0%,
    32% 100%, 34% 0%, 36% 100%, 38% 0%, 40% 100%,
    42% 0%, 44% 100%, 46% 0%, 48% 100%, 50% 0%,
    52% 100%, 54% 0%, 56% 100%, 58% 0%, 60% 100%,
    62% 0%, 64% 100%, 66% 0%, 68% 100%, 70% 0%,
    72% 100%, 74% 0%, 76% 100%, 78% 0%, 80% 100%,
    82% 0%, 84% 100%, 86% 0%, 88% 100%, 90% 0%,
    92% 100%, 94% 0%, 96% 100%, 98% 0%, 100% 50%
  );
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

/* SPEECH BUBBLE */
.speech-bubble {
  position: relative;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  padding: 1.5rem 2rem;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 4px 4px 0 var(--black);
  max-width: 280px;
  transform: rotate(-3deg);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 30%;
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 8px solid transparent;
  border-top: 22px solid var(--black);
}

.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 31%;
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 7px solid transparent;
  border-top: 20px solid var(--white);
  z-index: 1;
}

@keyframes bubbleWobble {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  25%       { transform: rotate(-5deg) scale(1.02); }
  75%       { transform: rotate(-1deg) scale(0.98); }
}
.bubble-wobble { animation: bubbleWobble 3s ease-in-out infinite; }

/* TITLE */
.big-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.title-good {
  color: var(--black);
  -webkit-text-stroke: 2px var(--black);
  transform: rotate(-2deg);
  display: inline-block;
  animation: titleJiggle 4s ease-in-out infinite;
}
.title-ass {
  color: var(--red);
  -webkit-text-stroke: 2px var(--black);
  transform: rotate(3deg);
  display: inline-block;
  animation: titleJiggle 4s ease-in-out infinite 0.3s;
}
.title-coin {
  color: var(--black);
  background: var(--white);
  border: 4px solid var(--black);
  padding: 0.1em 0.3em;
  transform: rotate(-1.5deg);
  display: inline-block;
  box-shadow: 5px 5px 0 var(--black);
  animation: titleJiggle 4s ease-in-out infinite 0.6s;
}

@keyframes titleJiggle {
  0%, 100% { transform: rotate(-2deg)  scale(1); }
  30%       { transform: rotate(-3.5deg) scale(1.02); }
  70%       { transform: rotate(-1deg)  scale(0.99); }
}
.title-ass { animation-name: titleJiggleAss; }
@keyframes titleJiggleAss {
  0%, 100% { transform: rotate(3deg)  scale(1); }
  30%       { transform: rotate(5deg)  scale(1.02); }
  70%       { transform: rotate(1.5deg) scale(0.99); }
}
.title-coin { animation-name: titleJiggleCoin; }
@keyframes titleJiggleCoin {
  0%, 100% { transform: rotate(-1.5deg) scale(1); }
  30%       { transform: rotate(-3deg)   scale(1.02); }
  70%       { transform: rotate(0deg)    scale(0.99); }
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
  line-height: 1.5;
  max-width: 400px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.btn {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.6em 1.4em;
  border: 3px solid var(--black);
  border-radius: 99px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--black);
}

.btn-buy  { background: var(--red);    color: var(--white); }
.btn-buy:hover { transform: rotate(-2deg) scale(1.05); }
.btn-tele { background: var(--blue);   color: var(--white); }
.btn-tele:hover { transform: rotate(2deg) scale(1.05); }
.btn-x    { background: var(--black);  color: var(--white); }
.btn-x:hover { transform: rotate(-1deg) scale(1.05); }

/* CONTRACT BOX */
.contract-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  box-shadow: 4px 4px 0 var(--black);
  max-width: 100%;
  flex-wrap: wrap;
}

.contract-label {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.contract-addr {
  font-family: 'Patrick Hand', cursive;
  font-size: 0.85rem;
  word-break: break-all;
  flex: 1;
}

.copy-btn {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  padding: 0.3em 0.8em;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: var(--yellow);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--black);
  transition: transform 0.1s;
}
.copy-btn:active { transform: translate(2px, 2px); box-shadow: none; }

/* COIN IMAGE */
.hero-coin {
  position: relative;
  flex-shrink: 0;
}

.coin-spin {
  width: clamp(200px, 35vw, 420px);
  height: clamp(200px, 35vw, 420px);
  object-fit: contain;
  animation: coinSpin 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
  position: relative;
  z-index: 1;
}

@keyframes coinSpin {
  0%   { transform: rotate(-3deg) scale(1)    translateY(0); }
  25%  { transform: rotate(3deg)  scale(1.03) translateY(-15px); }
  50%  { transform: rotate(-2deg) scale(1)    translateY(0); }
  75%  { transform: rotate(4deg)  scale(1.02) translateY(-8px); }
  100% { transform: rotate(-3deg) scale(1)    translateY(0); }
}

.coin-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255,200,0,0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

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

/* ── SECTIONS SHARED ── */
section {
  position: relative;
  z-index: 1;
  padding: 3rem 1rem;
}

.section-paper {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--paper);
  border: 4px solid var(--black);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  box-shadow: 8px 8px 0 var(--black);
  position: relative;
}

.yellow-paper {
  background: var(--yellow);
}

.lined-paper {
  background: var(--lined);
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    #a8c8e8 31px,
    #a8c8e8 32px
  );
  border-left: 4px solid #ff9999;
  padding-left: 2.5rem;
}

/* paper edge fold */
.section-paper::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-top: 30px solid var(--yellow);
  border-left: 30px solid transparent;
  filter: drop-shadow(-2px 2px 2px rgba(0,0,0,0.2));
}
.yellow-paper::before { border-top-color: var(--yellow-d); }
.lined-paper::before  { border-top-color: #b8d8f8; }

.section-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.scribble-underline {
  position: relative;
  margin-bottom: 1.5rem;
}
.scribble-underline::after {
  content: '';
  display: block;
  height: 4px;
  background: var(--black);
  border-radius: 2px;
  margin-top: 4px;
  transform: rotate(-0.5deg);
}

.section-sub {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

/* ── WHY BUY ── */
.why-section { background: var(--white); }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.reason-card {
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.2s, box-shadow 0.2s;
}
.reason-card:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  box-shadow: 8px 11px 0 var(--black);
}

.reason-emoji { font-size: 3rem; margin-bottom: 0.5rem; }
.reason-card h3 {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.reason-card p { font-size: 1rem; line-height: 1.5; }

.card-wobble-1 { transform: rotate(-2deg); }
.card-wobble-2 { transform: rotate(1.5deg); }
.card-wobble-3 { transform: rotate(-1deg); }
.card-wobble-4 { transform: rotate(2.5deg); }

/* ── MEMES ── */
.memes-section { background: var(--yellow-d); }

.memes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.meme-card {
  background: var(--white);
  border: 3px solid var(--black);
  padding: 0.75rem;
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.25s, box-shadow 0.25s;
}
.meme-card:hover {
  transform: scale(1.04) rotate(0deg) !important;
  box-shadow: 9px 9px 0 var(--black);
  z-index: 10;
  position: relative;
}

.meme-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border: 2px solid var(--black);
}

.meme-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  text-align: center;
  margin-top: 0.5rem;
  padding: 0.25rem;
}

.tilt-left  { transform: rotate(-2deg); }
.tilt-right { transform: rotate(2deg); }

/* ── TOKENOMICS ── */
.toke-section { background: var(--white); }

.toke-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.toke-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.toke-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--clr, #ffd93d);
  border: 4px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  animation: spinCircle 8s linear infinite;
}

@keyframes spinCircle {
  0%   { transform: rotate(-4deg); }
  50%  { transform: rotate(4deg); }
  100% { transform: rotate(-4deg); }
}

.toke-card p {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  text-align: center;
}

.toke-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  text-align: center;
  box-shadow: 4px 4px 0 var(--black);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
}

.notebook-note {
  background: #fffde7;
  border-left: 6px solid var(--yellow-d);
  padding: 1rem 1.5rem;
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  margin-top: 1rem;
  transform: rotate(-0.5deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.15);
}

/* ── HOW TO BUY ── */
.howtobuy-section { background: var(--yellow); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  counter-reset: steps;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.2s;
}
.step:hover { transform: translateX(6px); }

.step-num {
  font-family: 'Caveat', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: center;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 3px 3px 0 var(--black);
}

.step-content h3 {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.step-content p { font-size: 1.05rem; line-height: 1.5; }

/* ── COMMUNITY ── */
.community-section { background: var(--yellow-d); }

.community-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.community-coin {
  width: clamp(150px, 25vw, 280px);
  height: clamp(150px, 25vw, 280px);
  object-fit: contain;
  animation: coinBounce 2s ease-in-out infinite;
  filter: drop-shadow(4px 4px 0 var(--black));
}

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

.community-text { flex: 1; min-width: 220px; }
.community-text .section-title { margin-bottom: 0.5rem; }
.community-text p { font-size: 1.1rem; margin-bottom: 1.5rem; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-btn {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.5em 1.2em;
  border: 3px solid var(--black);
  border-radius: 99px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}
.social-btn:hover {
  transform: translate(-2px, -2px) rotate(-2deg);
  box-shadow: 6px 6px 0 var(--black);
}

.telegram { background: var(--blue);   color: var(--white); }
.twitter  { background: var(--black);  color: var(--white); }
.dex      { background: var(--green);  color: var(--black); }

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--black);
  color: var(--yellow);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer p {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
}

.disclaimer {
  font-size: 0.9rem !important;
  opacity: 0.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .hero-inner    { flex-direction: column; text-align: center; }
  .hero-buttons  { justify-content: center; }
  .contract-box  { justify-content: center; }
  .speech-bubble { margin: 0 auto 1.5rem; }
  .big-title     { align-items: center; }
  .step          { flex-direction: column; align-items: flex-start; }
  body           { cursor: auto; }
  .cursor-coin   { display: none; }
}
