@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --black: #111827;
  --charcoal: #ffffff;
  --cream: #121826;
  --paper: #ffffff;
  --muted: #5b6475;
  --gold: #ffd23f;
  --burgundy: #ff3d9a;
  --burgundy-light: #6f63ff;
  --teal: #00d4b8;
  --orange: #ff9f1c;
  --blue: #2cbcff;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 61, 154, 0.22), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(0, 212, 184, 0.22), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(255, 210, 63, 0.20), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #fffaf1 42%, #f7fbff 100%);
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  z-index: 100;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 8px 8px;
  mix-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.10);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
}

.brand strong {
  display: block;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--cream);
}

.nav-cta {
  color: var(--cream) !important;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.menu-button {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-button span {
  width: 1.1rem;
  height: 2px;
  background: var(--cream);
}

.hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 5rem);
  max-width: 1320px;
  margin: 0 auto;
}

.eyebrow,
.section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(4rem, 11vw, 9.5rem);
  letter-spacing: -0.055em;
  max-width: 850px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.secondary {
  border: 1px solid var(--line);
  color: var(--cream);
}

.fine-print {
  color: rgba(245, 237, 220, 0.62);
  font-size: 0.9rem;
  max-width: 640px;
}

.memorial-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.08), rgba(255, 248, 232, 0.03)),
    var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.memorial-card:before,
.memorial-card:after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(185, 152, 82, 0.18);
  border-radius: 1.45rem;
  pointer-events: none;
}

.card-ribbon {
  width: fit-content;
  color: var(--paper);
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  margin-bottom: 1.2rem;
}

.portrait-frame {
  display: grid;
  place-items: center;
  height: 230px;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(255, 212, 71, 0.26), transparent 48%),
    linear-gradient(145deg, rgba(255, 61, 127, 0.38), rgba(0, 223, 192, 0.16));
}

.candle {
  position: relative;
  width: 54px;
  height: 120px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(90deg, #e8dcc3, #fff8e8, #d8c9a9);
}

.flame {
  position: absolute;
  left: 50%;
  top: -42px;
  width: 26px;
  height: 42px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 60% 40% 55% 45%;
  filter: drop-shadow(0 0 22px rgba(185, 152, 82, 0.95));
  animation: flicker 1.6s infinite ease-in-out alternate;
}

.wick {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 3px;
  height: 18px;
  transform: translateX(-50%);
  background: var(--black);
  border-radius: 999px;
}

@keyframes flicker {
  from { transform: translateX(-50%) rotate(-3deg) scale(0.96); }
  to { transform: translateX(-50%) rotate(4deg) scale(1.04); }
}

.memorial-card h2 {
  margin-top: 1.4rem;
  font-size: 1.8rem;
}

.status-pill {
  display: inline-flex;
  margin: 0.8rem 0 1.1rem;
  color: var(--paper);
  background: rgba(119, 43, 54, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 800;
}

dl {
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
}

.notice,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.notice {
  background: rgba(255, 61, 127, 0.18);
  border-top: 1px solid rgba(185, 152, 82, 0.24);
  border-bottom: 1px solid rgba(185, 152, 82, 0.24);
  max-width: none;
  padding: 1rem clamp(1rem, 6vw, 5rem);
  color: var(--muted);
}

.notice strong {
  color: var(--cream);
}

.banner-wrap {
  max-width: 1320px;
  margin: 2rem auto 0;
  padding: 0 clamp(1rem, 6vw, 5rem);
}

.banner-image {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  filter: saturate(1.3) contrast(1.04) brightness(0.95);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 850px;
}

.section p {
  color: var(--muted);
}

.vitals-grid,
.services-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.vital-card,
.services-grid article,
.timeline article,
details {
  background: rgba(255, 248, 232, 0.055);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.25rem;
}

.vital-card span {
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}

.vital-card strong {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
}

.obituary {
  text-align: center;
}

.obituary > p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  margin-top: 2rem;
  text-align: left;
}

.services-grid h3,
.timeline h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading-row p {
  max-width: 430px;
}

.tokenomics {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 2rem;
  align-items: center;
}

.token-chart {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.ring {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--gold) 0 40%,
      var(--burgundy) 40% 70%,
      var(--teal) 70% 85%,
      var(--burgundy-light) 85% 95%,
      var(--orange) 95% 100%
    );
  box-shadow: var(--shadow);
}

