/* ============================================================
   Meaning of Life ($LIFE)
   Aesthetic: deep-space editorial — cosmic indigo-black,
   warm gold accent, characterful serif display (Fraunces)
   paired with a clean geometric body (Poppins).
   ============================================================ */

:root {
  --bg:        #07060f;
  --bg-soft:   #0d0b1d;
  --panel:     #120f24;
  --panel-2:   #171331;
  --ink:       #f4f0e6;
  --ink-soft:  #b8b2c9;
  --ink-mute:  #6f6a86;
  --gold:      #f0c14b;
  --gold-deep: #c9952b;
  --violet:    #8b7fd1;
  --line:      rgba(240, 193, 75, 0.16);
  --maxw:      1180px;
  --serif:     "Fraunces", Georgia, serif;
  --sans:      "Poppins", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--gold); color: #1a1405; }

a { color: inherit; text-decoration: none; }

/* ---------- Atmosphere layers ---------- */

#stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: block;
}

body::before {
  /* gradient nebula wash */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 50% at 15% 8%, rgba(139, 127, 209, 0.18), transparent 70%),
    radial-gradient(55% 45% at 88% 22%, rgba(240, 193, 75, 0.10), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgba(70, 50, 130, 0.22), transparent 75%),
    linear-gradient(180deg, #07060f 0%, #0a0818 55%, #07060f 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */

#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--bg);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }

.loader-mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  letter-spacing: -0.04em;
  animation: pulse 2.4s ease-in-out infinite;
}
#loader h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.02em;
}
#loader p { color: var(--ink-mute); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; }
.dots::after { content: ""; animation: dots 1.6s steps(4, end) infinite; }

@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.08); opacity: 1; } }

/* ---------- Nav ---------- */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.2rem, 5vw, 3.5rem);
  background: rgba(7, 6, 15, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease, padding 0.4s ease;
}
nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 6, 15, 0.82);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.logo-glyph {
  display: grid;
  place-items: center;
  width: 1.85rem; height: 1.85rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-style: italic;
  font-size: 1.05rem;
  flex: none;
}
.logo-glyph.small { width: 1.5rem; height: 1.5rem; font-size: 0.9rem; }

.logo-img {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
nav ul a {
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
nav ul a:hover { color: var(--ink); }
nav ul a:hover::after { width: 100%; }

.buyButton {
  background: var(--gold);
  color: #1a1405;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 rgba(240, 193, 75, 0.5);
}
.buyButton:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(240, 193, 75, 0.6); }

.navToggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.navToggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- Hero ---------- */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem clamp(1.2rem, 6vw, 5rem) 6rem;
  overflow: hidden;
}

.hero-content { max-width: 760px; position: relative; z-index: 2; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.2s forwards;
}

#hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8.5vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}
#hero h1 em {
  font-style: italic;
  color: var(--gold);
  background: linear-gradient(120deg, var(--gold), #ffe39a 50%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#hero h1 { opacity: 0; animation: fade-up 0.9s ease 0.35s forwards; }

#hero > .hero-content > p {
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fade-up 0.9s ease 0.5s forwards;
}

.heroButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  opacity: 0;
  animation: fade-up 0.9s ease 0.65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-primary { background: var(--gold); color: #1a1405; font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(240, 193, 75, 0.65); }
.btn-ghost { border: 1px solid rgba(244, 240, 230, 0.22); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* orbit decoration */
.hero-orbit {
  position: absolute;
  top: 50%; right: -6vw;
  transform: translateY(-50%);
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  z-index: 1;
  pointer-events: none;
}
.hero-orbit .planet {
  position: absolute;
  top: 50%; left: 50%;
  width: 38%; height: 38%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #ffe7a6, var(--gold) 38%, var(--gold-deep) 70%, #5c3f0e 100%);
  box-shadow: 0 0 90px -10px rgba(240, 193, 75, 0.45), inset -18px -22px 50px rgba(0,0,0,0.5);
  animation: float 9s ease-in-out infinite;
}
.hero-orbit .ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(240, 193, 75, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}
.ring-1 { width: 72%; height: 72%; animation: spin 26s linear infinite; border-style: dashed; }
.ring-2 { width: 100%; height: 100%; animation: spin 44s linear infinite reverse; border-color: rgba(139,127,209,0.18); }

.scroll {
  position: absolute;
  left: clamp(1.2rem, 6vw, 5rem);
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 2;
}
.scroll-arrow { animation: bob 1.8s ease-in-out infinite; }

/* ---------- Sections shared ---------- */

main { position: relative; z-index: 2; }

section { padding: clamp(4.5rem, 10vw, 8rem) clamp(1.2rem, 6vw, 5rem); max-width: var(--maxw); margin: 0 auto; }

.section-head { margin-bottom: 3rem; }
.kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 em { font-style: italic; color: var(--gold); }

.prose p { color: var(--ink-soft); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.prose strong { color: var(--ink); font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Stats ---------- */

#stats .statsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.card {
  background: linear-gradient(165deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 70%; height: 120%;
  background: radial-gradient(circle, rgba(240,193,75,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(240,193,75,0.4); }
.card:hover::before { opacity: 1; }
.card h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.card p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 400;
  color: var(--ink);
}
.card .unit { font-size: 0.7em; color: var(--gold); }
.loading { color: var(--ink-mute); }
.loading::after { content: ""; animation: dots 1.6s steps(4, end) infinite; }
.stats-note { margin-top: 1.4rem; font-size: 0.8rem; color: var(--ink-mute); letter-spacing: 0.04em; }

/* ---------- Lore timeline ---------- */

.lore-timeline { list-style: none; max-width: 760px; position: relative; padding-left: 2rem; }
.lore-timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.lore-timeline li {
  position: relative;
  padding: 0.7rem 0 0.7rem 0.4rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-family: var(--serif);
  color: var(--ink-soft);
}
.lore-timeline li::before {
  content: "";
  position: absolute;
  left: -2rem; top: 1.15rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  transform: translateX(0);
}
.lore-timeline li em { color: var(--ink); font-style: italic; }
.lore-final { color: var(--gold) !important; }
.lore-final::before { background: var(--gold); box-shadow: 0 0 16px rgba(240,193,75,0.7); }

/* ---------- Section intro (lead paragraph) ---------- */

.section-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: -1.6rem 0 2.6rem;
}

/* ---------- Manifesto ---------- */

.manifesto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.tenet, .value {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.9rem;
  background: rgba(18, 15, 36, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
}
.tenet:hover, .value:hover { transform: translateY(-4px); background: rgba(23, 19, 49, 0.7); }
.tenet-no, .value-no { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); }
.tenet h3, .value h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin: 0.5rem 0 0.6rem; }
.tenet p, .value p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Meaning interactive ---------- */

.meaning-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(139,127,209,0.12), transparent 60%),
    linear-gradient(165deg, var(--panel-2), var(--bg-soft));
}
.meaning-answer {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  transition: opacity 0.3s ease;
}
.meaning-answer.swap { opacity: 0; }
.meaning-hint { margin-top: 1.1rem; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

/* meaning facets grid */
.meaning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}
.meaning-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 11, 29, 0.55);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.meaning-card span { font-size: 1.9rem; line-height: 1; }
.meaning-card:hover { transform: translateY(-4px); border-color: rgba(240, 193, 75, 0.4); }

/* ---------- Philosophy ---------- */

.philosophy-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(139, 127, 209, 0.10), transparent 60%),
    linear-gradient(165deg, var(--panel), var(--bg-soft));
}
.philosophy-box p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.philosophy-box h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  color: var(--gold);
  margin-top: 1.4rem;
}

/* ---------- Roadmap ---------- */

.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.phase {
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 16px 16px;
  padding: 1.6rem 1.4rem;
  background: rgba(13, 11, 29, 0.6);
  transition: transform 0.3s ease;
}
.phase:hover { transform: translateY(-5px); }
.phase-tag { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.phase h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0.4rem 0 1rem; }
.phase ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.phase li { color: var(--ink-soft); font-size: 0.92rem; padding-left: 1.1rem; position: relative; }
.phase li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Community ---------- */

#community { max-width: 920px; text-align: center; }
.community-inner h2 { margin: 0.5rem 0 1rem; }
.community-inner > p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.community-links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 2.4rem; }
.contract {
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.6rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(7,6,15,0.4);
}
.contract-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); }
.contract code { font-family: var(--sans); font-size: 0.95rem; color: var(--gold); word-break: break-all; }

