:root {
  --bg-0: #070b18;
  --bg-1: #0b1020;
  --text: #e6ebff;
  --muted: #a7b0d1;
  --primary: #6aa9ff;
  --primary-strong: #3e8bff;
  --accent: #ff5ea7;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.22);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% 10%, #101a3b 0%, transparent 60%),
              radial-gradient(900px 500px at 90% 20%, #281040 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-0), var(--bg-1));
  background-attachment: fixed;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.bg__orb { position: absolute; filter: blur(60px); opacity: 0.35; }
.bg__orb--one { width: 380px; height: 380px; left: -60px; top: 120px; background: #6aa9ff; }
.bg__orb--two { width: 420px; height: 420px; right: -80px; top: 240px; background: #ff5ea7; }
.bg__grid { position: absolute; inset: 0; background-image: linear-gradient(transparent 95%, rgba(255,255,255,0.05) 95%), linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.05) 95%); background-size: 24px 24px; opacity: 0.2; }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 10; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: 0.4px; color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 14px; align-items: center; }
.nav__link { color: var(--muted); text-decoration: none; font-size: 14px; padding: 8px 10px; border-radius: 8px; transition: color .2s ease, background-color .2s ease; }
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.hero { padding: 48px 0 10px; }
.hero__card { padding: 48px; text-align: center; }
.eyebrow { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
h1 { margin: 0 0 14px; font-size: clamp(32px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.lead { margin: 0 auto 22px; max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 8px 0 18px; }
.hero__highlights { display: flex; justify-content: center; gap: 18px; list-style: none; margin: 18px 0 0; padding: 0; color: var(--muted); font-size: 14px; }
.hero__highlights li::before { content: '•'; margin-right: 8px; color: var(--primary); }

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, #b67cff 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: 54px 0; }
.section--alt { padding-top: 14px; }
.section__content h2 { margin: 0 0 22px; font-size: clamp(24px, 4.5vw, 34px); letter-spacing: -0.01em; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .hero__card { padding: 28px; } }

.card { padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }

.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.roadmap li { padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.roadmap li::before { counter-increment: step; content: counter(step); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.15); color: var(--text); font-weight: 600; }
.roadmap span { color: var(--muted); }

.join { text-align: center; padding: 28px; }
.join__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .muted { color: var(--muted); text-decoration: none; }
.site-footer .muted:hover { color: var(--text); }
.site-footer { gap: 12px; flex-wrap: wrap; }
.sponsor-note { color: var(--muted); }
.sponsor-link { color: var(--primary); text-decoration: none; font-weight: 700; }
.sponsor-link:hover { color: var(--text); }

.button { appearance: none; border: 1px solid transparent; background: var(--glass-bg); color: var(--text); padding: 10px 16px; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; transition: transform .08s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; box-shadow: var(--shadow); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button--sm { padding: 8px 12px; font-weight: 600; }
.button--primary { background: linear-gradient(180deg, var(--primary), var(--primary-strong)); border-color: rgba(0,0,0,0.15); box-shadow: 0 8px 24px rgba(62,139,255,0.35); color: #071124; }
.button--ghost { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }

.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); border-top-color: rgba(255,255,255,0.35); border-left-color: rgba(255,255,255,0.3); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(14px) saturate(140%);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .button { transition: none; }
}


/* Sponsor top bar */
.sponsor-bar { background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.12); }
.sponsor-bar__inner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; font-size: 12px; color: var(--muted); }

/* Modal */
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 50; transition: opacity .25s ease; }
.modal[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 11, 24, 0.6); backdrop-filter: blur(4px); }
.modal__panel { position: relative; width: min(92vw, 560px); padding: 20px; }
.modal__header { margin-bottom: 12px; }
.modal__close { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); color: var(--text); border-radius: 8px; width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; }
.modal__close:hover { background: rgba(255,255,255,0.1); }

/* Form */
.form { display: grid; gap: 12px; }
.form__row { display: grid; gap: 6px; }
.form__row label { font-size: 13px; color: var(--muted); }
.form__row input, .form__row textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  outline: none;
}
.form__row input:focus, .form__row textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(106, 169, 255, 0.2); }
.form__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }


/* Directory */
.directory { padding: 20px; }
.directory__filters { display: grid; gap: 12px; margin-bottom: 20px; }
.filter__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter__row input[type="search"], .filter__row select {
  flex: 1 1 200px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  outline: none;
}
.filter__row input[type="search"]:focus, .filter__row select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(106, 169, 255, 0.2); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; font-size: 12px; color: var(--muted); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.chip:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.chip--active { background: rgba(106, 169, 255, 0.2); border-color: var(--primary); color: var(--text); }

.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.badge { display: inline-block; padding: 3px 8px; background: rgba(106, 169, 255, 0.15); border-radius: 6px; font-size: 11px; color: var(--primary); }

.directory__results { min-height: 200px; }
.directory__card { display: flex; flex-direction: column; }
.card__media { display: grid; place-items: center; padding: 12px; }
.card__media img { width: 48px; height: 48px; border-radius: 8px; }
.card__media-placeholder { 
  width: 48px; 
  height: 48px; 
  border-radius: 8px; 
  background: linear-gradient(135deg, rgba(106, 169, 255, 0.15), rgba(255, 94, 167, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card__actions { margin-top: auto; padding-top: 8px; }

