/* ===========================================================
   LightVessel — Zohar Token landing page
   Deep black + gold. Sacred, ancient, technologically advanced.
   =========================================================== */

:root {
  --bg:        #0a0a0f;
  --bg-2:      #11111a;
  --bg-card:   #14141f;
  --gold:      #B8860B;
  --gold-lt:   #FFD700;
  --gold-soft: #e7c66b;
  --ink:       #ece8df;
  --ink-dim:   #9a948a;
  --line:      rgba(184,134,11,0.28);
  --serif:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --heb:       'Frank Ruhl Libre', 'Cormorant Garamond', serif;
  --maxw:      1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle starfield-ish gradient wash behind everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(184,134,11,0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 110%, rgba(255,215,0,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

a { color: var(--gold-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }

.gold { color: var(--gold-lt); }
.muted { color: var(--ink-dim); font-weight: 300; }
.heb { font-family: var(--heb); }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-align: center;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 2.5rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

main > section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
  border-bottom: 1px solid rgba(184,134,11,0.10);
}

/* ===================== 1. HERO ===================== */
/* Fully responsive: full width, height follows the image ratio, text scales. */
.hero {
  width: 100%;
  height: auto;
  position: relative;
  display: block;
}
/* Bottom fade so the banner blends seamlessly into the page background (--bg #0a0a0f). */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, #0a0a0f 100%);
  pointer-events: none;
  z-index: 1;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
/* Left-to-right veil so the gold text stays legible over the artwork. */
.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(10,10,15,0.85) 0%,
    rgba(10,10,15,0.55) 30%,
    rgba(10,10,15,0.12) 52%,
    rgba(10,10,15,0) 66%);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 50%;
  text-align: left;
}
.hero-text h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 64px);
  line-height: 1.1;
  letter-spacing: .03em;
  color: var(--gold-lt);
  text-shadow: 0 2px 22px rgba(0,0,0,0.85), 0 0 36px rgba(255,215,0,0.22);
  margin: 0 0 8px;
}
.hero-text h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 48px);
  line-height: 1.1;
  letter-spacing: .1em;
  color: var(--gold);
  margin: 0 0 40px;
  text-shadow: 0 2px 22px rgba(0,0,0,0.85), 0 0 36px rgba(255,215,0,0.18);
}
.hero-text p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(15px, 2.2vw, 24px);
  letter-spacing: .05em;
  color: var(--gold-lt);
  margin: 32px 0 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.85), 0 0 24px rgba(255,215,0,0.2);
}
/* Mobile (≤480px, incl. 375px): keep hero text readable + inside the banner,
   coin stays fully visible (image uses object-fit: contain). */
@media (max-width: 480px) {
  .hero-text { max-width: 60%; }
  .hero-text h1 { font-size: 19px; line-height: 1.14; margin-bottom: 4px; }
  .hero-text h2 { font-size: 14px; letter-spacing: .06em; margin-bottom: 10px; }
  .hero-text p  { font-size: 13px; margin-top: 10px; }
}

/* ===================== 2. TOKEN ===================== */
.token { text-align: center; }
/* Coin: gentle floating hover (.coin-image) with a soft golden glow pulse */
.token__coin-wrap {
  position: relative;
  width: 400px;
  max-width: 90vw;
  margin: 0 auto 2.2rem;
  aspect-ratio: 1;
  display: inline-block;
}
.token__coin {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;          /* show the whole coin, never cropped */
  border-radius: 50%;           /* clips only the dark square corners */
  animation: coinFloat 4s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
}
@keyframes coinFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
@keyframes glowPulse {
  0%   { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4)); }
  50%  { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
  100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4)); }
}
@media (prefers-reduced-motion: reduce) {
  .token__coin { animation: none; filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5)); }
}
.token__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: .01em;
}
.token__price .sep { color: var(--gold); }
.token__gematria {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  color: var(--ink-dim);
  margin: .5rem 0 2rem;
}
.token__gematria .heb { font-style: normal; color: var(--gold-soft); font-size: 1.2em; }
.token__note { margin-top: 1.4rem; color: #FFFFFF; font-size: .95rem; letter-spacing: .03em; }

/* ===================== buttons ===================== */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: .03em;
  color: #1a1407;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-lt) 45%, var(--gold) 100%);
  border: none;
  padding: 1rem 2.4rem;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(184,134,11,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(255,215,0,0.45); }
.btn:active { transform: translateY(0); }
.btn--dark { color: #0a0a0f; }
/* gold shimmer sweep on hover */
.btn--shimmer::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-20deg);
}
.btn--shimmer:hover::after { animation: shimmer .9s ease; }
@keyframes shimmer { to { left: 130%; } }

