/* ═══════════════════════════════════════════════════════════
   COPPER POT OF WEALTH — Cute Memecoin Edition 🫕
   ═══════════════════════════════════════════════════════════ */
:root {
  --copper: #E8955F;
  --copper-light: #F0A860;
  --copper-deep: #D27D46;
  --gold: #FFD34E;
  --gold-deep: #F5B301;
  --cream: #F5E6D6;
  --cream-2: #2A1F18;
  --ink: #F5E6D6;
  --ink-soft: #B89A7E;
  --pink: #FF9EC4;
  --pink-soft: #3D2830;
  --mint: #7BE0A6;
  --rh-green: #00C805;
  --sky: #8FD3FF;

  --bg: #0F0A08;
  --bg-elevated: #1A1210;
  --bg-card: #221812;
  --border: #3D2E24;
  --stroke: #1A0E08;

  --shadow-hard: 4px 4px 0 rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.45);

  --font-fun: 'Luckiest Guy', cursive;
  --font-head: 'Baloo 2', cursive;
  --font-body: 'Fredoka', sans-serif;

  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 15%, rgba(210, 125, 70, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255, 158, 196, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255, 211, 78, 0.06) 0%, transparent 55%),
    linear-gradient(160deg, #0F0A08 0%, #1A1210 45%, #120C09 100%);
  overflow-x: hidden;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ─── PRELOADER ──────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, #2A1F18 0%, #1A1210 45%, #0F0A08 100%);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.preloader.is-done {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.preloader__coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preloader__coins span {
  position: absolute;
  font-size: 1.6rem;
  animation: coinFall linear infinite;
  will-change: transform;
}

@keyframes coinFall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0.8; }
}

.preloader__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.preloader__mascot-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__mascot {
  width: 100%;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45));
  animation: mascotBoing 1.1s var(--bounce) infinite alternate;
}

@keyframes mascotBoing {
  0% { transform: translateY(0) rotate(-3deg) scale(1); }
  100% { transform: translateY(-14px) rotate(3deg) scale(1.04); }
}

.preloader__pop {
  position: absolute;
  font-family: var(--font-fun);
  font-size: 1.5rem;
  color: var(--gold-deep);
  -webkit-text-stroke: 2px var(--stroke);
  animation: popUp 1.4s ease-in-out infinite;
}
.preloader__pop--1 { top: 4%; left: 6%; animation-delay: 0s; }
.preloader__pop--2 { top: 0; right: 10%; animation-delay: 0.45s; }
.preloader__pop--3 { bottom: 14%; right: 2%; animation-delay: 0.9s; }

@keyframes popUp {
  0%, 100% { transform: translateY(6px) scale(0.8); opacity: 0; }
  50% { transform: translateY(-10px) scale(1.1); opacity: 1; }
}

.preloader__title {
  font-family: var(--font-fun);
  font-size: clamp(2rem, 8vw, 3.2rem);
  color: var(--gold);
  -webkit-text-stroke: 3px var(--stroke);
  paint-order: stroke fill;
  letter-spacing: 2px;
  margin: 0.6rem 0 1.4rem;
  text-shadow: var(--shadow-hard);
}

.preloader__bar {
  position: relative;
  width: min(320px, 74vw);
  height: 26px;
  background: var(--bg-card);
  border: 3px solid var(--border);
  border-radius: 99px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: repeating-linear-gradient(45deg, var(--gold) 0 12px, var(--gold-deep) 12px 24px);
  background-size: 200% 100%;
  animation: barStripe 0.7s linear infinite;
  transition: width 0.2s ease;
}

@keyframes barStripe {
  from { background-position: 0 0; }
  to { background-position: 48px 0; }
}

.preloader__percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--gold);
}

.preloader__msg {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

/* ─── SITE ───────────────────────────────────────────────── */
.site {
  position: relative;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.site.is-visible { opacity: 1; }

/* floating doodles */
.doodles { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.doodle {
  position: absolute;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  opacity: 0.55;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.35));
  animation: bob 6s ease-in-out infinite;
}
.doodle--star { animation-duration: 5s; }
.doodle--pot { animation-duration: 7s; }
.doodle:nth-of-type(even) { animation-direction: reverse; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(15, 10, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s var(--ease);
}
.nav__brand:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}
.nav__logo {
  height: clamp(36px, 5vw, 46px);
  width: auto;
  object-fit: contain;
}

.nav__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: #7ef47e;
  padding: 0.4rem 0.85rem;
  background: rgba(0, 200, 5, 0.12);
  border: 2px solid rgba(0, 200, 5, 0.35);
  border-radius: 99px;
  box-shadow: none;
}
.nav__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--rh-green);
  box-shadow: 0 0 0 3px rgba(0,200,5,0.25);
  animation: blink 1.3s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.45;transform:scale(.7);} }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 10;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
}

