
:root {
  --bg: #0B0B0D;
  --bg-soft: #15151A;
  --text: #F5F5F5;
  --muted: #B3B3B3;
  --accent: #C1121F;
  --accent-soft: rgba(193,18,31,0.2);
  --border-soft: #26262F;
  --button-green: #16a34a;
  --button-green-soft: rgba(22,163,74,0.15);
  --button-white: #F5F5F5;
  --button-white-soft: rgba(245,245,245,0.1);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.65);
  --shadow-subtle: 0 10px 30px rgba(0,0,0,0.5);
  --max-width: 1120px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #15151A 0, #050507 52%, #010102 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.main-shell {
  flex: 1;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 20px 40px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5,5,8,0.96), rgba(5,5,8,0.86), transparent);
  border-bottom: 1px solid rgba(87,87,104,0.4);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  line-height: 1.1;
}

.brand-title {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-buy {
  background: var(--button-green-soft);
  color: #bbf7d0;
  border-color: rgba(34,197,94,0.6);
}

.btn-buy:hover {
  background: var(--button-green);
  color: #022c22;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-whitepaper {
  background: var(--button-white-soft);
  color: var(--button-white);
  border-color: rgba(248,250,252,0.5);
}

.btn-whitepaper:hover {
  background: var(--button-white);
  color: #020617;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-donate {
  background: var(--button-green-soft);
  color: #dcfce7;
  border-color: rgba(16,185,129,0.7);
}

.btn-donate:hover {
  background: #22c55e;
  color: #022c22;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148,163,184,0.7);
  color: var(--muted);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(193,18,31,0.12);
}

/* Layout sections */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.05fr);
  gap: 32px;
  margin-top: 26px;
  align-items: center;
}

.hero-copy {
  padding: 24px 24px 26px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(193,18,31,0.25), rgba(7,7,10,0.96));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148,163,184,0.4);
}

.kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(248,113,113,0.7);
}

.hero-title {
  font-size: 2rem;
  line-height: 1.05;
  margin: 0 0 10px;
}

.hero-title span.anti-word {
  font-size: 2.1rem;
}

.hero-sub {
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148,163,184,0.6);
  padding: 5px 11px;
  color: var(--muted);
}

.badge-strong {
  border-color: var(--accent);
  background: rgba(193,18,31,0.18);
  color: #fecaca;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 32rem;
}

.hero-image-card {
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  background: radial-gradient(circle at top, rgba(248,250,252,0.08), rgba(5,5,8,0.98));
  border: 1px solid rgba(148,163,184,0.6);
  box-shadow: var(--shadow-soft);
}

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75,85,99,0.7);
}

.hero-image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-image-tag {
  position: absolute;
  inset: auto 12px 12px auto;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  padding: 4px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,0.7);
}

.hero-image-caption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
}

/* Sections */
.section {
  margin-top: 40px;
}

.section-header {
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.section-lead {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Ecosystem grid */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-md);
  background: linear-gradient(to bottom, rgba(15,23,42,0.98), rgba(9,9,13,0.98));
  border: 1px solid rgba(75,85,99,0.8);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.card-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.card-title {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.card-body {
  font-size: 0.83rem;
  color: var(--muted);
}

.card-tagline {
  margin-top: 8px;
  font-size: 0.76rem;
  color: rgba(248,250,252,0.75);
}

/* small image cards */
.card-with-thumb {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.card-thumb {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(55,65,81,0.9);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contract block */
.contract-block {
  margin-top: 44px;
  padding: 20px 18px 22px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(193,18,31,0.22), rgba(5,5,8,0.98));
  border: 1px solid rgba(127,29,29,0.9);
  box-shadow: var(--shadow-soft);
}

.contract-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contract-body {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.contract-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(127,29,29,0.9);
  box-shadow: var(--shadow-subtle);
}

.contract-image img {
  width: 100%;
  display: block;
}

.contract-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.btn-accept {
  flex: 1 1 180px;
  background: rgba(34,197,94,0.18);
  border-color: rgba(74,222,128,0.9);
  color: #bbf7d0;
}

.btn-accept:hover {
  background: #22c55e;
  color: #022c22;
}

.btn-exit {
  flex: 1 1 180px;
  background: transparent;
  border-color: rgba(248,113,113,0.9);
  color: #fecaca;
}

.btn-exit:hover {
  background: rgba(127,29,29,0.85);
  color: #fee2e2;
}

/* Countdown (ALMA) */
.countdown-shell {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.6);
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(3,7,18,0.98));
}

.countdown-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.countdown-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.countdown-item {
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 12px;
  background: radial-gradient(circle at top, rgba(30,64,175,0.4), rgba(15,23,42,0.96));
  border: 1px solid rgba(129,140,248,0.7);
  text-align: center;
}

.countdown-value {
  font-size: 1rem;
  font-weight: 600;
}

.countdown-label-small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(55,65,81,0.9);
  padding: 16px 20px 22px;
  font-size: 0.75rem;
  color: var(--muted);
  background: radial-gradient(circle at bottom, #020617, #000);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* Utility */
.anti-word,
.alma-word,
.soul-word {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.text-red {
  color: var(--accent);
}

.text-muted {
  color: var(--muted);
}

.mt-sm { margin-top: 10px; }
.mt-md { margin-top: 18px; }
.mt-lg { margin-top: 28px; }

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-image-card {
    order: -1;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-inline: 14px;
  }
  .page-shell {
    padding-inline: 16px;
  }
  .nav-actions {
    gap: 6px;
  }
  .btn {
    padding-inline: 12px;
  }
  .hero-copy {
    padding: 18px 16px 18px;
  }
  .contract-actions {
    flex-direction: column;
  }
}


/* Phantom connect button */
.btn-phantom {
    background: var(--anti-red);
    border: 1px solid #ffffff33;
}
.btn-phantom:hover {
    background: #ff3333;
}
