:root{
  --bg:#0b0e14;
  --panel:#101626;
  --panel2:#0f1422;
  --text:#e9eefb;
  --muted:#a8b3d1;
  --line:rgba(255,255,255,.10);
  --accent:#7c5cff;
  --accent2:#00d4ff;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius:18px;

  /* Glass (a bit stronger so cards look “right” over the Traffic background) */
  --glass-bg: rgba(12, 18, 34, .58);
  --glass-bg2: rgba(10, 14, 26, .42);
  --glass-border: rgba(255,255,255,.14);
  --glass-border2: rgba(0,212,255,.22);
}

/* Reset */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%}

body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  line-height:1.5;
  overflow-x:hidden;
  background: var(--bg);
  position:relative;
}

/* IMPORTANT: stop iOS/Safari blue link + underline everywhere */
a, a:visited{color:inherit;text-decoration:none}
a:hover{text-decoration:none}

img{max-width:100%;height:auto;display:block}
iframe{width:100%;height:100%;border:0;display:block}

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

/* BACKGROUND (Traffic.PNG) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-30;
  pointer-events:none;
  background: url("images/Traffic.PNG") center 48% / cover no-repeat;
  opacity:.80;
  filter:saturate(1.08) contrast(1.18);
  transform: translateZ(0);
}
@media(max-width:900px){
  body::before{ background: url("images/Traffic.PNG") center 42% / cover no-repeat; }
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-29;
  pointer-events:none;
  background:
    radial-gradient(1200px 900px at 20% -10%, rgba(124,92,255,.16), transparent 60%),
    radial-gradient(1000px 800px at 90% 10%, rgba(0,212,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(11,14,20,.35), rgba(11,14,20,.78));
}

/* =========================
   TOPBAR (HEADER)
   ========================= */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  overflow: visible;

  background:
    radial-gradient(900px 260px at 10% 0%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 260px at 90% 0%, rgba(0,212,255,.18), transparent 58%),
    linear-gradient(180deg, rgba(16,22,38,.92), rgba(9,12,22,.92));

  border-bottom: 1px solid rgba(0,212,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* IMPORTANT: make header deterministic on mobile */
.topbar__inner{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:14px 0;
  flex-wrap:nowrap;
}

/* Top row = 3-column grid: PFP | centered title | red logo */
.topbar__top{
  width:100%;
  display:grid;
  grid-template-columns: 46px 1fr 72px;
  align-items:center;
  gap:12px;
  min-width:0;
}

/* LEFT: PFP */
.brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-width:0;
}
.brand__logo{
  width:46px;
  height:46px;
  object-fit:cover;
  display:block;
  border-radius:999px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
}

/* CENTER: title + subtitle (always centered) */
.brand__text{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  text-align:center;
}
.brand__row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
}
.brand__name{
  font-weight:900;
  letter-spacing:.2px;
  color:#D4D4D4;
  font-size:clamp(18px, 3.8vw, 26px);
  line-height:1.1;
  margin:0;
}
.brand__tag{
  font-size:12px;
  color:var(--muted);
  line-height:1.2;
}

/* Hide OFFLINE badge (keep element for JS but not visible) */
.live-badge{display:none !important}

/* RIGHT: red logo */
.top-right-img{
  width:64px;
  height:64px;
  object-fit:contain;
  display:block;
  pointer-events:none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.55));
  justify-self:center;
}

/* Desktop bumps */
@media(min-width:901px){
  .topbar__top{
    grid-template-columns: 64px 1fr 88px;
  }

  .brand__logo{
    width:64px;
    height:64px;
  }

  .top-right-img{
    width:72px;
    height:72px;
    justify-self:center;
  }
}

/* NAV */
.nav{
  width:100%;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  padding-top:6px;
}
.nav a{
  color:var(--text) !important;
  text-decoration:none !important;
  font-weight:900;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  white-space:nowrap;
  min-width:92px;
  text-align:center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav a:hover{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
}

/* HERO */
.hero{padding:44px 0}
@media(max-width:900px){ .hero{padding:34px 0} }

.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:start;
}
@media(max-width:900px){
  .hero__grid{ grid-template-columns:1fr; }
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.26);
  font-weight:900;
  letter-spacing:.7px;
  font-size:12px;
  margin-bottom:14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.chip__dot{
  width:9px;height:9px;border-radius:99px;
  background: var(--accent2);
  box-shadow:0 0 12px rgba(0,212,255,.65);
}