/* ===================== 3. WHAT YOU OWN ===================== */
.own__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: .7rem;
  color: var(--ink);
}
.card p { color: var(--ink-dim); font-size: .98rem; }
.card strong { color: var(--gold-soft); font-weight: 500; }
.token-no { color: var(--gold-soft); }

/* ===================== 4. ABOUT ===================== */
.about__lede {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink);
  font-weight: 300;
}
.about__lede em { color: var(--gold-soft); font-style: italic; }
.about__coda {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--gold-soft);
  letter-spacing: .03em;
  margin: 2.2rem auto 0;
}

/* Presale notice (top of Token Details) */
.presale-notice {
  max-width: 40rem;
  margin: 0 auto 2.4rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.06);
  color: var(--gold-lt);
  text-align: center;
  line-height: 1.55;
}
.presale-notice__title {
  margin: 0 0 .45rem;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .04em;
  color: var(--gold);
}
.presale-notice p { margin: 0; font-size: .94rem; }

/* ===================== LANGUAGE TOGGLE (inside nav) ===================== */
.lang-toggle {
  display: flex; gap: .15rem;
  padding: .2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(231, 198, 107, 0.3);
  border-radius: 999px;
}
.lang-btn {
  border: none; background: transparent;
  font-family: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  color: #ffffff;                 /* inactive = white */
  padding: .35rem .6rem; border-radius: 999px;
  cursor: pointer; transition: color .15s ease, background .15s ease;
}
.lang-btn:hover { color: var(--gold-lt); }
.lang-btn.is-active {             /* active = gold */
  color: var(--gold);
  background: rgba(255, 215, 0, 0.12);
}

/* ===================== STICKY NAV ===================== */
body { padding-top: 64px; }
html { scroll-padding-top: 72px; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.3);
}
.nav__logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.nav__logo-img { width: 36px; height: 36px; border-radius: 50%; display: block; }
.nav__brand { font-family: var(--serif); font-weight: 600; letter-spacing: .12em; color: var(--gold-lt); font-size: .98rem; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav__menu a {
  color: #fff; text-decoration: none; font-size: 14px; letter-spacing: .1em;
  opacity: .8; transition: opacity .2s, color .2s;
}
.nav__menu a:hover { opacity: 1; color: #FFD700; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  background: transparent; border: 1px solid #B8860B; color: #FFD700;
  padding: 8px 18px; border-radius: 4px; cursor: pointer;
  font-size: 13px; letter-spacing: .1em; text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: rgba(184, 134, 11, 0.2); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--gold-lt); transition: transform .25s, opacity .25s; }

@media (max-width: 820px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(10, 10, 15, 0.98);
    border-bottom: 1px solid rgba(184, 134, 11, 0.3);
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__menu.is-open { max-height: 60vh; }
  .nav__menu a { width: 100%; padding: 14px clamp(16px, 4vw, 40px); border-top: 1px solid rgba(231,198,107,0.12); }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__brand { display: none; }
  .lang-btn { padding: .3rem .45rem; font-size: .72rem; }
  .nav-cta { padding: 7px 12px; font-size: 12px; }
}

