/* ============================================================
   Useless Inu ($UI) — stylesheet
   ============================================================ */

:root {
  --amber:        #e9a621;
  --amber-light:  #f5c451;
  --amber-deep:   #c07d12;
  --cream:        #fdf6e6;
  --cream-2:      #f8ecd3;
  --ink:          #3b2a10;
  --ink-soft:     #6b5433;
  --white:        #fffdf7;
  --line:         rgba(59, 42, 16, .13);
  --shadow-sm:    0 2px 10px rgba(93, 63, 12, .08);
  --shadow-md:    0 10px 30px rgba(93, 63, 12, .12);
  --shadow-lg:    0 24px 60px rgba(93, 63, 12, .18);
  --radius:       20px;
  --radius-sm:    12px;
  --max:          1180px;
  --font-head:    'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -.01em;
}

a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* decorative background */
.paw-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 500px at 12% -5%, rgba(233,166,33,.20), transparent 65%),
    radial-gradient(600px 480px at 92% 8%, rgba(245,196,81,.20), transparent 65%),
    radial-gradient(700px 600px at 50% 105%, rgba(233,166,33,.14), transparent 70%);
}
body > *:not(.paw-field) { position: relative; z-index: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 20px; font-size: .94rem; }

.btn-primary {
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  color: #4a3208;
  box-shadow: 0 6px 0 var(--amber-deep), var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--amber-deep), var(--shadow-lg); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--amber-deep); }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--amber); box-shadow: var(--shadow-md); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(253, 246, 230, .78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(93, 63, 12, .07);
  background: rgba(253, 246, 230, .92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  box-shadow: var(--shadow-sm);
}
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.brand-accent { color: var(--amber-deep); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--amber-deep); }
.nav-links .nav-cta { color: #4a3208; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--ink); border-radius: 2px; margin: 5px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 70px 0 90px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #35b36a;
  box-shadow: 0 0 0 4px rgba(53,179,106,.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero-title {
  font-size: clamp(3rem, 8vw, 5.4rem);
  margin: 22px 0 6px;
  letter-spacing: -.03em;
}
.title-inu {
  color: var(--amber-deep);
  text-shadow: 3px 3px 0 rgba(233,166,33,.28);
}
.hero-tick { font-size: 1rem; color: var(--ink-soft); margin: 0 0 18px; }
.hero-tick strong { color: var(--ink); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 30px;
}
.hero-sub strong { color: var(--ink); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

/* CA box */
.ca-box {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.ca-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.ca-row { display: flex; align-items: center; gap: 12px; }
.ca-row code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .88rem;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  overflow-x: auto;
  white-space: nowrap;
  color: var(--ink);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  background: var(--amber);
  color: #4a3208;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  cursor: pointer;
  transition: background .18s ease, transform .15s ease;
}
.copy-btn:hover { background: var(--amber-light); transform: translateY(-1px); }
.copy-btn.copied { background: #35b36a; color: #fff; }

/* socials */
.socials { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 500;
  font-size: .93rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, color .18s ease, border-color .18s ease;
}
.social:hover { transform: translateY(-2px); color: var(--amber-deep); border-color: var(--amber); }

/* hero art */
.hero-art { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle, rgba(233,166,33,.45), transparent 68%);
  filter: blur(38px);
  z-index: 0;
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: min(420px, 82vw);
  border-radius: 50%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  animation: float 6.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50%      { transform: translateY(-16px) rotate(1.2deg); }
}

.zzz {
  position: absolute;
  z-index: 2;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--amber-deep);
  opacity: 0;
  animation: zfloat 4.5s ease-in-out infinite;
}
.z1 { top: 12%; right: 6%;  font-size: 1.5rem; animation-delay: 0s; }
.z2 { top: 4%;  right: 16%; font-size: 2.1rem; animation-delay: .9s; }
.z3 { top: -4%; right: 27%; font-size: 2.8rem; animation-delay: 1.8s; }
@keyframes zfloat {
  0%   { opacity: 0; transform: translate(0,10px) rotate(-8deg); }
  25%  { opacity: .85; }
  100% { opacity: 0; transform: translate(-26px,-60px) rotate(12deg); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 0;
  overflow: hidden;
  transform: rotate(-1deg) scale(1.03);
  margin: 10px 0 60px;
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: scroll 26s linear infinite;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .06em;
}
.marquee-track span:nth-child(even) { color: var(--amber); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 84px 0; }
.section-alt { background: var(--cream-2); }

.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--amber-deep);
  background: rgba(233,166,33,.15);
  border-radius: 999px;
  padding: 5px 15px;
  margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
.sec-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 14px 0 0; }

/* ============================================================
   STORY
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 44px;
  align-items: start;
}
.story-text p { font-size: 1.06rem; color: var(--ink-soft); margin: 0 0 18px; }
.story-text strong { color: var(--ink); }
.story-punch {
  background: var(--white);
  border-left: 5px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  margin-top: 26px !important;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
.story-card > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.story-card-body { padding: 22px; }
.story-card-body h3 { font-size: 1.3rem; margin-bottom: 14px; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .93rem;
}
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--ink-soft); }

/* ============================================================
   UTILITY
   ============================================================ */
.util-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.util {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.04rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.util:hover { transform: translateY(-3px); }
.util.strike { color: #a08a63; text-decoration: line-through; text-decoration-thickness: 2px; }
.util.keep {
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  border-color: var(--amber-deep);
  color: #4a3208;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.keep-tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 3px 10px;
}
.util-note {
  text-align: center;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ============================================================
   TOKENOMICS
   ============================================================ */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 20px;
}
.tcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tnum {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--amber-deep);
  line-height: 1;
  margin-bottom: 12px;
}
.tcard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.tcard p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.token-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 4px;
  margin-top: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.token-strip > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 10px;
  border-radius: var(--radius-sm);
}
.token-strip > div:hover { background: var(--cream-2); }
.token-strip span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  font-weight: 600;
}
.token-strip strong { font-family: var(--font-head); font-size: 1.06rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.snum {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  color: #4a3208;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 0 var(--amber-deep);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   ROADMAP
   ============================================================ */
.road { max-width: 760px; margin: 0 auto; position: relative; }
.road::before {
  content: '';
  position: absolute;
  left: 13px; top: 12px; bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--amber), rgba(233,166,33,.2));
  border-radius: 2px;
}
.ritem { display: flex; gap: 24px; padding-bottom: 30px; position: relative; }
.ritem:last-child { padding-bottom: 0; }
.rdot {
  flex: 0 0 auto;
  width: 29px; height: 29px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid rgba(233,166,33,.4);
  position: relative;
  z-index: 1;
  margin-top: 4px;
}
.ritem.done .rdot { background: var(--amber); border-color: var(--amber-deep); }
.ritem.done .rdot::after {
  content: '';
  position: absolute;
  left: 8px; top: 4px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.ritem.active .rdot {
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 0 0 6px rgba(233,166,33,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.rbody {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
  box-shadow: var(--shadow-sm);
}
.rphase {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--amber-deep);
  margin-bottom: 6px;
}
.rbody h3 { font-size: 1.15rem; margin-bottom: 6px; }
.rbody p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--amber); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 30px 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.03rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--amber-deep);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: .96rem;
}

