:root {
  --lime: #ccff00;
  --lime-dim: #a8d600;
  --lime-glow: rgba(204, 255, 0, 0.35);
  --ink: #0a0f08;
  --ink-2: #121a0e;
  --ink-3: #1a2414;
  --cream: #f4ffe8;
  --muted: #9aab8a;
  --line: rgba(204, 255, 0, 0.18);
  --orange: #e89945;
  --blue: #2a6fd6;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 18px;
  --header-h: 72px;
  --page-x: clamp(1rem, 4vw, 2.5rem);
  --hero-gap: clamp(1.5rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--cream);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(204, 255, 0, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 40%, rgba(42, 111, 214, 0.12), transparent 50%),
    linear-gradient(165deg, #0c120a 0%, #0a0f08 45%, #10180c 100%);
  overflow-x: hidden;
}

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  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");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: 10%;
  right: -8%;
  background: var(--lime-glow);
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: 15%;
  left: -10%;
  background: rgba(42, 111, 214, 0.22);
  animation-delay: -4s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -40px) scale(1.12); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--page-x);
  background: rgba(10, 15, 8, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.15);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--lime);
}

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

.icon-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.icon-link:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(204, 255, 0, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 0 var(--lime-glow);
}

.btn-primary:hover {
  background: #d8ff33;
  box-shadow: 0 8px 28px var(--lime-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero {
  --hero-pad-y: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: var(--hero-pad-y) var(--page-x);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(10, 15, 8, 0.2) 0%, rgba(10, 15, 8, 0.72) 70%),
    linear-gradient(180deg, rgba(10, 15, 8, 0.45) 0%, rgba(10, 15, 8, 0.25) 40%, rgba(10, 15, 8, 0.75) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--hero-gap);
}

.hero-content {
  justify-self: end;
  width: 100%;
  max-width: 34rem;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
}

.dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.25rem, 12vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: var(--lime);
  text-shadow:
    0 0 40px rgba(204, 255, 0, 0.35),
    0 2px 0 rgba(0, 0, 0, 0.35);
}

.hero-tag {
  margin: 1rem 0 1.75rem;
  max-width: 28ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.45;
  color: rgba(244, 255, 232, 0.88);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center; 
  gap: 0.75rem;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  max-width: 100%;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 15, 8, 0.55);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ca-chip:hover {
  border-color: var(--lime);
  background: rgba(204, 255, 0, 0.08);
}

.ca-chip.copied {
  border-color: var(--lime);
}

.ca-label {
  display: grid;
  place-items: center;
  min-width: 2rem;
  height: 1.7rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  color: rgba(244, 255, 232, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-value-full {
  max-width: min(52vw, 28rem);
}

.ca-action {
  margin-left: 0.15rem;
  color: var(--lime);
  font-weight: 600;
  font-size: 0.78rem;
}

.ca-chip-lg {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.25rem;
}

.hero-float {
  justify-self: start;
  /* width: min(34vw, 320px); */
  margin: 0;
  animation: float-mascot 5s ease-in-out infinite;
}

@keyframes float-mascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mascot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28% 28% 24% 24%;
  object-fit: cover;
  border: 3px solid var(--lime);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 8px rgba(204, 255, 0, 0.12);
}

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

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  color: var(--lime);
}

.section-head p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
}

.origin,
.token,
.join {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) var(--page-x);
}

.embed-wrap {
  max-width: 560px;
  margin: 0 auto;
  min-height: 420px;
  display: flex;
  justify-content: center;
}

.embed-wrap .twitter-tweet {
  margin: 0 auto !important;
}

.origin-credit {
  margin: 1.5rem auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  word-break: break-all;
}

.origin-credit a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.token {
  background:
    linear-gradient(180deg, transparent, rgba(204, 255, 0, 0.04), transparent);
}

.token-points {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.token-points li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.5rem;
  background: rgba(18, 26, 14, 0.85);
}

.token-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.token-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.token-cta {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.join-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.join-mascot {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime);
  box-shadow: 0 0 40px var(--lime-glow);
  animation: float-mascot 5s ease-in-out infinite;
}

.join-panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.04em;
  color: var(--lime);
}

.join-panel p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem var(--page-x) 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand img {
  border-radius: 50%;
  border: 1px solid var(--lime);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .token-points {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: clamp(1.75rem, 5vw, 2.5rem);
  }

  .hero-content {
    justify-self: center;
    max-width: 100%;
  }

  .hero-kicker {
    justify-content: center;
  }

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

  .hero-ctas {
    justify-content: center;
  }

  .ca-chip {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-float {
    justify-self: center;
    width: min(56vw, 220px);
  }
}

@media (max-width: 720px) {
  .header-actions .btn-sm {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-banner {
    transform: none;
  }
}
