/* ============================================================
   BlackCate — $BLACKCATE
   ============================================================ */

:root {
  --ink:      #0a0a0b;
  --ink-2:    #101013;
  --ink-3:    #16161a;
  --line:     rgba(245, 231, 198, .12);
  --line-2:   rgba(245, 231, 198, .22);
  --cream:    #f5e7c6;
  --cream-dim: #cfc3a6;
  --muted:    #8e8b84;
  --gold:     #e0a80d;
  --gold-2:   #ffd45e;
  --gold-deep:#a97a05;

  --shell: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --f-display: "Anton", "Arial Black", Impact, sans-serif;
  --f-body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #120d00; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* film grain ------------------------------------------------ */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* layout ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: 820px; }

.section { padding: 104px 0; position: relative; }
.section[id], .hero[id] { scroll-margin-top: 86px; }
.section--alt {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-block: 1px solid var(--line);
}

/* typography ------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: .01em;
  margin: 0;
  line-height: .98;
  text-transform: uppercase;
}

.gold { color: var(--gold); }

.label {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 700;
}

.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(34px, 5.2vw, 58px); }
.sec-head .sub { margin: 18px 0 0; color: var(--muted); font-size: 17px; }

/* buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #170f00;
  box-shadow: 0 10px 30px -12px rgba(224, 168, 13, .8);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(224, 168, 13, .95); }
.btn--ghost { border-color: var(--line-2); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { transform: translateY(-2px); background: #000; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 18px 38px; font-size: 17px; }

/* nav ------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.brand img { width: 40px; height: 40px; }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 15px;
  color: var(--cream-dim);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--cream);
  margin: 3px auto;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* hero ------------------------------------------------------ */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(224, 168, 13, .22), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 231, 198, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 198, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: rgba(245, 231, 198, .03);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(224, 168, 13, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(224, 168, 13, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 168, 13, 0); }
}

.hero h1 {
  font-size: clamp(64px, 11.5vw, 148px);
  line-height: .86;
  letter-spacing: -.01em;
  margin-bottom: 26px;
}
.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--cream-dim);
  max-width: 34em;
  margin: 0 0 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  list-style: none;
  padding: 30px 0 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts strong {
  font-family: var(--f-display);
  font-size: 21px;
  color: var(--cream);
  letter-spacing: .02em;
}
.hero__facts span {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* coin ------------------------------------------------------ */
.hero__coin { display: grid; place-items: center; }
.coin {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite;
}
.coin img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, .75))
          drop-shadow(0 0 60px rgba(224, 168, 13, .35));
  transition: transform .5s var(--ease);
}
.coin:hover img { transform: scale(1.03) rotate(2deg); }
.coin__ring {
  position: absolute;
  inset: -6%;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.coin__ring::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}
.coin__ring--2 {
  inset: -16%;
  border-style: dashed;
  border-color: rgba(245, 231, 198, .09);
  animation-duration: 44s;
  animation-direction: reverse;
}
.coin__ring--2::before { display: none; }

@keyframes float {
  0%, 100% { transform: translateY(-10px); }
  50%      { transform: translateY(10px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}
.scroll-hint span { animation: bob 2.2s ease-in-out infinite; display: block; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ticker ---------------------------------------------------- */
.ticker {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(224, 168, 13, .07), rgba(224, 168, 13, .02));
  overflow: hidden;
  padding: 16px 0;
}
.ticker__track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: slide 34s linear infinite;
  font-family: var(--f-display);
  font-size: 19px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.ticker .sep { color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* story ----------------------------------------------------- */
.chapters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.chapter {
  background: var(--ink);
  padding: 44px 38px;
  position: relative;
  transition: background .35s var(--ease);
}
.chapter:hover { background: var(--ink-3); }
.chapter__num {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.chapter h3 { font-size: 27px; margin-bottom: 14px; }
.chapter p { margin: 0; color: var(--cream-dim); }
.chapter em { color: var(--cream); font-style: italic; }
.chapter strong { color: var(--gold); font-weight: 700; }

/* nine lives ------------------------------------------------ */
.lives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.life {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: rgba(245, 231, 198, .015);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.life:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  background: rgba(224, 168, 13, .05);
}
.life__n {
  font-family: var(--f-display);
  font-size: 34px;
  color: var(--gold-deep);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
  transition: color .35s var(--ease);
}
.life:hover .life__n { color: var(--gold); }
.life h3 { font-size: 20px; margin-bottom: 8px; }
.life p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* tokenomics ------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: linear-gradient(180deg, rgba(245, 231, 198, .035), transparent);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.stat:hover { border-color: var(--line-2); transform: translateY(-4px); }
.stat__k {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.stat__v {
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.stat p { margin: 0; font-size: 15px; color: var(--cream-dim); }

.fineprint {
  margin: 34px 0 0;
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  background: rgba(224, 168, 13, .05);
  border-radius: 0 12px 12px 0;
  color: var(--cream-dim);
  font-size: 15.5px;
}

/* steps ----------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  counter-reset: s;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  background: var(--ink);
  position: relative;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.step:hover { border-color: var(--gold); transform: translateY(-4px); }
.step__n {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); }
.step strong { color: var(--cream); }

.buy-cta {
  margin-top: 44px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.buy-cta p { margin: 0; font-size: 14px; color: var(--muted); max-width: 46ch; }

/* faq ------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(245, 231, 198, .015);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq details[open] { border-color: var(--line-2); background: rgba(224, 168, 13, .04); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--gold);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 22px; }
.faq details p { margin: 0; color: var(--cream-dim); font-size: 15.5px; }

/* band ------------------------------------------------------ */
.band {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-2));
  color: #170f00;
  padding: 54px 0;
}
.band__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}
.band img {
  width: 96px; height: 96px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .3));
}
.band__text { margin-right: auto; }
.band h2 { color: #170f00; font-size: clamp(28px, 4vw, 42px); }
.band p { margin: 8px 0 0; color: rgba(23, 15, 0, .72); font-weight: 500; }

/* footer ---------------------------------------------------- */
.footer { padding: 66px 0 42px; border-top: 1px solid var(--line); }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 13px; }
.footer__brand strong {
  display: block;
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.footer__brand span { font-size: 13px; color: var(--muted); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--gold); }
.footer__note {
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: #6e6b65;
  max-width: 78ch;
}
.footer__copy { margin: 22px 0 0; font-size: 13px; color: #56534e; }

/* reveal ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* responsive ------------------------------------------------ */
@media (max-width: 1000px) {
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 11, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links a::after { display: none; }
  .burger { display: grid; }

  .hero { padding-top: 124px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__coin { order: -1; }
  .coin { width: min(100%, 330px); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .lives { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .sec-head { margin-bottom: 38px; }
  .chapters { grid-template-columns: 1fr; }
  .chapter { padding: 34px 26px; }
  .lives, .steps, .stats { grid-template-columns: 1fr; }
  .hero { padding: 108px 0 64px; }
  .coin { width: min(78%, 280px); }
  .hero__facts { gap: 26px; }
  .band__inner { justify-content: flex-start; }
  .band__text { margin-right: 0; }
  .scroll-hint { display: none; }
  .ticker__track { font-size: 16px; }
  .nav .btn--sm { display: none; }
}

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