*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --acid: #b8ff3d;
  --cyan: #2cfcc5;
  --mint: #dcffe9;
  --void: #030612;
  --deep: #07101f;
  --nebula: #0a1730;
  --ink: #09192a;
  --edge: rgba(44, 252, 197, 0.5);
  --edge-soft: rgba(184, 255, 61, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 15%, rgba(44, 252, 197, 0.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(112, 142, 255, 0.25), transparent 32%),
    radial-gradient(circle at 40% 75%, rgba(184, 255, 61, 0.12), transparent 26%),
    var(--void);
  color: var(--mint);
  font-family: "Space Mono", monospace;
  overflow-x: hidden;
}

.space-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.32;
  background-image:
    radial-gradient(2px 2px at 10% 18%, #bcfff7 90%, transparent 100%),
    radial-gradient(2px 2px at 28% 64%, #f2fff8 90%, transparent 100%),
    radial-gradient(2px 2px at 68% 16%, #d5ffc7 90%, transparent 100%),
    radial-gradient(2px 2px at 82% 52%, #bcfff7 90%, transparent 100%),
    radial-gradient(2px 2px at 92% 72%, #d5ffc7 90%, transparent 100%),
    radial-gradient(2px 2px at 38% 42%, #f2fff8 90%, transparent 100%);
  animation: twinkle 12s linear infinite;
}

@keyframes twinkle {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: rgba(3, 8, 20, 0.92);
  border-bottom: 2px solid var(--edge);
  backdrop-filter: blur(9px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
}

.nav-logo {
  font-family: "Bungee", cursive;
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  z-index: 111;
}

.nav-logo span {
  color: var(--acid);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--acid);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 4px;
  z-index: 111;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding-top: 72px;
  background: rgba(2, 8, 24, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  display: block;
  width: 100%;
  padding: 16px 0;
  text-align: center;
  color: var(--mint);
  text-decoration: none;
  font-family: "Bungee", cursive;
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(44, 252, 197, 0.12);
  transition: color 0.2s, background 0.2s;
}

.nav-drawer a:first-child {
  border-top: 1px solid rgba(44, 252, 197, 0.12);
}

.nav-drawer a:hover {
  color: var(--acid);
  background: rgba(44, 252, 197, 0.08);
}

#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "title character"
    "body character"
    "cta character";
  align-items: start;
  gap: 0 56px;
  min-height: 100vh;
  padding: 118px 72px 96px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(44, 252, 197, 0.4);
}

#hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(184, 255, 61, 0.2);
  box-shadow:
    0 0 0 45px rgba(44, 252, 197, 0.06),
    0 0 0 120px rgba(184, 255, 61, 0.03),
    inset 0 0 70px rgba(44, 252, 197, 0.1);
  pointer-events: none;
}

.hero-title-block {
  grid-area: title;
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-bottom: 16px;
}

.hero-eyebrow {
  color: var(--acid);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

#hero h1 {
  font-family: "Bungee", cursive;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.05;
  color: var(--mint);
  text-transform: uppercase;
}

#hero h1 em {
  display: block;
  color: var(--cyan);
  font-style: normal;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  margin-top: 10px;
}

.mission-stamp {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(184, 255, 61, 0.5);
  border-radius: 6px;
  background: rgba(184, 255, 61, 0.09);
  color: rgba(220, 255, 233, 0.9);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-body-block {
  grid-area: body;
  min-width: 0;
}

#hero p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(220, 255, 233, 0.86);
  margin-bottom: 12px;
}

.hero-cta-block {
  grid-area: cta;
  min-width: 0;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-character {
  grid-area: character;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  width: clamp(260px, 33vw, 440px);
  height: clamp(260px, 33vw, 440px);
  border-radius: 50%;
  border: 2px dashed rgba(44, 252, 197, 0.42);
  animation: spin 16s linear infinite;
}

.hero-character img {
  width: clamp(260px, 38vw, 540px);
  filter:
    drop-shadow(0 26px 50px rgba(44, 252, 197, 0.4))
    drop-shadow(0 0 90px rgba(112, 142, 255, 0.24));
  animation: float 4.4s ease-in-out infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
  100% { transform: translateY(0); }
}

.ca-label {
  color: var(--acid);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.62rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.ca-box {
  width: 100%;
  display: flex;
  align-items: center;
  border: 1px solid var(--edge);
  background: rgba(7, 20, 40, 0.75);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.ca-box:hover {
  border-color: var(--acid);
}

.ca-address {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  color: rgba(220, 255, 233, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.ca-copy-btn {
  flex-shrink: 0;
  padding: 12px 15px;
  border: 0;
  border-left: 1px solid rgba(44, 252, 197, 0.38);
  background: rgba(44, 252, 197, 0.14);
  color: var(--mint);
  font-size: 0.62rem;
  font-family: "Bungee", cursive;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ca-copy-btn:hover {
  background: rgba(44, 252, 197, 0.25);
  color: var(--acid);
}

.ca-copy-btn.copied {
  background: rgba(184, 255, 61, 0.2);
  color: #d7ff84;
  border-left-color: rgba(184, 255, 61, 0.45);
}

.ca-copy-btn svg {
  width: 13px;
  height: 13px;
}

.pumpfun-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--edge-soft);
  background: rgba(8, 14, 32, 0.65);
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}

.pumpfun-btn:hover {
  transform: translateY(-2px);
  border-color: var(--acid);
  background: rgba(184, 255, 61, 0.1);
}

.pumpfun-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.pumpfun-btn-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pumpfun-btn-text span:first-child {
  color: var(--mint);
  font-family: "Bungee", cursive;
  font-size: 0.72rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.pumpfun-btn-text span:last-child {
  color: rgba(184, 255, 61, 0.9);
  font-family: "Bungee", cursive;
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.divider {
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid rgba(44, 252, 197, 0.26);
  border-bottom: 1px solid rgba(44, 252, 197, 0.2);
  background: rgba(4, 10, 20, 0.9);
  color: rgba(184, 255, 61, 0.7);
  font-size: 0.76rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-split,
.section-playbook {
  padding: 96px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
  border-top: 2px solid rgba(44, 252, 197, 0.35);
}

.section-playbook {
  background: linear-gradient(150deg, #08152b 0%, #040a1a 80%);
}

.bg-void {
  background: linear-gradient(140deg, rgba(4, 9, 20, 1) 0%, rgba(3, 6, 18, 1) 72%);
}

.bg-deep {
  background: linear-gradient(145deg, rgba(6, 16, 32, 1) 0%, rgba(6, 11, 22, 1) 84%);
}

.bg-nebula {
  background: linear-gradient(145deg, rgba(10, 23, 48, 1) 0%, rgba(8, 17, 36, 1) 84%);
}

.gold-border {
  border-top-color: rgba(184, 255, 61, 0.55);
}

.section-eyebrow {
  color: var(--acid);
  font-size: 0.66rem;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Bungee", cursive;
  font-size: clamp(1.8rem, 2.9vw, 2.7rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--mint);
}

.section-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(220, 255, 233, 0.84);
  margin-bottom: 12px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.poster {
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(4, 13, 28, 0.12), rgba(8, 20, 44, 0.08));
  z-index: -2;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(220, 255, 233, 0.02) 0,
    rgba(220, 255, 233, 0.02) 2px,
    transparent 2px,
    transparent 8px
  );
  opacity: 0.16;
  mix-blend-mode: screen;
  animation: scan 10s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 18px 38px rgba(44, 252, 197, 0.22));
}

.poster-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(184, 255, 61, 0.44);
  background: rgba(3, 8, 20, 0.84);
  color: var(--mint);
  font-size: 0.58rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-family: "Bungee", cursive;
}

.frame-cyan {
  border: 2px solid rgba(44, 252, 197, 0.72);
  box-shadow: 10px 10px 0 rgba(184, 255, 61, 0.55);
}

.frame-lime {
  border: 2px solid rgba(184, 255, 61, 0.72);
  box-shadow: -10px 10px 0 rgba(44, 252, 197, 0.5);
}

.burn-meter {
  margin-top: 14px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(184, 255, 61, 0.35);
  border-radius: 8px;
  background: rgba(8, 14, 32, 0.46);
}

.burn-meter-track {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(183, 220, 255, 0.16);
  border: 1px solid rgba(44, 252, 197, 0.35);
  margin-bottom: 10px;
}

.burn-meter-fill {
  display: block;
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, #58e5ff 0%, #b8ff3d 100%);
  box-shadow: 0 0 22px rgba(184, 255, 61, 0.45);
}

.burn-meter p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.burn-meter strong {
  color: var(--acid);
}

.verify-solscan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(184, 255, 61, 0.55);
  border-radius: 6px;
  background: rgba(184, 255, 61, 0.13);
  color: var(--mint);
  font-family: "Bungee", cursive;
  font-size: 0.68rem;
  letter-spacing: 1.7px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.15s, border-color 0.2s, background 0.2s, color 0.2s;
}

.verify-solscan-btn:hover {
  transform: translateY(-2px);
  border-color: var(--acid);
  background: rgba(184, 255, 61, 0.22);
  color: #d7ff84;
}

footer {
  background: #020611;
  border-top: 2px solid var(--edge);
  text-align: center;
  padding: 48px 20px;
}

.footer-symbol {
  color: var(--cyan);
  letter-spacing: 8px;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

footer p {
  color: rgba(220, 255, 233, 0.62);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

footer p span {
  color: var(--acid);
}

.footer-note {
  margin-top: 10px;
  opacity: 0.75;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 981px) {
  nav {
    padding-left: max(36px, calc((100vw - 1200px) / 2));
    padding-right: max(36px, calc((100vw - 1200px) / 2));
  }

  #hero,
  .section-split,
  .section-playbook {
    padding-left: max(72px, calc((100vw - 1200px) / 2));
    padding-right: max(72px, calc((100vw - 1200px) / 2));
  }
}

@media (max-width: 980px) {
  nav {
    padding: 14px 22px;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  #hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "character"
      "body"
      "cta";
    min-height: unset;
    gap: 0;
    padding: 92px 24px 62px;
  }

  #hero::before {
    width: 390px;
    height: 390px;
    right: -118px;
  }

  .hero-title-block,
  .hero-body-block,
  .hero-cta-block {
    min-width: 0;
    max-width: 100%;
  }

  .hero-character {
    margin: 16px 0 10px;
  }

  .orbit-ring {
    width: clamp(210px, 52vw, 300px);
    height: clamp(210px, 52vw, 300px);
  }

  .hero-character img {
    width: clamp(180px, 62vw, 300px);
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero h1 em {
    font-size: 1rem;
  }

  #hero p,
  .section-body p {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .hero-cta-block {
    padding-top: 22px;
    width: 100%;
  }

  .ca-address {
    font-size: 0.58rem;
    padding: 12px 10px;
  }

  .ca-copy-btn {
    padding: 12px 12px;
  }

  .pumpfun-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .section-split,
  .section-playbook {
    grid-template-columns: 1fr;
    padding: 68px 24px 58px;
    gap: 32px;
  }

  .section-split > .poster,
  .section-playbook > .poster {
    order: -1;
  }

  .poster {
    min-height: 320px;
  }

  .frame-cyan,
  .frame-lime {
    box-shadow: 6px 6px 0 rgba(44, 252, 197, 0.44);
  }

  .section-title {
    font-size: 1.55rem;
    margin-bottom: 16px;
  }

  .burn-meter p {
    font-size: 0.8rem;
  }

  .divider {
    font-size: 0.64rem;
    letter-spacing: 2px;
    padding: 9px 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
