:root {
  --ink: #1a1208;
  --ink-soft: #3d2e1a;
  --yellow: #ffe14d;
  --yellow-deep: #ffc107;
  --orange: #f07a1a;
  --orange-hot: #e85d04;
  --red: #e6392b;
  --sky: #5eb8f0;
  --sky-soft: #b8e4ff;
  --sand: #f7e8c4;
  --cream: #fff8e7;
  --white: #fffdf6;
  --teal: #2ec4b6;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --radius: 28px;
  --radius-sm: 18px;
  --font-display: "Luckiest Guy", "Fredoka", system-ui, sans-serif;
  --font-body: "Fredoka", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #fff3a8 0%, transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(94, 184, 240, 0.35), transparent 40%),
    radial-gradient(circle at 10% 70%, rgba(240, 122, 26, 0.18), transparent 35%),
    linear-gradient(180deg, #fff6d6 0%, var(--sand) 45%, #ffe9b8 100%);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sunburst {
  position: absolute;
  top: -18vmax;
  right: -12vmax;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 225, 77, 0.35),
    rgba(255, 255, 255, 0.05),
    rgba(255, 193, 7, 0.3),
    rgba(255, 255, 255, 0.05),
    rgba(255, 225, 77, 0.35)
  );
  animation: spin-slow 48s linear infinite;
  filter: blur(2px);
}

.sand-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at 20% 30%, rgba(26, 18, 8, 0.08) 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(26, 18, 8, 0.06) 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, rgba(26, 18, 8, 0.05) 1px, transparent 1.5px);
  background-size: 48px 48px, 72px 72px, 36px 36px;
}

.float-mark {
  position: absolute;
  font-family: var(--font-display);
  color: var(--red);
  font-size: clamp(2rem, 5vw, 4rem);
  text-shadow: 3px 3px 0 rgba(26, 18, 8, 0.15);
  animation: bob 4.5s ease-in-out infinite;
  opacity: 0.55;
}

.m1 { top: 18%; left: 6%; animation-delay: 0s; }
.m2 { top: 42%; right: 8%; animation-delay: 0.8s; font-size: 2.4rem; }
.m3 { bottom: 22%; left: 14%; animation-delay: 1.4s; font-size: 3rem; }
.m4 { top: 12%; right: 22%; animation-delay: 2s; font-size: 2rem; }

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 2px;
  animation: twinkle 3.2s ease-in-out infinite;
}

.s1 { top: 25%; left: 28%; }
.s2 { top: 55%; right: 18%; animation-delay: 0.6s; background: var(--orange); }
.s3 { bottom: 18%; left: 40%; animation-delay: 1.2s; background: var(--red); }
.s4 { top: 70%; left: 8%; animation-delay: 1.8s; }
.s5 { top: 35%; right: 35%; animation-delay: 0.3s; background: var(--teal); }

#confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 253, 246, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  animation: logo-tilt 5s ease-in-out infinite;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-ticker {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-hot);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  transform: translate(-2px, -2px) rotate(-4deg);
  background: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn img {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translate(-2px, -2px) scale(1.03);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px) scale(0.98);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-buy,
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 100%);
  color: var(--white);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary img {
  filter: brightness(0) invert(1);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
}

.btn-outline {
  background: var(--cream);
  margin-top: 0.75rem;
}

.btn-xl {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

.btn-copy {
  background: var(--yellow);
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  box-shadow: 2px 2px 0 var(--ink);
  border: 2px solid var(--ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.nav-toggle span {
  width: 18px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem) 3rem;
  min-height: calc(100vh - 80px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 3px 3px 0 var(--ink);
  margin: 0 0 1rem;
}

.sol-mark {
  width: 22px;
  height: 22px;
}

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 rgba(26, 18, 8, 0.12);
}

.display-title .line {
  display: block;
}

.display-title .accent {
  color: var(--orange-hot);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  animation: pulse-soft 2.8s ease-in-out infinite;
}

.hero-lead {
  max-width: 34ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 1.1rem 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ca-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 253, 246, 0.9);
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-width: 100%;
}

.ca-label {
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-hot);
}

