:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #2a3342;
  --text-muted: #5f6b7a;
  --soft-blue: #dceeff;
  --mint: #dff6ec;
  --beige: #fff3e6;
  --yellow: #fff9cc;
  --accent: #6e8df1; /* soft blue accent */
  --accent-2: #49c49c; /* mint accent */
  --shadow: 0 10px 30px rgba(18, 38, 63, 0.12);
  --radius: 16px;
  --radius-lg: 20px;
  --header-h: 72px; /* updated via JS too */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-text { letter-spacing: 0.3px; font-size: 1.05rem; }
.brand-mark svg { filter: drop-shadow(0 3px 8px rgba(110, 141, 241, 0.25)); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.9;
}
.nav a:hover { opacity: 1; color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle .bar {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: transform 200ms ease;
}

@media (max-width: 860px) {
  .nav { position: fixed; inset: calc(var(--header-h) + 8px) 16px auto 16px; background: var(--surface);
    padding: 20px; border-radius: 14px; box-shadow: var(--shadow); flex-direction: column; gap: 12px; display: none; }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eaf3ff 0%, #ffffff 40%);
  overflow: hidden;
}
.hero::before {
  /* soft dotted pattern overlay */
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 10px 10px, rgba(110,141,241,0.12) 2px, transparent 2px),
    radial-gradient(circle at 40px 40px, rgba(73,196,156,0.10) 2px, transparent 2px);
  background-size: 60px 60px, 90px 90px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
}
.hero-inner {
  display: grid; gap: 28px; align-items: center; justify-items: center; text-align: center;
  padding: 56px 0 40px;
}
.mascot { width: min(260px, 70vw); aspect-ratio: 1/1; filter: drop-shadow(0 20px 40px rgba(18,38,63,0.18)); }
.doggo { border-radius: 40px; background: linear-gradient(145deg, var(--soft-blue), var(--mint)); padding: 10px; }

.hero h1 {
  font-size: clamp(1.6rem, 2.2rem + 1.5vw, 3rem);
  line-height: 1.15; margin: 8px 0 10px;
}
.hero p { max-width: 720px; margin: 0 auto; color: var(--text-muted); }
.accent { color: var(--accent); }

.scroll-indicator { margin-top: 20px; display: inline-flex; flex-direction: column; align-items: center; color: var(--text-muted); }
.scroll-indicator .arrow {
  width: 22px; height: 22px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }

/* Token Info */
.token { padding: 72px 0; }
.token h2 { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); margin-bottom: 22px; text-align: center; }
.token-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1000px) { .token-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .token-grid { grid-template-columns: repeat(2, 1fr); } }
.info-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius);
  padding: 18px 16px; box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18,38,63,0.14); }
.label { font-size: 0.82rem; color: var(--text-muted); }
.value { font-weight: 700; margin-top: 4px; }
.subtle { color: var(--text-muted); }
.center { text-align: center; margin-top: 16px; }

/* NFTs */
.nfts { padding: 78px 0; background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); }
.nfts h2 { text-align: center; margin: 0 0 8px; }
.nfts .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 26px; }
.nft-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .nft-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 740px) { .nft-grid { grid-template-columns: repeat(2, 1fr); } }
.nft-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.nft-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 40px rgba(18,38,63,0.16); }
.nft-card.alt .nft-media { background: linear-gradient(145deg, var(--beige), var(--yellow)); }
.nft-media {
  position: relative; aspect-ratio: 4/3; background: linear-gradient(145deg, var(--soft-blue), var(--mint));
}
.nft-caption { padding: 12px 14px; font-weight: 600; color: var(--text); text-align: center; }

/* Decorative bubbles */
.bubble { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.26; }
.b1 { width: 80px; height: 80px; background: var(--accent); top: 14%; left: 10%; }
.b2 { width: 60px; height: 60px; background: var(--accent-2); bottom: 18%; right: 14%; }
.b3 { width: 36px; height: 36px; background: #ffcf66; top: 22%; right: 22%; }

/* Tiny blocky dog (CSS only) */
.nft-dog { position: absolute; inset: 0; display: grid; place-items: center; }
.nft-dog .face { width: 88px; height: 72px; background: #ffe5bf; border: 2px solid #f3cfa2; border-radius: 16px; position: relative; }
.nft-dog .ear { width: 28px; height: 28px; background: #f5cda2; position: absolute; top: calc(50% - 42px); border-radius: 8px; }
.nft-dog .ear.left { left: calc(50% - 60px); transform: rotate(-10deg); }
.nft-dog .ear.right { right: calc(50% - 60px); transform: rotate(10deg); }
.nft-dog .eye { width: 8px; height: 8px; background: #2a3342; border-radius: 50%; position: absolute; top: calc(50% - 6px); }
.nft-dog .eye.left { left: calc(50% - 16px); }
.nft-dog .eye.right { left: calc(50% + 8px); }
.nft-dog .nose { width: 10px; height: 10px; background: #2a3342; border-radius: 50%; position: absolute; top: calc(50% + 6px); left: calc(50% - 5px); box-shadow: 0 7px 0 -4px #2a3342; }

/* Disclaimer */
.disclaimer { padding: 74px 0; }
.disclaimer h2 { text-align: center; margin-bottom: 16px; }
.disclaimer-box {
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius);
  padding: 24px; margin: 0 auto; max-width: 820px; color: var(--text);
  box-shadow: var(--shadow);
}
.disclaimer-box p { margin: 10px 0; color: var(--text-muted); }

/* Footer */
.site-footer { background: #f2f4f7; border-top: 1px solid rgba(0,0,0,0.06); }
.footer-inner { padding: 22px 0; display: grid; gap: 6px; place-items: center; text-align: center; }
.footer-inner .social { color: var(--text-muted); }
.footer-inner a { color: var(--accent); font-weight: 600; }
.footer-inner a:hover { text-decoration: underline; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 60ms; }
.reveal:nth-child(2) { transition-delay: 120ms; }
.reveal:nth-child(3) { transition-delay: 180ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-indicator .arrow { animation: none; }
  .reveal, .reveal.visible { transform: none; transition: none; }
}