/* ---------- Tokenomics ---------- */

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.token-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.6rem;
  background: linear-gradient(165deg, var(--panel), var(--bg-soft));
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.token-card:hover { transform: translateY(-5px); border-color: rgba(240, 193, 75, 0.4); }
.token-card h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
}
.token-card p { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--ink); }
.token-card .unit { font-size: 0.6em; color: var(--gold); }
.token-card--feature {
  grid-column: 1 / -1;
  text-align: center;
  border-color: rgba(240, 193, 75, 0.35);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(240, 193, 75, 0.10), transparent 60%),
    linear-gradient(165deg, var(--panel-2), var(--bg-soft));
}
.token-card--feature .token-figure { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.02em; }

/* ---------- Team Vesting ---------- */

.vesting-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.4rem);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(139, 127, 209, 0.10), transparent 60%),
    linear-gradient(165deg, var(--panel-2), var(--bg-soft));
}
.vesting-block h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.9rem;
}
.vesting-figure { font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1; color: var(--gold); }
.vesting-figure .unit {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.7rem;
}
.vesting-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.vesting-list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
}
.vesting-icon { flex: none; font-size: 1.05rem; line-height: 1; }

/* ---------- Security & Transparency ---------- */

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.security-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.9rem 1.7rem;
  background: linear-gradient(165deg, var(--panel), var(--bg-soft));
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.security-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 70%; height: 120%;
  background: radial-gradient(circle, rgba(240,193,75,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.security-card:hover { transform: translateY(-5px); border-color: rgba(240, 193, 75, 0.4); }
.security-card:hover::before { opacity: 1; }
.security-icon { display: block; font-size: 1.7rem; line-height: 1; margin-bottom: 0.9rem; }
.security-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}
.security-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 0.9rem; max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 15, 36, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item[open] { border-color: rgba(240, 193, 75, 0.34); background: rgba(23, 19, 49, 0.6); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { flex: none; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform 0.3s ease; }
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); font-size: 0.98rem; max-width: 62ch; }

/* ---------- Countdown ---------- */

.timer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; max-width: 720px; }
.timer-unit {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 1rem 1.4rem;
  text-align: center;
  background: linear-gradient(165deg, var(--panel), var(--bg-soft));
}
.timer-unit span {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.timer-unit small {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.timer-note { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-mute); letter-spacing: 0.04em; }

/* ---------- Newsletter ---------- */

.newsletter-form { max-width: 560px; }
.newsletter-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.newsletter-row input[type="email"] {
  flex: 1 1 220px;
  background: rgba(7, 6, 15, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}
.newsletter-row input[type="email"]::placeholder { color: var(--ink-mute); }
.newsletter-row input[type="email"]:focus { outline: none; border-color: var(--gold); }
.newsletter-form button { cursor: pointer; border: 0; }
.newsletter-status { margin-top: 1rem; min-height: 1.2em; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--ink-mute); }
.newsletter-status.ok { color: var(--gold); }
.newsletter-status.err { color: #e7846b; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

footer { border-top: 1px solid var(--line); padding: 2.6rem clamp(1.2rem, 6vw, 5rem) 2.2rem; position: relative; z-index: 2; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 1.2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink); }
.footer-badges { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.2rem; }
.footer-42 { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); opacity: 0.6; }
.footer-meta { max-width: var(--maxw); margin: 1.6rem auto 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.footer-meta p { color: var(--ink-mute); font-size: 0.8rem; max-width: 80ch; }
.footer-copy { margin-top: 0.6rem; letter-spacing: 0.04em; }

/* ---------- Keyframes ---------- */

@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-16px); } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  nav ul { display: none; }
  .navToggle { display: flex; }
  nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 1.4rem clamp(1.2rem, 5vw, 3.5rem) 2rem;
    background: rgba(7, 6, 15, 0.96);
    border-bottom: 1px solid var(--line);
    gap: 1.1rem;
  }
  nav.open .navToggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.open .navToggle span:nth-child(2) { opacity: 0; }
  nav.open .navToggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  #stats .statsGrid { grid-template-columns: repeat(2, 1fr); }
  .roadmap, .two-col { grid-template-columns: 1fr; }
  .vesting-card { grid-template-columns: 1fr; }
  .hero-orbit { opacity: 0.5; right: -25vw; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-42 { margin-left: 0; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  nav ul { gap: 1.05rem; font-size: 0.8rem; }
}

@media (max-width: 520px) {
  #stats .statsGrid { grid-template-columns: 1fr; }
  .buyButton { display: none; }
  .timer { grid-template-columns: repeat(2, 1fr); }
}

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