:root {
  --black: #050706;
  --near-black: #0a0d0b;
  --panel: #0f1512;
  --panel-2: #131a16;
  --line: #223028;
  --green: #00c805;
  --green-deep: #00a304;
  --green-bright: #4dff5c;
  --gold: #ffcf3d;
  --white: #f4fbf5;
  --muted: #93a89b;
  --cut: 18px;
  --cut-sm: 10px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, .brand-name, .btn, .pill, .ticker, .stat-value, .embed-card-kicker {
  font-family: 'Archivo Black', 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Texture + corner accents echoing the original starburst palette */
.grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 600px at 85% -5%, rgba(0, 200, 5, 0.16), transparent 55%),
    radial-gradient(700px 500px at 5% 15%, rgba(0, 200, 5, 0.08), transparent 60%),
    linear-gradient(180deg, #030403 0%, #060807 50%, #030403 100%);
}

.corner-slice {
  position: fixed;
  width: 340px;
  height: 340px;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
  filter: blur(0.5px);
}

.corner-slice--tl {
  top: -140px;
  left: -140px;
  background: conic-gradient(from 90deg at 0% 0%,
    #ff7a1a 0deg 45deg, #00c805 45deg 90deg, #1fb5a4 90deg 135deg,
    #7a4dff 135deg 180deg, #d13b5e 180deg 225deg, #c9a15a 225deg 270deg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.14;
}

.corner-slice--br {
  bottom: -140px;
  right: -140px;
  background: conic-gradient(from 270deg at 100% 100%,
    #ff7a1a 0deg 45deg, #00c805 45deg 90deg, #1fb5a4 90deg 135deg,
    #7a4dff 135deg 180deg, #d13b5e 180deg 225deg, #c9a15a 225deg 270deg);
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
  opacity: 0.1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 6, 0.82);
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1rem;
  white-space: nowrap;
}

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%);
  background: var(--green);
  padding: 2px;
  display: block;
}

.brand-logo-wrap--sm { width: 38px; height: 38px; }

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%);
}

.ticker { color: var(--green-bright); }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a { position: relative; padding-bottom: 4px; transition: 0.2s; }
.nav-links a:hover { color: var(--green-bright); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--white);
  transition: 0.2s;
}

.icon-btn:hover {
  color: #04170a;
  background: var(--green);
  border-color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #04170a;
  box-shadow: 0 10px 30px rgba(0, 200, 5, 0.35);
}

.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 14px 36px rgba(0, 200, 5, 0.5); }

.btn-ghost {
  background: var(--panel);
  color: var(--white);
  border: 1px solid var(--line);
}

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

.btn-lg { padding: 17px 34px; font-size: 0.95rem; }

/* Hero */
.hero {
  position: relative;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: clamp(280px, 46vw, 560px);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-banner-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,6,0.15) 0%, rgba(5,7,6,0.55) 55%, var(--black) 96%),
    linear-gradient(90deg, rgba(5,7,6,0.75) 0%, rgba(5,7,6,0.05) 45%);
}

.hero-inner {
  margin-top: -220px;
  position: relative;
  padding-bottom: 70px;
}

.hero-text { max-width: 640px; }

.pill {
  display: inline-block;
  padding: 8px 18px 8px 16px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  background: rgba(0, 200, 5, 0.14);
  border: 1px solid rgba(0, 200, 5, 0.5);
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.98;
  margin: 0 0 20px;
  font-weight: 900;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.hero h1 .accent { color: var(--green-bright); }

.bio {
  font-size: 1.25rem;
  color: var(--white);
  opacity: 0.85;
  max-width: 480px;
  margin: 0 0 24px;
  font-weight: 500;
}

.chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.chain-badge .dot {
  width: 9px;
  height: 9px;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright);
}

.chain-badge strong { color: var(--green-bright); }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 12px 12px 12px 20px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, calc(100% - 14px) 100%, 0 100%, 0 14px);
  max-width: 100%;
}