.ring-center {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 61, 127, 0.12), rgba(0, 223, 192, 0.06)), var(--charcoal);
  border: 1px solid var(--line);
}

.ring-center strong {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.45rem;
}

.ring-center span {
  color: var(--muted);
  font-size: 0.82rem;
}

.token-table {
  display: grid;
  gap: 0.8rem;
}

.token-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 248, 232, 0.05);
}

.token-table span {
  color: var(--muted);
}

.token-table strong {
  color: var(--cream);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.timeline article span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.buy {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  background: rgba(255, 248, 232, 0.055);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.1rem;
}

.steps li span {
  grid-row: span 2;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gold);
  font-size: 1.5rem;
}

.steps p {
  margin: 0.2rem 0 0;
}

.contract-box {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--paper);
  color: var(--black);
  border-radius: 1.2rem;
  padding: 1rem;
  margin-top: 1rem;
}

.contract-box span {
  font-weight: 800;
}

.contract-box code {
  overflow-wrap: anywhere;
  background: rgba(17, 16, 14, 0.08);
  border-radius: 0.7rem;
  padding: 0.5rem;
}

.contract-box button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  color: var(--paper);
  padding: 0.7rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.community {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.community h2,
.community p {
  margin-left: auto;
  margin-right: auto;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.community-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: rgba(255, 248, 232, 0.05);
}

details summary {
  cursor: pointer;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

details p {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 2rem;
  padding: 2rem clamp(1rem, 6vw, 5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.1rem;
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .menu-button {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 4.8rem 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(27, 23, 20, 0.98);
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem;
    border-bottom: 1px solid rgba(185, 152, 82, 0.16);
  }

  .hero,
  .split,
  .tokenomics,
  .buy,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .section-heading-row {
    display: block;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contract-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .vitals-grid,
  .services-grid,
  .faq-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  dl div {
    display: block;
  }

  dd {
    text-align: left;
    margin-top: 0.2rem;
  }
}

.hero:before {
  content: "";
  position: absolute;
  inset: 5rem 1rem auto auto;
  width: 260px;
  height: 260px;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--gold) 0 4px, transparent 5px),
    radial-gradient(circle, var(--teal) 0 4px, transparent 5px),
    radial-gradient(circle, var(--burgundy) 0 4px, transparent 5px),
    radial-gradient(circle, var(--orange) 0 4px, transparent 5px);
  background-size: 56px 56px, 72px 72px, 88px 88px, 104px 104px;
  opacity: 0.45;
  transform: rotate(12deg);
}

.hero {
  position: relative;
}

.primary {
  color: #130918;
}

.vital-card strong,
.token-table strong {
  color: var(--gold);
}





/* White party theme pass */
.site-header,
.brand strong,
.nav a,
.site-footer strong,
h1,
h2,
h3,
.vital-card strong,
.token-table strong,
.ring-center strong {
  color: #111827;
}

.brand small,
.nav,
.hero-subtitle,
.fine-print,
.section p,
dt,
.token-table span,
.vital-card span,
.footer-disclaimer,
.site-footer,
.ring-center span {
  color: #5b6475;
}

.brand-mark {
  background: linear-gradient(135deg, #ff3d9a, #6f63ff);
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 25px rgba(111, 99, 255, 0.22);
}

.menu-button {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.menu-button span {
  background: #111827;
}

.hero {
  min-height: 62vh;
}

h1 {
  text-shadow: none;
  background: linear-gradient(90deg, #111827 0%, #ff3d9a 48%, #6f63ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow,
.section-label {
  color: #ff3d9a;
}

.memorial-card,
.vital-card,
.services-grid article,
.timeline article,
details,
.token-table div,
.steps li {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(17,24,39,0.10);
  box-shadow: 0 16px 45px rgba(17,24,39,0.10);
}

.memorial-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,250,241,0.92));
  outline: 1px solid rgba(255, 61, 154, 0.12);
}

.memorial-card:before,
.memorial-card:after {
  border-color: rgba(17,24,39,0.08);
}

.portrait-frame {
  background:
    radial-gradient(circle at 48% 34%, rgba(255, 210, 63, 0.50), transparent 42%),
    linear-gradient(135deg, rgba(255, 61, 154, 0.16), rgba(0, 212, 184, 0.18), rgba(111, 99, 255, 0.16));
  border: 1px solid rgba(17,24,39,0.10);
}

.candle {
  background: linear-gradient(90deg, #fff3a6, #ffffff, #ffe45c);
  border: 1px solid rgba(17,24,39,0.08);
}

.status-pill,
.card-ribbon,
.contract-box button {
  background: linear-gradient(135deg, #ff3d9a, #6f63ff);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(255, 61, 154, 0.24);
}

.primary {
  background: linear-gradient(135deg, #ffd23f, #ff9f1c);
  color: #111827;
  box-shadow: 0 14px 30px rgba(255, 159, 28, 0.22);
}

.secondary,
.nav-cta,
.community-links a {
  background: #ffffff;
  border: 1px solid rgba(17,24,39,0.12);
  color: #111827 !important;
  box-shadow: 0 10px 28px rgba(17,24,39,0.08);
}

.nav-cta:hover,
.community-links a:hover,
.secondary:hover {
  border-color: rgba(255, 61, 154, 0.38);
}

.notice {
  background: linear-gradient(90deg, rgba(255,61,154,0.10), rgba(0,212,184,0.10), rgba(255,210,63,0.14));
  color: #4b5563;
  border-top: 1px solid rgba(17,24,39,0.08);
  border-bottom: 1px solid rgba(17,24,39,0.08);
}

.notice strong {
  color: #111827;
}

.banner-image {
  border: 2px solid #ffffff;
  box-shadow: 0 22px 55px rgba(17,24,39,0.16);
  filter: saturate(1.38) contrast(1.04) brightness(1.10);
}

.ring-center {
  background: #ffffff;
  border: 1px solid rgba(17,24,39,0.10);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.5);
}

.contract-box {
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17,24,39,0.10);
}

.contract-box code {
  background: #f4f6fb;
  color: #111827;
}

.community {
  border-top: 1px solid rgba(17,24,39,0.10);
  border-bottom: 1px solid rgba(17,24,39,0.10);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,61,154,0.10), transparent 18rem),
    radial-gradient(circle at 80% 20%, rgba(0,212,184,0.10), transparent 18rem);
  border-radius: 2rem;
}

.site-footer {
  border-top: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.70);
}

dl div {
  border-top: 1px solid rgba(17,24,39,0.10);
}

.flame {
  background: #ff9f1c;
  filter: drop-shadow(0 0 22px rgba(255, 159, 28, 0.85));
}

.hero:before {
  opacity: 0.55;
}

@media (max-width: 980px) {
  .nav {
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(17,24,39,0.10);
  }

  .nav a {
    border-bottom: 1px solid rgba(17,24,39,0.08);
  }
}


/* Sans-serif typography update */
h1,
h2,
h3,
.brand strong,
.vital-card strong,
.token-table strong,
.steps li span,
details summary,
.ring-center strong {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2 {
  font-weight: 900;
}

h3,
.brand strong,
details summary {
  font-weight: 800;
}

.brand strong {
  letter-spacing: -0.02em;
}

.section-label,
.eyebrow {
  font-weight: 900;
}