.ca-value {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.logo-stage {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 3px dashed rgba(26, 18, 8, 0.25);
  animation: spin-slow 18s linear infinite;
}

.halo.delay {
  inset: 0;
  border-style: solid;
  border-color: rgba(240, 122, 26, 0.35);
  animation-direction: reverse;
  animation-duration: 24s;
}

.hero-logo {
  width: 78%;
  border-radius: 50%;
  border: 5px solid var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 12px rgba(255, 225, 77, 0.45);
  animation: bonk-bounce 2.4s ease-in-out infinite;
  z-index: 1;
}

.pop {
  position: absolute;
  font-family: var(--font-display);
  color: var(--red);
  font-size: 2.8rem;
  z-index: 2;
  animation: pop-in 2.2s ease-in-out infinite;
  text-shadow: 2px 2px 0 var(--ink);
}

.pop-a { top: 6%; right: 12%; }
.pop-b { top: 18%; right: 0; animation-delay: 0.35s; font-size: 2.1rem; }
.pop-c { top: 0; right: 28%; animation-delay: 0.7s; font-size: 1.7rem; }

.trade-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.trade-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}

.trade-chip img {
  width: 22px;
  height: 22px;
}

.trade-chip:hover {
  transform: translateY(-3px) rotate(-2deg);
  background: var(--yellow);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.85rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sticker-card {
  padding: 1.5rem;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sticker-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 8px 10px 0 var(--ink);
}

.sticker-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 18px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--ink);
}

.sticker-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticker-icon.sol {
  background: var(--ink);
  padding: 10px;
}

.sticker-icon.sol img {
  object-fit: contain;
}

.sticker-icon.bang {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
}

.sticker-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.sticker-card p {
  margin: 0;
  color: var(--ink-soft);
}

.howtobuy {
  position: relative;
}

.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.buy-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 253, 246, 0.95), rgba(255, 225, 77, 0.35));
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.buy-step:hover {
  transform: scale(1.015);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange-hot);
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
}

.step-body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.step-body p {
  margin: 0;
  color: var(--ink-soft);
}

.chart-frame {
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  min-height: 480px;
}

.chart-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.banner-wrap {
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sky);
  aspect-ratio: 3 / 1;
}

.join-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: banner-sway 10s ease-in-out infinite;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 3px solid var(--ink);
  background: rgba(26, 18, 8, 0.92);
  color: var(--cream);
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--yellow);
}

.footer-brand span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.disclaimer {
  margin: 0;
  max-width: 56ch;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 2px solid rgba(255, 225, 77, 0.45);
  border-radius: 999px;
  font-weight: 700;
  color: var(--yellow);
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-links a img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(86%) sepia(41%) saturate(748%) hue-rotate(359deg) brightness(104%) contrast(103%);
}

.footer-links a:hover {
  background: rgba(255, 225, 77, 0.12);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav.open {
  display: flex;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

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

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.4) rotate(20deg); opacity: 1; }
}

@keyframes logo-tilt {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes bonk-bounce {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  35% { transform: translateY(-14px) scale(1.03, 0.97); }
  50% { transform: translateY(0) scale(0.96, 1.06); }
  65% { transform: translateY(-6px) scale(1.02, 0.98); }
}

@keyframes pop-in {
  0%, 100% { transform: scale(1) rotate(-8deg); opacity: 0.85; }
  50% { transform: scale(1.2) rotate(8deg); opacity: 1; }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes banner-sway {
  0%, 100% { transform: scale(1.02) translateX(0); }
  50% { transform: scale(1.05) translateX(-1%); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .ca-box {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    padding: 0.5rem 0;
  }

  .nav a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(26, 18, 8, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-buy {
    display: none;
  }

  .chart-frame iframe {
    height: 420px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }

  .buy-step {
    grid-template-columns: 1fr;
  }

  .banner-wrap {
    aspect-ratio: 3 / 1;
    min-height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