/* ===================== REGISTRATION FORM ===================== */
.reg-form { max-width: 26rem; margin: 0 auto; display: grid; gap: 1rem; text-align: left; }
.reg-form .field span { display: block; margin-bottom: .35rem; font-size: .85rem; color: var(--gold-lt); letter-spacing: .03em; }
.reg-form input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(231,198,107,0.25);
  border-radius: 8px; padding: .7rem .8rem; color: var(--ink); font-size: .95rem;
}
.reg-form input:focus { outline: none; border-color: var(--gold-lt); box-shadow: 0 0 0 3px rgba(255,215,0,0.12); }
.reg-form__submit { width: 100%; margin-top: .3rem; }
.reg-success { max-width: 30rem; margin: 0 auto 1.4rem; color: #9be6a0; font-size: 1rem; line-height: 1.5; }

/* ===================== FAQ ACCORDION ===================== */
.faq { max-width: 46rem; margin: 0 auto; }
.faq__list { margin-top: 1.5rem; }
.faq__item { border-bottom: 1px solid rgba(231, 198, 107, 0.18); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255,255,255,0.02); border: none; cursor: pointer;
  padding: 1.15rem 1.2rem; text-align: start;
  font-family: var(--serif); font-size: clamp(1rem, 2.4vw, 1.25rem); font-weight: 600;
  color: var(--gold-lt); letter-spacing: .01em;
  transition: color .2s, background .2s;
}
.faq__q:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.faq__chev { color: var(--gold); font-size: .8rem; flex: 0 0 auto; transition: transform .3s ease; }
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq__a p {
  margin: 0; padding: 0 1.2rem 1.25rem;
  color: #ffffff; font-size: .98rem; line-height: 1.6;
}

/* ===================== CONFIRM BUTTONS (after registration) ===================== */
.confirm-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 1.6rem 0 0; }
.confirm-wa, .confirm-email {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.3rem; border-radius: 8px;
  font-family: var(--serif); font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s;
}
.confirm-wa { background: linear-gradient(135deg, #FFD700, #B8860B); color: #0a0a0f; font-weight: 600; }
.confirm-wa:hover { box-shadow: 0 0 22px rgba(255, 215, 0, 0.45); }
.confirm-email { background: transparent; border: 1px solid var(--gold); color: var(--gold-lt); }
.confirm-email:hover { background: rgba(255, 215, 0, 0.1); color: var(--gold); }

/* ===================== FLOATING WHATSAPP ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #B8860B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(184, 134, 11, 0.6);
  cursor: pointer;
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: goldPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #FFD700;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.8);
  transform: scale(1.1);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #0a0a0f; }
@keyframes goldPulse {
  0%   { box-shadow: 0 0 20px rgba(184, 134, 11, 0.5); }
  50%  { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
  100% { box-shadow: 0 0 20px rgba(184, 134, 11, 0.5); }
}
.whatsapp-float__tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: rgba(10, 10, 15, 0.96); color: var(--gold-lt);
  border: 1px solid rgba(231, 198, 107, 0.3); border-radius: 6px;
  padding: .4rem .7rem; font-size: .8rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.whatsapp-float:hover .whatsapp-float__tip { opacity: 1; }
@media (max-width: 600px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* ===================== "WHAT'S INSIDE" SUBSECTION ===================== */
.inside {
  max-width: 760px;
  margin: 2.6rem auto 0;
  text-align: start;
  color: #ffffff;
}
.inside__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #ffffff;
  margin: 0 0 1rem;
}
.inside__intro { color: #ffffff; margin: 0 0 1.1rem; font-size: 1rem; line-height: 1.6; }
.inside__list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .8rem; }
.inside__list li {
  color: #ffffff; font-size: .98rem; line-height: 1.55;
  position: relative; padding-inline-start: 1.3rem;
}
.inside__list li::before {
  content: "—"; position: absolute; inset-inline-start: 0; color: var(--gold-soft);
}
.inside__outro { color: #ffffff; margin: 0 0 1.1rem; line-height: 1.6; }
.inside__edition {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.08rem;
  line-height: 1.55;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(231, 198, 107, 0.22);
}
.about__quote {
  margin: 3rem auto 0;
  max-width: 720px;
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20,20,31,0.6), rgba(17,17,26,0.3));
}
.heb--lg {
  font-family: var(--heb);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--gold-lt);
  line-height: 1.6;
  text-shadow: 0 0 24px rgba(255,215,0,0.25);
}
.about__quote figcaption {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}
.about__quote cite { display: block; margin-top: .5rem; font-style: normal; color: var(--ink-dim); font-size: .95rem; }

