:root {
  --ink: #0a0f14;
  --ink-2: #101820;
  --paper: #f7f7ef;
  --muted: #a7b0b7;
  --yellow: #ffd900;
  --blue: #0797f6;
  --green: #18f00c;
  --pink: #ffacb3;
  --line: rgba(255,255,255,.16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .045;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.cursor-dot {
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.topbar {
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 0;
  position: sticky;
  top: 14px;
  z-index: 100;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,15,20,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; font-weight: 950; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; color: #d6d9dc; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.nav a:hover { color: var(--yellow); }
.topbar > .button { justify-self: end; }
.menu-btn { display: none; border: 1px solid var(--line); background: transparent; color: #fff; padding: 10px 12px; font-size: 11px; font-weight: 900; }

.section-pad { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.hero {
  min-height: 740px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  padding-top: 74px;
  padding-bottom: 84px;
  position: relative;
}
.hero-grid {
  position: absolute;
  inset: 20px 0 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events:none; }
.orbit-a { width: 380px; height: 380px; left: -210px; top: 210px; }
.orbit-b { width: 520px; height: 520px; right: -280px; bottom: -60px; }

.eyebrow, .section-kicker { font-size: 11px; letter-spacing: .16em; font-weight: 950; color: #c6cbd0; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 20px var(--green); margin-right: 8px; }
.hero h1, .section-head h2, .lore h2, .meme-copy h2, .community h2 {
  margin: 18px 0 0;
  font-weight: 1000;
  letter-spacing: -.075em;
  line-height: .86;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(78px, 9.8vw, 156px); }
.hero h1 span, .lore h2 span, .community h2 span { color: var(--yellow); }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #c5cbd0; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.45; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.2);
  text-decoration: none;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.button-primary:hover { background: #ffe741; }
.button-ghost { background: transparent; color: #fff; }
.button-mini { min-height: 40px; padding: 0 14px; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.is-disabled { opacity: .45; cursor: not-allowed; }

.ca-bar {
  width: min(100%, 700px);
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: #111820;
  border: 1px solid rgba(255,255,255,.15);
  min-height: 62px;
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
}
.ca-label, .ca-copy { font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.ca-label { color: var(--muted); }
.ca-copy { color: var(--yellow); }
.ca-bar code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.micro { color: #78848e; font-size: 11px; line-height: 1.45; max-width: 660px; }

.hero-art { position: relative; min-height: 600px; display: grid; place-items: center; }
.coin-card {
  width: min(100%, 470px);
  min-height: 566px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  padding: 14px;
  background: #0b1118;
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: 0 42px 100px rgba(0,0,0,.34), 0 0 0 10px rgba(255,255,255,.025);
  transform: rotate(1.4deg);
}
.coin-card::before { content:""; position:absolute; inset: 54px 14px; background: radial-gradient(circle at 50% 35%, rgba(7,151,246,.20), transparent 48%), radial-gradient(circle at 52% 78%, rgba(24,240,12,.15), transparent 34%); pointer-events:none; }
.coin-card-top, .coin-card-bottom { display:flex; justify-content:space-between; gap:20px; align-items:center; font-size:10px; font-weight:950; letter-spacing:.12em; color:#bac1c7; position:relative; z-index:2; }
.coin-card-bottom span:first-child { color: var(--yellow); }
.mascot { width: 100%; max-height: 480px; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 28px 35px rgba(0,0,0,.34)); animation: broFloat 4.4s ease-in-out infinite; }
@keyframes broFloat { 0%,100%{transform:translateY(0) rotate(-.8deg)}50%{transform:translateY(-12px) rotate(.8deg)} }
.sticker { position:absolute; z-index:4; width:112px; height:112px; border-radius:50%; display:grid; place-items:center; text-align:center; color:var(--ink); font-size:14px; font-weight:1000; line-height:.9; letter-spacing:-.04em; transform:rotate(-10deg); box-shadow:0 18px 30px rgba(0,0,0,.26); }
.sticker-one { background:var(--green); left:-12px; bottom:58px; }
.sticker-two { background:var(--pink); right:-12px; top:45px; transform:rotate(11deg); }

.ticker { border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); overflow:hidden; background:var(--yellow); color:var(--ink); }
.ticker-track { min-width:max-content; display:flex; gap:44px; padding:14px 0; font-size:13px; font-weight:1000; letter-spacing:.02em; animation:ticker 24s linear infinite; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.lore { padding-top: 130px; padding-bottom: 130px; }
.lore-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:90px; margin-top:24px; }
.lore h2, .section-head h2, .meme-copy h2, .community h2 { font-size:clamp(56px,7vw,105px); }
.lore-copy { align-self:end; }
.lore-copy p, .meme-copy p, .community p { color:#bdc4ca; font-size:18px; line-height:1.65; letter-spacing:-.015em; }
.quote-card { margin-top:28px; padding:24px; border:1px solid var(--line); background:#0f161d; }
.quote-card span { display:block; color:#89939b; font-size:10px; font-weight:950; letter-spacing:.14em; }
.quote-card strong { display:block; margin-top:12px; color:var(--yellow); font-size:clamp(22px,3vw,36px); line-height:1; letter-spacing:-.04em; }

.bro-code { padding-top: 20px; padding-bottom: 130px; }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:42px; }
.section-head h2 { margin:0; max-width:900px; }
.code-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.code-card { min-height:280px; padding:22px; background:#0f161d; border:1px solid var(--line); position:relative; overflow:hidden; }
.code-card::after { content:""; position:absolute; width:130px; height:130px; border-radius:50%; right:-60px; top:-60px; background:var(--yellow); opacity:.05; }
.code-card span { color:var(--yellow); font-size:11px; font-weight:950; letter-spacing:.1em; }
.code-card h3 { font-size:31px; letter-spacing:-.055em; line-height:.92; margin:90px 0 10px; }
.code-card p { color:#9ca7af; line-height:1.5; font-size:14px; }

.meme-lab { padding-top:30px; padding-bottom:130px; }
.meme-lab-grid { display:grid; grid-template-columns:.95fr 1.05fr; gap:80px; align-items:center; margin-top:24px; }
.meme-stage { min-height:580px; display:grid; place-items:center; background:linear-gradient(135deg, rgba(255,217,0,.09), rgba(7,151,246,.07)); border:1px solid var(--line); }
.meme-window { width:min(90%,470px); background:#fff; color:#000; border:10px solid #fff; box-shadow:0 28px 70px rgba(0,0,0,.30); transform:rotate(-1.2deg); }
.meme-window img { width:100%; height:430px; object-fit:contain; background:#0a0f14; display:block; }
.meme-caption { padding:13px 14px; text-align:center; font-size:18px; font-weight:1000; letter-spacing:-.035em; }
.meme-copy .button { margin-top:20px; border:none; }

.token-section { padding-top:30px; padding-bottom:130px; }
.token-grid { display:grid; grid-template-columns:2fr repeat(2,1fr); gap:12px; }
.token-card { min-height:190px; padding:20px; background:#f3f4ee; color:#0a0f14; display:flex; flex-direction:column; justify-content:space-between; border:1px solid rgba(0,0,0,.12); }
.token-card-ca { grid-row:span 2; min-height:392px; background:var(--yellow); }
.token-label { font-size:10px; font-weight:1000; letter-spacing:.13em; opacity:.62; }
.token-card strong { font-size:clamp(30px,4vw,58px); letter-spacing:-.06em; line-height:.9; word-break:break-word; }
.token-ca { font-size:clamp(16px,2vw,30px); line-height:1.25; word-break:break-all; margin:50px 0; }
.token-card .button-primary { background:var(--ink); color:#fff; border-color:var(--ink); align-self:flex-start; }
.token-card-action { background:var(--blue); color:#fff; }
.stack-actions { display:flex; flex-direction:column; gap:6px; }
.text-link { font-size:32px; font-weight:1000; letter-spacing:-.05em; text-decoration:none; }
.text-link:hover { color:var(--yellow); }

.community { padding-top:20px; padding-bottom:120px; }
.community-shell { border:1px solid var(--line); min-height:560px; padding:40px; display:grid; grid-template-columns:.75fr 1.25fr; gap:70px; align-items:center; overflow:hidden; background:radial-gradient(circle at 20% 60%, rgba(24,240,12,.08), transparent 32%), radial-gradient(circle at 80% 30%, rgba(255,217,0,.08), transparent 28%), #0d141b; }
.community-shell img { width:100%; max-height:480px; object-fit:contain; filter:drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.community h2 { margin-top:20px; }
.community p { max-width:720px; }

footer { width:min(calc(100% - 40px),var(--max)); margin:0 auto; padding:34px 0 48px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 1.4fr; gap:50px; color:#8f9aa3; }
.footer-brand { display:grid; grid-template-columns:auto 1fr; column-gap:12px; align-items:center; }
.footer-brand img { width:46px; height:46px; border-radius:12px; grid-row:span 2; }
.footer-brand strong { color:#fff; font-size:15px; }
.footer-brand span { font-size:12px; }
.footer-copy { font-size:11px; line-height:1.55; }
.footer-copy p { margin:0 0 8px; }

.toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); background:var(--green); color:var(--ink); padding:12px 18px; font-size:11px; font-weight:1000; letter-spacing:.1em; opacity:0; pointer-events:none; z-index:1000; transition:.2s ease; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.is-hidden { display:none !important; }
.reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; transition-delay:var(--delay,0ms); }
.reveal.in { opacity:1; transform:none; }

@media (max-width: 980px) {
  .topbar { grid-template-columns:1fr auto; }
  .topbar > .button { display:none; }
  .menu-btn { display:block; justify-self:end; }
  .nav { position:absolute; left:0; right:0; top:calc(100% + 8px); display:none; flex-direction:column; padding:18px; background:#0f161d; border:1px solid var(--line); }
  .nav.open { display:flex; }
  .hero { grid-template-columns:1fr; gap:40px; padding-top:80px; }
  .hero-art { min-height:520px; }
  .coin-card { min-height:520px; }
  .lore-grid, .meme-lab-grid, .community-shell { grid-template-columns:1fr; gap:42px; }
  .code-grid { grid-template-columns:repeat(2,1fr); }
  .token-grid { grid-template-columns:1fr 1fr; }
  .token-card-ca { grid-column:span 2; grid-row:auto; min-height:320px; }
  .section-head { align-items:flex-start; flex-direction:column; }
}

@media (max-width: 640px) {
  .cursor-dot { display:none; }
  .section-pad, footer { width:min(calc(100% - 24px),var(--max)); }
  .topbar { width:calc(100% - 20px); margin-top:10px; top:8px; min-height:58px; }
  .brand span { display:none; }
  .hero { padding-top:54px; padding-bottom:60px; min-height:auto; }
  .hero h1 { font-size:clamp(65px,22vw,100px); }
  .hero-lead { font-size:16px; }
  .ca-bar { grid-template-columns:1fr auto; }
  .ca-label { grid-column:1 / -1; }
  .hero-art { min-height:470px; }
  .coin-card { min-height:470px; }
  .mascot { max-height:390px; }
  .sticker { width:90px; height:90px; font-size:12px; }
  .sticker-one { left:-4px; bottom:30px; }
  .sticker-two { right:-4px; top:34px; }
  .lore, .bro-code, .meme-lab, .token-section { padding-bottom:90px; }
  .lore { padding-top:90px; }
  .lore h2, .section-head h2, .meme-copy h2, .community h2 { font-size:clamp(48px,16vw,78px); }
  .lore-grid { gap:30px; }
  .code-grid { grid-template-columns:1fr; }
  .code-card { min-height:220px; }
  .code-card h3 { margin-top:55px; }
  .meme-stage { min-height:470px; }
  .meme-window img { height:340px; }
  .token-grid { grid-template-columns:1fr; }
  .token-card-ca { grid-column:auto; min-height:300px; }
  .community-shell { padding:24px; }
  footer { grid-template-columns:1fr; gap:24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.001ms !important; }
}
