:root {
  --bg: #000;
  --bg-2: #07140a;
  --ink: #f4fff4;
  --muted: #8eae90;
  --neon: #39ff14;
  --neon-2: #b8ff5a;
  --line: rgba(57, 255, 20, 0.22);
  --glass: rgba(0, 0, 0, 0.55);
  --font: "Space Grotesk", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("/assets/meme-tile.jpg");
  background-repeat: repeat;
  background-size: 420px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.scan {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(0, 0, 0, 0.12) 3px 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.4) 80%, transparent);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 18px;
}
.brand img {
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--neon);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.4);
  background: #000;
}
.nav-links {
  display: none;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--neon); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
}
.icon-btn:hover { border-color: var(--neon); color: var(--neon); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn-primary, .btn-buy {
  background: var(--neon);
  color: #041204;
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.4);
}
.btn-primary:hover, .btn-buy:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 40px 20px 80px;
  overflow: hidden;
}
.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(to top, #000 0%, transparent 38%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  align-items: center;
}
.kicker {
  margin: 0 0 8px;
  color: var(--neon);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 10vw, 88px);
  line-height: 0.86;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 42px rgba(57, 255, 20, 0.45);
}
.hero h1 .dollar { color: var(--neon); }
.tagline {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  max-width: 16ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ca {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  word-break: break-all;
}
.hero-art {
  justify-self: center;
  width: min(440px, 88vw);
  animation: pulse 4.5s ease-in-out infinite;
}
.hero-art img {
  width: 100%;
  filter: drop-shadow(0 0 48px rgba(57, 255, 20, 0.35));
}
@keyframes pulse {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(57, 255, 20, 0.25)); transform: translateY(0); }
  50% { filter: drop-shadow(0 0 56px rgba(57, 255, 20, 0.5)); transform: translateY(-8px); }
}
.scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #041208;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 12px 0;
  animation: marquee 18s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.18em;
  color: var(--neon);
  font-size: 22px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

section { padding: 80px 20px; position: relative; }
.about, .gallery, .tokenomics, .buy, .foot {
  background: rgba(0, 0, 0, 0.78);
}
.section-head {
  width: min(1120px, 100%);
  margin: 0 auto 36px;
}
.section-head h2, .about-copy h2 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 56px);
  margin: 0;
  letter-spacing: 0.04em;
}

.about-grid, .tok-grid, .gallery-grid, .steps, .buy-box {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.about-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.about-visual {
  background: #000;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(57, 255, 20, 0.12);
}
.about-visual img { width: 100%; }
.about-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
.traits {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.traits li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(57, 255, 20, 0.04);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #000;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid .wide img { max-height: 280px; object-position: left center; }

.tok-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.tok-grid article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
}
.tok-grid h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 36px;
  color: var(--neon);
  letter-spacing: 0.04em;
}
.tok-grid p { margin: 0; color: var(--muted); }

.steps {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
}
.steps li {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: rgba(7, 20, 10, 0.8);
}
.num {
  display: block;
  color: var(--neon);
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); }

.buy-box {
  display: grid;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.1), transparent);
}
.buy-box img {
  width: 100%;
  border-radius: 14px;
  max-height: 280px;
  object-fit: cover;
  background: #000;
}
.ca-big {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: clamp(13px, 2.4vw, 18px);
  margin: 8px 0 16px;
  word-break: break-all;
  color: var(--neon);
  line-height: 1.45;
}

.foot {
  padding: 40px 20px 64px;
  border-top: 1px solid var(--line);
  width: 100%;
  box-sizing: border-box;
}
.foot-inner,
.foot .foot-brand,
.foot .disclaimer,
.foot .copy {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.foot-brand img {
  width: 48px; height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--neon);
  background: #000;
}
.foot-brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 22px;
}
.foot-brand span { color: var(--muted); font-size: 13px; }
.disclaimer, .copy { color: var(--muted); font-size: 13px; line-height: 1.6; }
.copy { margin-top: 18px; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--neon);
  color: #041204;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: 1 / -1; }
  .gallery-grid .wide img { max-height: 360px; }
  .tok-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .buy-box { grid-template-columns: 0.9fr 1.1fr; padding: 22px; }
}

@media (min-width: 1080px) {
  .tok-grid { grid-template-columns: repeat(4, 1fr); }
}