.title{
  font-size:clamp(34px, 6vw, 56px);
  margin:0 0 10px;
  line-height:1.02;
  font-weight:900;
}
.title span{
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.title__alt{
  background: linear-gradient(135deg, #9d8bff, var(--accent2)) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
}

.lead{ color:rgba(168,179,209,.96); margin:0 0 14px; max-width:62ch; }
.micro{ margin-top:10px; color:rgba(168,179,209,.95); font-size:12px; font-weight:800; display:flex; gap:10px; flex-wrap:wrap; }

/* CTA */
.cta{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.cta--center{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:stretch;
}
.cta--center .btn{width:100%}

/* Buttons */
.btn{
  padding:12px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.20);
  color:white !important;
  text-decoration:none !important;
  font-weight:900;
  letter-spacing:.2px;
  transition: transform .08s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  text-align:center;
  line-height:1.1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn:hover{
  transform:translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.40);
  box-shadow: 0 0 22px rgba(0,212,255,.18);
}
.btn--primary{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(0,212,255,.40);
  box-shadow: 0 0 0 1px rgba(0,212,255,.18) inset;
}
.btn--ghost{background:transparent}

.small{font-size:12px;color:var(--muted)}
.muted{color:var(--muted)}
.hr{border:0;border-top:1px solid rgba(255,255,255,.10);margin:12px 0}

/* Sections */
.section{padding:50px 0}
.section--alt{
  background:rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* GLASS CARD SYSTEM */
.card{
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
  border:1px solid var(--glass-border);
}
.card.glass{
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(124,92,255,.14), transparent 62%),
    radial-gradient(900px 420px at 90% 0%, rgba(0,212,255,.12), transparent 60%),
    linear-gradient(180deg, var(--glass-bg), var(--glass-bg2));
  border:1px solid rgba(0,212,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card__head{padding:14px;border-bottom:1px solid rgba(255,255,255,.10)}
.card__body{padding:16px}
.card__title{font-weight:900}

/* LORE + THESIS */
.thesis{ margin:14px 0 10px; }
.thesis__summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin: 10px 12px 12px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,.22);
  background:
    linear-gradient(135deg, rgba(124,92,255,.26), rgba(0,212,255,.16)),
    rgba(255,255,255,.04);
  font-weight: 900;
  text-decoration:none !important;
}
.thesis__summary::-webkit-details-marker{display:none}
.thesis__tag{font-size:12px;letter-spacing:1px;color: rgba(154,252,255,.98);font-weight:900}
.thesis__hint{font-size:12px;color: rgba(233,238,251,.92);font-weight:800;opacity:.9}
.thesis__body{padding: 14px 16px 16px;color: rgba(168,179,209,.96)}
.thesis__title{margin:0 0 10px;color: rgba(233,238,251,.98)}

/* ROADMAP CARD */
.overview--pop{
  position:relative;
  border: 1px solid rgba(0,212,255,.22);
}
.overview--pop::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:18px;
  padding:1px;
  background: linear-gradient(135deg, rgba(124,92,255,.75), rgba(0,212,255,.55));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity:.35;
  pointer-events:none;
}
.roadmap-super-title,
.roadmap-sub-title{
  font-size:clamp(26px, 4.4vw, 34px);
  font-weight:900;
  line-height:1.05;
  text-align:center;
  width:100%;
  margin:0;
  padding: 12px 18px 6px;
}
.roadmap-sub-title{ padding-top:6px; padding-bottom:10px; color: rgba(233,238,251,.92); }
.roadmap-evolution{ text-align:center; padding: 0; margin: 0; }
.evolution-img{
  display:block;
  margin: 0 auto;
  width: 100%;
  max-width: 92%;
  filter: saturate(1.25) contrast(1.10) drop-shadow(0 12px 28px rgba(0,0,0,.55));
}
.roadmap{ padding: 10px 16px 14px; }
.roadmap__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;flex-wrap:wrap}
.roadmap__title{font-weight:900;font-size:16px}
.roadmap__sub{color:rgba(168,179,209,.95);font-size:12px;font-weight:800}