.ca-box-center { margin: 40px auto 0; display: inline-flex; }
.section .ca-box-center { display: flex; justify-content: center; width: fit-content; margin-left: auto; margin-right: auto; }

.ca-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 800;
}

.ca-box code {
  font-family: 'Space Grotesk', monospace;
  color: var(--green-bright);
  font-size: 0.95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.copy-btn {
  background: var(--green);
  color: #04170a;
  border: none;
  padding: 9px 18px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: 0.15s;
}

.copy-btn:hover { background: var(--green-bright); }
.copy-btn.copied { background: var(--gold); color: #241a04; }

/* Marquee */
.marquee {
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  background:
    repeating-linear-gradient(-45deg, rgba(0,200,5,0.06) 0 14px, transparent 14px 28px),
    var(--near-black);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  animation: scroll 28s linear infinite;
  font-weight: 800;
  color: var(--green-bright);
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.dot-sep { color: var(--gold); font-size: 0.6rem; }

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

/* Sections */
.section { padding: 90px 0; position: relative; }

.section.alt {
  background: var(--near-black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin: 0 0 10px;
  text-align: center;
  font-weight: 900;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 46px;
  max-width: 520px;
  font-size: 1.02rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  padding: 32px 28px;
  transition: 0.2s;
}

.card:hover { border-color: var(--green); transform: translateY(-3px); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}

.stat-card { text-align: center; }

.stat-card--accent {
  background: linear-gradient(160deg, rgba(0,200,5,0.14), var(--panel) 60%);
  border-color: rgba(0,200,5,0.4);
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--green-bright);
  margin-bottom: 10px;
}

.stat-label { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

.about-copy {
  max-width: 740px;
  text-align: center;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.08rem;
}

.about-copy strong { color: var(--green-bright); }

.bio-repeat {
  color: var(--green-bright) !important;
  font-weight: 700;
  font-size: 1.2rem !important;
  margin-top: 20px;
}

/* Embed card (Know Your Meme) */
.embed-card {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  padding: 38px;
  max-width: 740px;
  margin: 0 auto;
}

.embed-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #04170a;
}

.embed-card-kicker {
  font-size: 0.72rem;
  color: var(--green-bright);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.embed-card h3 {
  margin: 6px 0 12px;
  font-size: 1.4rem;
  text-transform: none;
}

.embed-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
  text-transform: none;
  font-weight: 500;
}

.embed-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-bright);
  font-weight: 800;
  font-size: 0.82rem;
  border-bottom: 2px solid transparent;
  transition: 0.15s;
}

.embed-card-link:hover { border-color: var(--green-bright); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card { position: relative; }

.step-card--accent {
  background: linear-gradient(160deg, rgba(0,200,5,0.14), var(--panel) 60%);
  border-color: rgba(0,200,5,0.4);
}

.step-num {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green-bright);
  margin-bottom: 18px;
  -webkit-text-stroke: 1px rgba(0,200,5,0.4);
}

.step-card h3 { margin: 0 0 10px; font-size: 1.05rem; text-transform: uppercase; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; text-transform: none; font-weight: 500; }

/* Community */
.community-inner { text-align: center; }

.community-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: 32px 46px;
  min-width: 190px;
  transition: 0.2s;
  color: var(--green-bright);
}

.community-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,200,5,0.22);
}

.community-card span { font-weight: 800; font-size: 0.85rem; letter-spacing: 0.03em; }
.community-card small { color: var(--muted); font-weight: 500; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 46px 0;
  background: var(--near-black);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-brand { justify-content: center; font-weight: 900; font-size: 0.95rem; }

.disclaimer {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
  text-transform: none;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

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

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { margin-top: -160px; }
  .about-grid, .steps-grid { grid-template-columns: 1fr; }
  .embed-card { flex-direction: column; }
  .corner-slice { width: 220px; height: 220px; }
}

@media (max-width: 560px) {
  .hero-inner { margin-top: -110px; }
  .ca-box { flex-wrap: wrap; }
}
