/* ===========================================================
   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 ===================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('./assets/lightvessel_banner_final.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(1.05);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.45) 0%, rgba(10,10,15,0.25) 40%, rgba(10,10,15,0.95) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 1.5rem; }
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: .06em;
  color: var(--gold-lt);
  text-shadow: 0 2px 30px rgba(0,0,0,0.7), 0 0 40px rgba(255,215,0,0.25);
  line-height: 1.05;
}
.hero__title .dot { color: var(--gold); }
.hero__subtitle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--ink);
  margin-top: 1rem;
  letter-spacing: .04em;
}
.hero__scroll {
  margin: 2.8rem auto 0;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(231,198,107,0.5);
  border-radius: 14px;
  position: relative;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px;
  background: var(--gold-lt); border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ===================== 2. TOKEN ===================== */
.token { text-align: center; }
.token__coin-wrap {
  position: relative;
  width: min(340px, 70vw);
  margin: 0 auto 2.2rem;
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.token__halo {
  position: absolute; inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.38), rgba(184,134,11,0.10) 55%, transparent 72%);
  filter: blur(6px);
  animation: pulse 4.5s ease-in-out infinite;
}
.token__coin {
  position: relative;
  width: 100%; height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 22px rgba(255,215,0,0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .55; transform: scale(0.96); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.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: var(--ink-dim); 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__rune {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold-lt);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 0 18px rgba(255,215,0,0.4);
}
.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__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__fine { margin-top: 1.2rem; font-size: .82rem; color: var(--ink-dim); }
.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; }
}