.hero__blob {
  position: absolute;
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  filter: blur(6px);
  z-index: -1;
  animation: blobMorph 12s ease-in-out infinite;
}
.hero__blob--1 { width: 380px; height: 380px; background: rgba(210, 125, 70, 0.15); top: 8%; left: 6%; }
.hero__blob--2 { width: 320px; height: 320px; background: rgba(255, 211, 78, 0.1); bottom: 10%; right: 8%; animation-delay: -4s; }
@keyframes blobMorph {
  0%,100% { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; transform: scale(1) rotate(0); }
  50% { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; transform: scale(1.12) rotate(20deg); }
}

.hero__mascot-stage {
  position: relative;
  width: min(340px, 78vw);
  margin-bottom: 0.5rem;
}
.hero__sunburst {
  position: absolute;
  inset: -18%;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255,211,78,0.2) 0deg 12deg, transparent 12deg 24deg);
  border-radius: 50%;
  animation: spin 24s linear infinite;
  -webkit-mask: radial-gradient(circle, black 42%, transparent 62%);
          mask: radial-gradient(circle, black 42%, transparent 62%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__mascot {
  width: 100%;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5));
  animation: heroFloat 3.4s ease-in-out infinite;
  cursor: grab;
  transition: transform 0.15s var(--bounce);
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}
.hero__mascot.is-poked { animation: pokeSquish 0.5s var(--bounce); }
@keyframes pokeSquish {
  0% { transform: scale(1,1); }
  30% { transform: scale(1.15,0.85) rotate(-4deg); }
  60% { transform: scale(0.9,1.12) rotate(4deg); }
  100% { transform: scale(1,1); }
}

.hero__title { margin: 1.2rem 0 0.6rem; line-height: 1; }
.hero__title-top {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.1rem, 3.4vw, 1.7rem);
  color: var(--copper-light);
  transform: rotate(-2deg);
}
.hero__title-big {
  display: block;
  font-family: var(--font-fun);
  font-size: clamp(2.3rem, 8.5vw, 5.3rem);
  letter-spacing: 1px;
  color: var(--gold);
  -webkit-text-stroke: clamp(2px, 0.7vw, 4px) var(--stroke);
  paint-order: stroke fill;
  text-shadow: 5px 6px 0 rgba(0, 0, 0, 0.6);
  margin: 0.1em 0;
}
.hero__title-sub {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 4.5vw, 2.4rem);
  color: var(--copper);
  transform: rotate(1.5deg);
}

.hero__tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  color: var(--ink-soft);
  background: var(--bg-card);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 99px;
  border: 2px dashed var(--border);
  margin: 1rem 0 1.8rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--stroke);
  padding: 0.95rem 1.7rem;
  border: 3px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: transform 0.15s var(--bounce), box-shadow 0.15s var(--bounce);
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: var(--shadow-hard);
}
.btn--primary:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}
.btn--primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); }
.btn--big { font-size: 1.15rem; padding: 1.15rem 2.2rem; }
.btn__emoji { font-size: 1.15em; }
.btn__arrow { font-weight: 900; transition: transform 0.2s var(--bounce); }
.btn--primary:hover .btn__arrow { transform: translate(3px,-3px) scale(1.2); }

.btn--tweet {
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  color: var(--cream);
  border-color: var(--border);
  box-shadow: var(--shadow-hard);
  padding: 0.85rem 1.5rem;
  min-width: 220px;
}
.btn--tweet:hover {
  transform: translate(-2px, -2px) rotate(1deg);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  border-color: var(--copper);
}
.btn--tweet:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); }
.btn--tweet .btn__arrow {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  font-size: 0.9rem;
  opacity: 0.7;
}
.btn--tweet { position: relative; }
.btn__tweet-top {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.btn__tweet-mid {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
}
.btn__tweet-bot {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--copper-light);
}