/* ===================== 5. CHAIN ===================== */
.chain__line {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .6rem 1.4rem;
  max-width: 860px;
  margin: 0 auto;
}
.chain__line li { display: flex; align-items: center; }
.chain__line li:not(:last-child)::after {
  content: "→";
  margin-left: 1.4rem;
  color: var(--gold);
  font-size: 1.2rem;
}
.chain__name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--ink);
}
.chain__coda {
  text-align: center;
  margin-top: 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--gold-soft);
}

/* ===================== 6. DETAILS ===================== */
.details__list {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.details__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid rgba(184,134,11,0.12);
}
.details__row:last-child { border-bottom: none; }
.details__row:nth-child(odd) { background: rgba(20,20,31,0.4); }
.details__row dt { font-weight: 500; color: var(--gold-soft); font-family: var(--serif); font-size: 1.15rem; }
.details__row dd { color: var(--ink); word-break: break-word; }
.hash {
  font-family: ui-monospace, 'Cascadia Code', 'Courier New', monospace;
  font-size: .82rem;
  color: var(--ink-dim);
  word-break: break-all;
}
code { background: rgba(184,134,11,0.10); padding: .1rem .35rem; border-radius: 4px; }

/* ===================== 7. PRESALE ===================== */
.presale { border-bottom: none; }
.presale__banner {
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt) 55%, var(--gold-soft));
  border-radius: 20px;
  padding: clamp(2.4rem, 6vw, 3.6rem);
  color: #1a1407;
  box-shadow: 0 16px 60px rgba(184,134,11,0.4);
}
.presale__headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: .25em;
  margin-bottom: .6rem;
}
.presale__copy {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 1.8rem;
}
.presale .btn--dark {
  background: #0a0a0f;
  color: var(--gold-lt);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.presale .btn--dark:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.55); }
.presale__secure { margin-top: 1.2rem; font-size: .9rem; opacity: .8; }

/* ===================== 8. FOOTER ===================== */
.footer {
  text-align: center;
  padding: 3.5rem 1.5rem 4rem;
  border-top: 1px solid rgba(184,134,11,0.15);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-lt);
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.footer__links { margin-bottom: 1.4rem; font-size: .98rem; }
.footer__dot { color: var(--gold); margin: 0 .3rem; }
.footer__legal { color: var(--ink-dim); font-size: .9rem; }
.footer__legal--muted { opacity: .65; font-size: .82rem; margin-top: .2rem; }

/* ===================== modals ===================== */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative;
  z-index: 2;
  width: min(440px, 92vw);
  background: linear-gradient(160deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.4rem 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: rise .3s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal__x {
  position: absolute; top: .8rem; right: 1rem;
  background: none; border: none; color: var(--ink-dim);
  font-size: 1.8rem; line-height: 1; cursor: pointer; transition: color .2s;
}
.modal__x:hover { color: var(--gold-lt); }
.modal__title { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; color: var(--gold-lt); }
.modal__sub { color: var(--ink-dim); margin: .3rem 0 1.6rem; font-size: .95rem; }
.field { display: block; margin-bottom: 1.2rem; }
.field span { display: block; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
}
.field input:focus { outline: none; border-color: var(--gold-lt); box-shadow: 0 0 0 3px rgba(255,215,0,0.12); }
.modal__submit { width: 100%; margin-top: .4rem; }
.modal__connected { margin: 0 0 1rem; font-size: .85rem; color: var(--gold-lt); }
.modal__connected code { font-family: ui-monospace, monospace; color: var(--gold); }
.modal__fine { margin-top: 1.2rem; font-size: .82rem; color: var(--ink-dim); }
.modal__fine a { color: var(--gold-lt); }

/* Manual / QR payment block */
.pay-alt { margin-top: 1.6rem; text-align: center; }
.pay-alt__divider {
  display: flex; align-items: center; gap: .8rem;
  color: var(--ink-dim); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.pay-alt__divider::before, .pay-alt__divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,198,107,0.35), transparent);
}
.pay-qr {
  width: 240px; height: 240px;
  border-radius: 12px;
  background: #fff; padding: 10px;
  box-shadow: 0 0 24px rgba(255,215,0,0.18);
}
/* Solana Pay "Open in Wallet" deep-link button (desktop + mobile). */
.pay-openw { display: inline-block; margin: 1.1rem auto .2rem; }
.pay__amt { margin: 1rem 0 .2rem; font-size: .95rem; color: var(--ink-dim); }
.pay__amt strong { color: var(--gold-lt); }

