/* assets/site.css */
:root{
  --bg:#070A12;
  --panel:#0B1020;
  --panel2:#0E1630;
  --text:#EAF0FF;
  --muted:#9FB0D0;
  --line:rgba(255,255,255,.10);
  --blue:#4DA3FF;
  --blue2:#2F7DFF;
  --green:#30D158;
  --yellow:#FFD60A;
  --red:#FF453A;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 22px;
  --container: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(77,163,255,.18), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(47,125,255,.14), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}

.container{max-width:var(--container); margin:0 auto; padding:0 18px;}

.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,.62);
  border-bottom:1px solid var(--line);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0;}

.brand{display:flex; align-items:center; gap:10px; min-width: 160px;}
.brand__logo{
  width:28px;height:28px;border-radius:10px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 10px 30px rgba(77,163,255,.25);
}
.brand__name{font-weight:800; letter-spacing:.2px;}

.nav{display:flex; gap:14px; align-items:center;}
.nav__link{
  font-size:14px; color: var(--muted);
  padding:10px 10px; border-radius:12px;
}
.nav__link:hover{color: var(--text); background: rgba(255,255,255,.06);}
.nav__link.is-active{color: var(--text); background: rgba(77,163,255,.14); border:1px solid rgba(77,163,255,.22);}

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

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:14px; padding:10px 14px;
  font-weight:700; font-size:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
}
.btn:hover{transform: translateY(-1px)}
.btn--primary{
  border-color: rgba(77,163,255,.35);
  background: linear-gradient(135deg, rgba(77,163,255,.95), rgba(47,125,255,.92));
  box-shadow: 0 16px 50px rgba(47,125,255,.25);
}
.btn--ghost{background: rgba(255,255,255,.03);}
.btn--lg{padding:12px 16px; border-radius:16px;}

/* ===== SELECT (Fix white background issue on Chrome/Edge) ===== */
.select{
  border:1px solid var(--line);
  background-color: rgba(255,255,255,.03);
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-radius: 14px;
  padding:10px 12px;
  font-weight:700;
  font-size:14px;
  outline: none;

  /* Critical: avoid UA light theme rendering */
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}
.select:focus{
  border-color: rgba(77,163,255,.35);
  box-shadow: 0 0 0 4px rgba(77,163,255,.10);
}
/* Some browsers paint option list in light bg unless specified */
.select option{
  background: #0B1020;
  color: #EAF0FF;
}
/* ============================================================ */

.main{padding-bottom:60px}
.hero{padding:48px 0 28px;}
.hero__grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:22px; align-items:stretch;}
.hero__left{padding:12px 0}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid rgba(77,163,255,.22);
  background: rgba(77,163,255,.10);
  color: var(--text);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
}
.dot{width:9px;height:9px;border-radius:99px; background: var(--muted);}
.dot--live{background: var(--green); box-shadow: 0 0 0 6px rgba(48,209,88,.12);}

.hero__title{margin:16px 0 10px; font-size:46px; line-height:1.05; letter-spacing:-.8px;}
.hero__lead{margin:0; color: var(--muted); font-size:16px; line-height:1.7; max-width: 60ch;}
.hero__actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap;}

.trust{display:flex; gap:14px; margin-top:18px; flex-wrap:wrap;}
.trust__item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding:12px 12px;
  min-width: 160px;
}
.trust__k{color: var(--muted); font-size:12px;}
.trust__v{margin-top:6px; font-weight:800; font-size:14px;}

.panel{
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius2);
  padding:16px;
  box-shadow: var(--shadow);
}
.panel__head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px;}
.panel__title{font-weight:900; letter-spacing:.2px;}
.panel__badge{
  display:inline-flex; gap:8px; align-items:center;
  border:1px solid rgba(48,209,88,.25);
  background: rgba(48,209,88,.08);
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;}
.card{
  border:1px solid var(--line);
  background: rgba(11,16,32,.55);
  border-radius: var(--radius);
  padding:14px;
}
.card__label{color: var(--muted); font-size:12px;}
.card__value{margin-top:10px; font-size:22px; font-weight:900; letter-spacing:.2px;}
.card__sub{margin-top:8px; color: var(--muted); font-size:12px;}

.marketlist{display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; margin-top:12px;}
.marketitem{
  border:1px solid var(--line);
  background: rgba(11,16,32,.38);
  border-radius: var(--radius);
  padding:14px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}
.marketitem__left{min-width:0}
.marketitem__sym{font-weight:900; letter-spacing:.2px;}
.marketitem__meta{margin-top:6px; color: var(--muted); font-size:12px;}
.pill2{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}
.pill2--low{border-color: rgba(48,209,88,.25); background: rgba(48,209,88,.08);}
.pill2--mid{border-color: rgba(255,214,10,.25); background: rgba(255,214,10,.08);}
.pill2--high{border-color: rgba(255,69,58,.25); background: rgba(255,69,58,.08);}

.meter{
  width:100%; height:12px; border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.meter__bar{
  height:100%;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(48,209,88,.95), rgba(255,214,10,.95), rgba(255,69,58,.95));
  transition: width .35s ease;
}

.section{padding:42px 0;}
.footer{margin-top:30px; border-top:1px solid var(--line); padding:20px 0;}
.footer__inner{display:flex; justify-content:space-between; gap:16px; align-items:center;}
.footer__copy{margin-top:6px; color: var(--muted); font-size:12px;}
.footer__right{display:flex; gap:12px; flex-wrap:wrap;}
.footer__link{color: var(--muted); font-size:13px; padding:8px 10px; border-radius:12px;}
.footer__link:hover{color: var(--text); background: rgba(255,255,255,.05);}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .marketlist{grid-template-columns: 1fr}
  .nav{display:none}
  .hero__title{font-size:38px}
}