/* Baby Potter Meme — responsive single-page site (nav-only sticky) */
:root{
  --bg:#0c0f14; --card:#121620; --text:#e8ecf1; --muted:#9aa6b2;
  --primary:#6ea8fe; --accent:#b692f6; --glow:0 0 50px rgba(110,168,254,.25);
}

*{box-sizing:border-box}
body{
  margin:0; font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(182,146,246,.15), transparent),
    radial-gradient(1000px 500px at 110% 10%, rgba(110,168,254,.12), transparent),
    var(--bg);
  color:var(--text); line-height:1.65;
}
.container{width:min(1100px,92%); margin:0 auto}

/* Header / Nav */
.site-header{
  position: relative; /* only nav is sticky */
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,15,20,.9), rgba(12,15,20,.35) 70%, transparent);
}
.site-header .nav{
  position: sticky;     /* ✅ slim bar sticks */
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(12,15,20,.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:space-between;
}
.brand{color:var(--text); font-weight:700; text-decoration:none; letter-spacing:.2px}

.nav-links{display:flex; gap:18px}
.nav-links a{color:var(--muted); text-decoration:none}
.nav-links a:hover{color:var(--text)}

.hamburger{display:none; width:42px; height:36px; background:transparent; border:1px solid rgba(255,255,255,.15); border-radius:10px; align-items:center; justify-content:center; gap:4px; cursor:pointer}
.hamburger span{display:block; width:20px; height:2px; background:var(--text)}

/* Hero (not sticky) */
.hero{display:grid; grid-template-columns:1.2fr .8fr; gap:28px; padding:24px 0 8px; align-items:center}
.hero-text h1{font-size:clamp(32px,5vw,52px); line-height:1.05; margin:6px 0 10px}
.ticker{color:var(--accent); text-shadow:var(--glow)}
.lead{color:var(--muted); font-size:18px; margin-bottom:18px}
.badges{display:flex; gap:10px}
.badge{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); padding:6px 10px; border-radius:999px; font-weight:600; font-size:12px}
.badge.accent{background:linear-gradient(135deg,var(--primary),var(--accent)); color:#0b1020; border:none}
.cta-row{display:flex; gap:12px; margin:12px 0 8px; flex-wrap:wrap}  /* wrap buttons */
.btn{display:inline-block; padding:12px 18px; border-radius:14px; text-decoration:none; font-weight:600; flex:0 0 auto}
.btn.primary{background:linear-gradient(135deg,var(--primary),var(--accent)); color:#0b1020}
.btn.ghost{border:1px solid rgba(255,255,255,.12); color:var(--text)}
.btn:hover{transform:translateY(-1px)}

.contract{display:flex; align-items:center; gap:10px; margin-top:12px; background:rgba(255,255,255,.04); padding:8px 10px; border-radius:12px; width:fit-content}
.contract code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:var(--muted); overflow-wrap:anywhere} /* long mint wraps */
.copy{background:transparent; border:1px solid rgba(255,255,255,.15); color:var(--text); padding:6px 10px; border-radius:10px; cursor:pointer}
.copy-status{margin-left:8px; font-weight:600; color:var(--accent); opacity:0; transition:opacity .2s ease-in-out; pointer-events:none}
.copy-status.show{opacity:1}

.hero-art{text-align:center}
.hero-art img{width:200px; height:200px; filter:drop-shadow(var(--glow)); opacity:.95}

/* Sections */
.section{padding:48px 0; scroll-margin-top:96px}  /* ✅ anchors not hidden by sticky nav */
.section.alt{background:rgba(255,255,255,.03); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06)}
.grid-2{display:grid; grid-template-columns:1.2fr .8fr; gap:24px; align-items:start}

.cards{display:grid; grid-template-columns:repeat(4, 1fr); gap:16px}
.card{background:var(--card); border:1px solid rgba(255,255,255,.06); padding:18px; border-radius:16px; box-shadow:0 10px 40px rgba(0,0,0,.25)}
.card h3{margin-top:0}

.facts .card p{margin:.25rem 0}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.small{font-size:12px}
.muted{color:var(--muted)}

.steps{padding-left:18px}
.bullets{padding-left:18px}
.links{list-style:none; padding-left:0; margin:0}
.links a{color:var(--primary); text-decoration:none}
.links a:hover{text-decoration:underline}

.timeline{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.milestone{background:var(--card); border:1px dashed rgba(255,255,255,.12); padding:16px; border-radius:16px}

/* Footer */
.footer{padding:28px 0 40px; color:var(--muted); text-align:center; border-top:1px solid rgba(255,255,255,.06); margin-top:32px}

/* Responsive */
@media (max-width: 980px){
  .hero, .grid-2{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .timeline{grid-template-columns:1fr}
  .hamburger{display:flex}
  .nav-links{
    position:absolute; right:4%; top:64px;
    background:rgba(18,22,32,.98); border:1px solid rgba(255,255,255,.08);
    padding:12px; border-radius:14px; display:none; flex-direction:column; gap:10px; width:min(260px,92%)
  }
  .nav-links.open{display:flex}
}

@media (max-width: 540px){
  .cards{grid-template-columns:1fr}
  .hero{gap:16px; padding-top:16px}
  .lead{font-size:16px}
  .hero-art img{width:150px; height:150px}
}