/* ===================== 7. PAYMENT SECTION ===================== */
.pay { text-align: center; }
.pay__lead {
  color: var(--ink); font-size: 1.05rem;
  max-width: 34rem; margin: 0 auto 2rem;
}
.pay__lead strong { color: var(--gold-lt); }
.pay__card {
  max-width: 30rem; margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(231,198,107,0.22);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
}
.pay__to {
  margin: 1.4rem 0 .55rem;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim);
}
.pay__notes {
  list-style: none; padding: 0; margin: 1.7rem 0 0;
  display: grid; gap: .65rem; text-align: left;
}
.pay__notes li {
  position: relative; padding-left: 1.5rem;
  color: var(--ink); font-size: .92rem; line-height: 1.45;
}
.pay__notes li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.pay__notes strong { color: var(--gold-lt); }
.pay__optional {
  margin-top: 1.8rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(231,198,107,0.15);
}
.pay__hint { margin: .7rem 0 0; font-size: .8rem; color: var(--ink-dim); }
.pay__hint a, .pay__status a { color: var(--gold-lt); }
.pay__status { margin-top: 1rem; font-size: .9rem; color: var(--ink); }
.pay__status.is-success { color: #9be6a0; }
.pay__status.is-error { color: #e0796f; }

/* ===================== FOUNDING MEMBER PRESALE ===================== */
.fm { text-align: center; }
.fm-badge {
  display: inline-block;
  margin: 0 auto 1.5rem;
  padding: .5rem 1.3rem;
  border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em;
  color: #0a0a0f;
  background: linear-gradient(135deg, #FFD700, #B8860B);
  animation: badgeGlow 2.6s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 215, 0, 0.35); }
  50%      { box-shadow: 0 0 32px rgba(255, 215, 0, 0.8); }
}
.fm-price {
  display: flex; align-items: baseline; justify-content: center;
  gap: 1.6rem; flex-wrap: wrap; margin: 0 0 1.5rem;
}
.fm-price__label {
  display: block; margin-bottom: .25rem;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim);
}
.fm-price__regular { color: var(--ink-dim); font-family: var(--serif); font-size: 1.5rem; }
.fm-price__regular s { opacity: .85; }
.fm-price__founding strong {
  color: var(--gold);
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}
.fm-lead { max-width: 36rem; margin: 0 auto 1.5rem; color: var(--ink); line-height: 1.55; }
.fm-list {
  list-style: none; padding: 0; margin: 0 auto 1.9rem;
  max-width: 30rem; display: grid; gap: .65rem; text-align: start;
}
.fm-list li { position: relative; padding-inline-start: 1.5rem; color: var(--ink); font-size: .96rem; line-height: 1.45; }
.fm-list li::before { content: "✦"; position: absolute; inset-inline-start: 0; color: var(--gold); }
.fm-counter { margin: 0 auto 1.9rem; }
.fm-counter__num {
  display: block;
  font-family: var(--serif); font-weight: 700; line-height: 1;
  font-size: clamp(3rem, 9vw, 5rem);
  color: #ffffff;
  text-shadow: 0 0 28px rgba(255, 215, 0, 0.4);
}
.fm-counter__label { display: block; margin-top: .45rem; color: var(--gold-lt); letter-spacing: .05em; font-size: .95rem; }

