:root{
  --bg-0:#060817;
  --bg-1:#0B1030;
  --card:#0E173A;
  --text:#EAF0FF;
  --muted:#B8C3E6;
  --border:rgba(255,255,255,.12);
  --shadow:0 18px 50px rgba(0,0,0,.45);

  /* Plinko / casino-like neon palette */
  --primary:#7C3AED;   /* neon violet */
  --secondary:#22D3EE; /* neon cyan */
  --accent:#F472B6;    /* neon pink */
  --gold:#FBBF24;

  /* Risk colors commonly used in Plinko UIs */
  --risk-low:#22C55E;
  --risk-mid:#F59E0B;
  --risk-high:#EF4444;

  --radius:18px;
  --max:1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
/* hard-disable horizontal page scroll */
html{overflow-x:clip}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, "Noto Kufi Arabic", "Noto Naskh Arabic", sans-serif;
  color:var(--text);
  /* unified smooth background (no hard "cut" / banding) */
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(124,58,237,.22), rgba(124,58,237,0) 72%),
    radial-gradient(860px 520px at 82% 16%, rgba(34,211,238,.16), rgba(34,211,238,0) 74%),
    radial-gradient(820px 560px at 62% 88%, rgba(244,114,182,.12), rgba(244,114,182,0) 76%),
    linear-gradient(135deg,
      #050713 0%,
      #070A1B 18%,
      #090D25 40%,
      #0A1030 62%,
      #0B1030 100%
    );
  background-attachment: fixed;
  line-height:1.8;
  overflow-x:clip;
  max-width:100vw;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

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

/* prevent media from forcing overflow */
img, svg, video, canvas{max-width:100%; height:auto}

/* long strings should wrap (prevents overflow from long URLs/words) */
p, li, td, th, a{overflow-wrap:anywhere; word-break:break-word}

main, header, footer{max-width:100vw; overflow-x:clip}

/* Header */
.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(12px);
  background: rgba(6,8,23,.62);
  border-bottom:1px solid var(--border);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap: 40px;
  padding: 14px 24px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
}
.brand__logo{
    width: 100px;
    height: 42px;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.40));
}
.nav{
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:center; justify-content:flex-start;
}
.nav a{
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:999px;
  color:var(--muted);
  font-weight:650;
  font-size:14px;
}
.nav a:hover{
  color:var(--text);
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
}
.nav a[aria-current="page"]{
  color:var(--text);
  border-color:rgba(255,255,255,.22);
  background: linear-gradient(90deg, rgba(124,58,237,.20), rgba(34,211,238,.14));
}

/* Hero */
.hero{padding:34px 0 18px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
.card{
  background: rgba(14,23,58,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__main{padding:22px}
.eyebrow{
  display:inline-flex;
  gap:8px; align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:650;
  font-size:13px;
}
.dot{
  width:9px; height:9px; border-radius:50%;
  background: var(--secondary);
  box-shadow:0 0 0 4px rgba(34,211,238,.18);
}
h1{margin:10px 0 10px; font-size: clamp(26px, 3.2vw, 40px); line-height:1.25}
p{margin:10px 0; color:var(--muted)}
.cta{
  margin-top:14px;
  display:flex; flex-wrap:wrap; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:750;
}
.btn--primary{
  border-color: transparent;
  background: linear-gradient(90deg, rgba(124,58,237,.95), rgba(34,211,238,.85));
  box-shadow: 0 18px 45px rgba(124,58,237,.25);
}
.btn--primary:hover{filter:saturate(1.08) brightness(1.04)}
.btn--ghost:hover{background: rgba(255,255,255,.09)}

.hero__side{padding:18px}
.stats{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.stat{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.stat b{display:block; font-size:13px; color:var(--muted)}
.stat span{display:block; font-size:18px; font-weight:850; margin-top:4px}

/* Sections */
.section{padding:18px 0}
.section h2{
  margin:0 0 10px;
  font-size:22px;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(14,23,58,.65);
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  vertical-align:top;
  text-align:start;
}
.table th{
  color:var(--text);
  font-size:13px;
  background: rgba(255,255,255,.04);
}
.table td{color:var(--muted); font-weight:600}
.table tr:last-child td{border-bottom:none}

.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}
.pill--low{border-color:rgba(34,197,94,.35); color:#D7FFE6}
.pill--mid{border-color:rgba(245,158,11,.35); color:#FFF1D3}
.pill--high{border-color:rgba(239,68,68,.35); color:#FFE1E1}
.pill i{
  width:10px; height:10px; border-radius:50%;
  display:inline-block;
}
.pill--low i{background:var(--risk-low)}
.pill--mid i{background:var(--risk-mid)}
.pill--high i{background:var(--risk-high)}

.note{
  border:1px dashed rgba(255,255,255,.20);
  background: rgba(255,255,255,.04);
  padding:14px 14px;
  border-radius: var(--radius);
}
.note b{color:var(--text)}

/* Footer */
footer{
  margin-top:18px;
  border-top:1px solid var(--border);
  background: rgba(6,8,23,.55);
}
.footer__inner{    padding: 18px 32px; color:var(--muted); font-size:14px}
.footer__links{display:flex; flex-wrap:wrap; gap:12px; margin-top:8px}
.footer__links a{color:var(--muted)}
.footer__links a:hover{color:var(--text)}

/* Utilities */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Responsive */
@media (max-width: 920px){
  .hero__grid{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  /* prevent page horizontal scroll on mobile/tablet:
     tables can be wider than viewport -> allow inner scrolling */
  .table{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
  }
  .table th,.table td{white-space:nowrap}
}
@media (max-width: 540px){
  .nav a{font-size:13px; padding:7px 10px}
  .hero{padding-top:22px}
}


