:root {
  --sky: #5eb3e8;
  --sky-deep: #2a8fd4;
  --sky-pale: #a8d8f0;
  --cloud: #f2f8fc;
  --ink: #121212;
  --ink-soft: #2a2a2a;
  --muted: #4a5560;
  --paper: #ffffff;
  --sol-teal: #14f195;
  --sol-cyan: #00ffa3;
  --line: #1a1a1a;
  --shadow: 4px 4px 0 var(--ink);
  --radius: 18px;
  --font-display: "Bangers", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cloud);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(242, 248, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
  transform: translateY(-110%);
  transition: transform 0.35s ease;
}

.nav.is-visible {
  transform: translateY(0);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.nav-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--sky-deep);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-social a svg {
  width: 22px;
  height: 22px;
}

.nav-buy {
  background: var(--ink);
  color: #fff !important;
  font-weight: 800;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-size: 0.85rem;
}

.nav-buy:hover {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #5eb3e8 0%, #8ecff0 42%, #d6eef9 78%, var(--cloud) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/banner.png") center / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(94, 179, 232, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, rgba(94, 179, 232, 0.2) 0%, rgba(214, 238, 249, 0.45) 70%, rgba(242, 248, 252, 0.85) 100%);
  pointer-events: none;
}

.hero-social-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 1rem 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.hero-social-bar a {
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.hero-social-bar a:hover {
  border-color: var(--ink);
}

.hero-brand {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: rise-in 0.8s ease both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(160px, 36vw);
  margin: 0 auto 0.4rem;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.12));
  animation: floaty 4s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.15);
  color: var(--ink);
}

.hero-tagline {
  margin: 0.75rem auto 1.25rem;
  max-width: 28rem;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

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

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

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #222;
}

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

.marquee {
  position: relative;
  z-index: 2;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: #fff;
  overflow: hidden;
  padding: 0.55rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: scroll-x 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.marquee-track img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
}

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

/* ---------- SHARED ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1;
}

.section-sub {
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  margin: 0.5rem 0 2rem;
}

/* ---------- COMMUNITY ---------- */
.community {
  padding: 5rem 1.25rem 4rem;
  background: var(--cloud);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.community-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s;
}

.community-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}

.community-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
}

.community-icon svg {
  width: 30px;
  height: 30px;
}

.community-icon.telegram { background: #2aabee; color: #fff; }
.community-icon.x { background: #111; color: #fff; }
.community-icon.pump {
  background: #86efac;
  padding: 0;
  overflow: hidden;
}

.community-icon.pump img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.community-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.community-card p {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- HOW TO BUY ---------- */
.howto {
  padding: 4.5rem 1.25rem;
  background:
    linear-gradient(180deg, #d6eef9 0%, #eef7fc 40%, #fff 100%);
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.howto-card {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem 1.6rem;
  overflow: hidden;
}

.howto-num {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--sky);
  opacity: 0.55;
}

.howto-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 110px;
  margin-bottom: 0.75rem;
}

.howto-cat {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.howto-cat-lg {
  width: 120px;
  height: 120px;
}

.howto-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.howto-badge.phantom {
  background: #eee8ff;
  padding: 0;
  overflow: hidden;
}

.howto-badge.phantom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.howto-badge.solana {
  background: #111;
}

.howto-badge.pump {
  background: #86efac;
  padding: 0.2rem;
}

.howto-badge.pump img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.howto-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
}

.howto-card p {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.howto-card a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.howto-card a:hover {
  color: var(--sky-deep);
}

/* ---------- WHERE ---------- */
.where {
  padding: 4rem 1.25rem;
  background: #fff;
}

.where-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.where-card {
  min-width: 140px;
  padding: 1.1rem 1.4rem;
  background: var(--cloud);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.where-card:hover {
  background: var(--sky);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* ---------- FACES ---------- */
.faces {
  padding: 4rem 0 3.5rem;
  background:
    linear-gradient(180deg, #fff 0%, #e8f4fc 100%);
  overflow: hidden;
}

.faces-stage {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faces-banner {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #faf8f4;
}

.faces-labels {
  display: flex;
  justify-content: space-around;
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.2vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- TOKENOMICS ---------- */
.tokenomics {
  padding: 4.5rem 1.25rem;
  background: var(--ink);
  color: #fff;
}

.tokenomics-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.tokenomics-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tokenomics-brand img {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #fff;
}

.tokenomics-brand h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  letter-spacing: 0.06em;
}

.ca-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #1e1e1e;
  border: 2px solid #3a3a3a;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 2rem;
}

.ca-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--sky);
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9rem;
  word-break: break-all;
  color: #ddd;
}

.copy-btn {
  font-family: var(--font-body);
  font-weight: 800;
  background: var(--sky);
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.copy-btn:hover {
  background: var(--sol-teal);
  transform: scale(1.04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 14px;
  padding: 1.1rem 0.75rem;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 0.35rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.stat-value.network {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- LORE ---------- */
.lore {
  position: relative;
  padding: 5rem 1.25rem 6rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(94, 179, 232, 0.25), transparent 50%),
    var(--cloud);
  overflow: hidden;
}

.lore-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 1.75rem;
}

.lore-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.lore-body p + p {
  margin-top: 1.1rem;
}

.lore-end {
  margin-top: 1.5rem !important;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-align: center;
}

.lore-mascot {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 120px;
  opacity: 0.2;
  pointer-events: none;
  animation: floaty 5s ease-in-out infinite;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0d0d0d;
  color: #bbb;
  padding: 2.5rem 1.25rem 2rem;
  border-top: 3px solid #222;
}

.footer-top {
  max-width: 960px;
  margin: 0 auto 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--sky);
  z-index: 9999;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .community-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .howto-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .faces-labels {
    display: none;
  }

  .lore-mascot {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-social-bar {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .nav-buy {
    display: none;
  }

  .ca-block {
    flex-direction: column;
  }
}