/* ─── SCROLL HINT ────────────────────────────────────────── */
.hero__scroll {
  margin-top: 2.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hero__scroll-arrow { font-size: 1.5rem; animation: bounceDown 1.4s ease infinite; }
@keyframes bounceDown { 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }

/* ─── MARQUEE ────────────────────────────────────────────── */
.marquee {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: var(--bg-elevated);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
  padding: 0.7rem 0;
  transform: rotate(-1.4deg) scale(1.03);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  width: max-content;
  animation: scrollX 22s linear infinite;
}
.marquee__track span {
  font-family: var(--font-fun);
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--gold);
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ─── SECTION TITLE ──────────────────────────────────────── */
.section-title {
  text-align: center;
  font-family: var(--font-fun);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--copper-light);
  -webkit-text-stroke: 2px var(--stroke);
  paint-order: stroke fill;
  margin-bottom: 2.2rem;
}
.section-title span { display: inline-block; animation: wobble 2.5s ease infinite; }

/* ─── STORY ──────────────────────────────────────────────── */
.story {
  position: relative;
  z-index: 10;
  max-width: 640px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.story__kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--copper-light);
  text-align: center;
  margin-bottom: 0.25rem;
}
.story__card {
  background: var(--bg-card);
  border: 3px solid var(--border);
  border-radius: 22px;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-hard);
}
.story__hook {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.story__card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}
.story__quote {
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 211, 78, 0.15) 0%, rgba(245, 179, 1, 0.08) 100%);
  border: 3px solid var(--border);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-hard);
}
.story__quote p {
  font-family: var(--font-fun);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.story__quote cite {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--copper-light);
  font-style: normal;
}
.story__axios {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-hard);
  background: var(--bg-card);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s ease;
}
.story__axios:hover {
  transform: translateY(-5px);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.5);
}
.story__axios-img {
  width: 100%;
  height: auto;
}

/* ─── DEDICATION ─────────────────────────────────────────── */
.dedication {
  position: relative;
  z-index: 10;
  padding: 3rem 1.5rem;
}
.dedication__card {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border: 3px solid var(--border);
  border-radius: 30px;
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-hard);
}
.dedication__grandpa {
  width: 180px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
  animation: heroFloat 4s ease-in-out infinite;
}
.dedication__text { text-align: left; }
.dedication__heart { font-size: 1.8rem; display: block; margin-bottom: 0.4rem; animation: heartbeat 1.4s ease infinite; }
@keyframes heartbeat { 0%,100%{transform:scale(1);} 25%{transform:scale(1.2);} 40%{transform:scale(1);} }
.dedication__line {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  color: var(--ink);
  line-height: 1.4;
}

/* ─── FACTS ──────────────────────────────────────────────── */
.facts {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}
.fact {
  background: var(--bg-card);
  border: 3px solid var(--border);
  border-radius: 24px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s var(--bounce);
}
.fact:hover { transform: translateY(-6px) rotate(1.5deg); }
.fact:nth-child(2) { background: #2A1A22; }
.fact:nth-child(3) { background: #241C14; }
.fact:nth-child(4) { background: #142218; }
.fact__ico { font-size: 2.6rem; margin-bottom: 0.6rem; }
.fact h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--copper-light);
  margin-bottom: 0.4rem;
}
.fact p { color: var(--ink-soft); font-size: 0.95rem; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  background: #080504;
  border-top: 1px solid var(--border);
}
.footer__logo { height: 34px; margin: 0 auto 1rem; }
.footer__copy { color: var(--cream); font-size: 0.9rem; font-weight: 500; margin-bottom: 0.6rem; }
.footer__link { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer__link:hover { color: var(--gold-deep); }

/* ─── REVEAL / POP-IN ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px) scale(0.96); transition: opacity 0.7s var(--ease), transform 0.7s var(--bounce); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.pop-in { opacity: 0; transform: translateY(24px) scale(0.9); }
.pop-in.is-visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.6s var(--ease), transform 0.6s var(--bounce); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .dedication__card { flex-direction: column; text-align: center; }
  .dedication__text { text-align: center; }
  .nav__logo { height: 34px; }
  .nav__badge { font-size: 0.58rem; padding: 0.35rem 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