/* ---- Founding Edition countdown ---- */
.countdown { margin: 0 auto 2rem; }
.countdown__lead {
  margin: 0 auto 1.1rem;
  color: var(--gold-lt);
  letter-spacing: .04em;
  font-size: 1rem;
}
.countdown__grid {
  display: flex;
  justify-content: center;
  gap: clamp(.6rem, 2.5vw, 1.6rem);
  flex-wrap: wrap;
}
.countdown__unit {
  min-width: clamp(64px, 18vw, 104px);
  padding: 1rem .6rem .7rem;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 215, 0, 0.07), rgba(184, 134, 11, 0.04));
  border: 1px solid rgba(184, 134, 11, 0.45);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.08);
}
.countdown__num {
  display: block;
  font-family: var(--serif); font-weight: 700; line-height: 1;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  color: var(--gold-lt);
  text-shadow: 0 0 24px rgba(255, 215, 0, 0.45);
  font-variant-numeric: tabular-nums;
}
.countdown__lbl {
  display: block;
  margin-top: .5rem;
  color: var(--gold-soft);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .7rem;
}
.countdown__closed {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: var(--gold-lt);
  letter-spacing: .03em;
  text-shadow: 0 0 28px rgba(255, 215, 0, 0.35);
  margin: 0;
}

.btn--lg { font-size: 1.05rem; padding: 1rem 2.3rem; }
.fm-instruction { margin: 1.1rem auto 1.6rem; color: var(--ink); font-size: 1rem; }
.fm-cta-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--gold-lt);
  letter-spacing: .02em;
  margin: 0 0 .4rem;
}

/* Smooth scroll for the in-page presale anchor link */
html { scroll-behavior: smooth; }

/* Gold outlined anchor link (Token section -> Presale) */
.btn-outline {
  display: inline-block;
  margin: 1.4rem auto 0;
  padding: .85rem 1.9rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-lt);
  font-family: var(--serif);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-outline:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.3);
}
.pay-alt__label { margin: 1rem 0 .5rem; font-size: .9rem; color: var(--ink); }
.pay-addr {
  display: flex; align-items: stretch; gap: .4rem;
  max-width: 100%; margin: 0 auto;
}
.pay-addr code {
  flex: 1; min-width: 0;
  font-family: ui-monospace, monospace; font-size: .8rem;
  color: var(--gold-lt); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(231,198,107,0.25); border-radius: 8px;
  padding: .6rem .7rem; overflow-wrap: anywhere; text-align: left;
}
.pay-copy {
  flex: 0 0 auto;
  border: 1px solid rgba(231,198,107,0.4); border-radius: 8px;
  background: rgba(231,198,107,0.1); color: var(--gold-lt);
  font-size: .8rem; padding: 0 .9rem; cursor: pointer;
  transition: background .15s ease;
}
.pay-copy:hover { background: rgba(231,198,107,0.22); }
.pay-copy.copied { color: #9be6a0; border-color: rgba(155,230,160,0.5); }
.modal__err { margin-top: 1rem; color: #ff8c8c; font-size: .9rem; }
.verify__result {
  margin-top: 1.6rem;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: .95rem;
}
.verify__result.is-owner { border-color: rgba(255,215,0,0.6); background: rgba(184,134,11,0.10); }
.verify__result.not-owner { border-color: rgba(154,148,138,0.3); }

/* ===================== scroll reveal ===================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== responsive ===================== */
@media (max-width: 760px) {
  .own__grid { grid-template-columns: 1fr; }
  .details__row { grid-template-columns: 1fr; gap: .25rem; }
  .details__row dd { font-size: .95rem; }
  .chain__line li:not(:last-child)::after { content: "↓"; margin-left: 0; }
  .chain__line { flex-direction: column; }
}

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