/* ============================================================
   JOIN
   ============================================================ */
.join {
  padding: 84px 0;
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  color: #402b06;
  text-align: center;
}
.join-inner { max-width: 640px; }
.join-logo {
  width: 118px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-md);
  animation: float 6.5s ease-in-out infinite;
}
.join h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }
.join > .wrap > p { font-size: 1.06rem; margin: 0 0 28px; color: rgba(64,43,6,.82); }
.join .btn-ghost { background: var(--white); }
.join-note { font-size: .87rem; margin-top: 20px !important; color: rgba(64,43,6,.7) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding: 52px 0 30px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(253,246,230,.14);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--amber); }
.footer-brand strong { display: block; font-family: var(--font-head); font-size: 1.06rem; }
.footer-brand span { font-size: .88rem; opacity: .68; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  text-decoration: none;
  font-size: .92rem;
  opacity: .75;
  transition: opacity .18s ease, color .18s ease;
}
.footer-links a:hover { opacity: 1; color: var(--amber-light); }

.disclaimer { padding-top: 24px; }
.disclaimer p { font-size: .8rem; line-height: 1.7; opacity: .6; margin: 0 0 12px; max-width: 900px; }
.disclaimer strong { opacity: 1; color: var(--amber-light); }
.copy { opacity: .45 !important; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .cta-row { justify-content: center; }
  .ca-box { width: 100%; }
  .hero-art { order: -1; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { position: static; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 22px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 16px; border-bottom: 0; justify-content: center; }
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }
  .hero { padding: 46px 0 66px; }
  .wrap { padding: 0 18px; }
  .ca-row { flex-direction: column; align-items: stretch; }
  .ca-row code { white-space: normal; word-break: break-all; text-align: center; }
  .copy-btn { justify-content: center; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; width: 100%; max-width: 340px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .road::before { left: 13px; }
  .ritem { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