.roadmap__list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.roadmap__list li{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.roadmap__list li b{display:block;font-size:14px;letter-spacing:.2px}
.roadmap__list li span{display:block;color: rgba(168,179,209,.95);font-size:12px;margin-top:4px}

/* LIVE */
.livegrid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
  min-width:0;
}
.livegrid > *{min-width:0}
@media(max-width:900px){ .livegrid{grid-template-columns:1fr} }

.embedwrap{
  aspect-ratio:16/9;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}
.embedwrap--glass{
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.field{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.field span{font-size:12px;color:var(--muted)}
input{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  color:white;
  outline:none;
  width:100%;
  max-width:100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
input:focus{border-color:rgba(124,92,255,.7)}

.toggle{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0 12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.toggle__text{font-size:12px;color: rgba(233,238,251,.92);font-weight:800}
.row{display:flex;gap:10px;flex-wrap:wrap}
.row .btn{flex:1}

/* MILES */
.milegrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  min-width:0;
}
.milegrid > *{min-width:0}
@media(max-width:900px){ .milegrid{grid-template-columns:1fr} }

.progress{margin-top:10px}
.progress__meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}

.bar{
  height:14px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  margin:8px 0;
}
.bar--glass{
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bar__fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  transition:width .25s ease;
}

/* Milestones */
.milestones__head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.milestones__title{margin:0}
.milestones__pill{
  font-size:11px;
  font-weight:900;
  letter-spacing:.6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,212,255,.28);
  background: rgba(0,212,255,.10);
  color: rgba(154,252,255,.95);
}
.milestones__list{
  margin:10px 0 0;
  padding-left: 18px;
}
.milestones__list li{ margin:8px 0; }

/* LINKS */
.linkgrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  min-width:0;
}
.linkgrid > *{min-width:0}
@media(max-width:900px){ .linkgrid{grid-template-columns:1fr} }

.linkcard{
  padding:16px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:
    radial-gradient(700px 260px at 10% 0%, rgba(124,92,255,.10), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.10));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .08s ease, border-color .2s ease, background .2s ease;
}
.linkcard:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.25)
}
.linkcard p{margin:6px 0 0;color:rgba(168,179,209,.95)}

/* FOMO */
.fomo{ border: 1px solid rgba(0,212,255,.22); }
.fomo--glow{
  box-shadow:
    0 18px 60px rgba(0,0,0,.35),
    0 0 0 1px rgba(0,212,255,.12) inset,
    0 0 40px rgba(0,212,255,.10);
}
.fomo__body{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:center;
  min-width:0;
}
.fomo__body > *{min-width:0}
@media(max-width:900px){
  .fomo__body{grid-template-columns:1fr}
}
.fomo__tag{
  display:inline-flex;
  font-size:11px;
  letter-spacing:.9px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,212,255,.35);
  background: rgba(0,212,255,.10);
  color: rgba(154,252,255,.95);
  margin-bottom: 10px;
}
.fomo__title{ margin: 0 0 10px; font-size: 28px; line-height: 1.1; font-weight:900; }
.fomo__brand{
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fomo__desc{ margin: 0 0 14px; color: rgba(233,238,251,.90); max-width: 65ch; }
.fomo__cta{ display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 8px; }
.fomo__right{ display:flex; justify-content:center; }
.fomo__logo{
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 18px 60px rgba(0,212,255,.22));
  opacity: .98;
}

/* Copied toast */
.toast{
  display:inline-flex;
  margin-left:10px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(0,212,255,.25);
  background:rgba(0,212,255,.10);
  font-weight:900;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  color:var(--muted);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

/* Mobile spacing */
@media (max-width: 520px){
  .container{ padding-left: 18px; padding-right: 18px; }
  .nav{gap:10px}
  .nav a{min-width:84px;padding:12px 14px}
}