:root{
  --bg0:#0b0b14;
  --bg1:#0f0f1a;
  --card:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.12);
  --text:#ffffff;
  --muted:rgba(255,255,255,.78);
  --muted2:rgba(255,255,255,.62);
  --cyan:#00e5ff;
  --purple:#8a5cff;
  --gold:#ffd400;
  --danger:#ff3b6b;
  --radius:18px;
  --shadow:0 10px 40px rgba(0,0,0,.45);
  --glow:0 0 28px rgba(0,229,255,.42);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:
    radial-gradient(1200px 600px at 30% -10%, rgba(138,92,255,.28), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(0,229,255,.22), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(255,212,0,.10), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  color:var(--text);
}

a{color:var(--cyan); text-decoration:none}
a:hover{opacity:.92}

.wrap{
  min-height:100%;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:18px 14px 36px;
}

.shell{
  width:min(520px, 100%);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 2px 14px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.brand .name{
  font-weight:900;
  letter-spacing:.4px;
  font-size:22px;
  line-height:1.1;
}
.brand .tag{
  font-size:12px;
  color:var(--muted2);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  box-shadow:0 6px 18px rgba(0,0,0,.22);
  font-size:12px;
  color:var(--muted);
}

.pill strong{color:var(--text)}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.card .hd{
  padding:16px 16px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.card .hd h1{
  margin:0;
  font-size:16px;
  letter-spacing:.2px;
}
.card .bd{padding:16px}

.hero{
  padding:16px;
  border-radius:var(--radius);
  background:
    radial-gradient(550px 220px at 15% 10%, rgba(0,229,255,.20), transparent 55%),
    radial-gradient(520px 250px at 80% 10%, rgba(138,92,255,.20), transparent 55%),
    rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
}

.hero .headline{
  font-size:22px;
  font-weight:900;
  letter-spacing:.2px;
  margin:0 0 6px;
}
.hero .sub{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.45;
}

.cta{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-radius:999px;
  padding:14px 16px;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  background:linear-gradient(90deg, var(--cyan), rgba(0,229,255,.70));
  color:#041016;
  box-shadow:var(--glow);
  transition:transform .12s ease, filter .12s ease;

  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.cta:active{transform:scale(.98)}
.cta.secondary{
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  color:var(--text);
  box-shadow:none;
}

.row{
  display:flex;
  gap:10px;
  margin-top:10px;
}
.row > *{flex:1}

.balls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  padding:8px 0 2px;
}

.ball{
  width:50px;
  height:50px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:16px;
  letter-spacing:.2px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.20), transparent 48%),
    radial-gradient(circle at 70% 70%, rgba(0,229,255,.24), transparent 55%),
    rgba(0,0,0,.55);
  border:1px solid rgba(0,229,255,.28);
  box-shadow:0 0 18px rgba(0,229,255,.25);
}

.kpi{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.kpi .box{
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.kpi .box .t{font-size:11px;color:var(--muted2)}
.kpi .box .v{font-size:16px;font-weight:900;margin-top:4px}

.msg{
  margin-top:12px;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  line-height:1.5;
}

.nav{
  display:flex;
  gap:10px;
  margin-top:14px;
}
.nav button{
  flex:1;
  padding:12px 10px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
  font-weight:800;
}
.nav button.active{
  border-color:rgba(0,229,255,.45);
  box-shadow:0 0 0 3px rgba(0,229,255,.12);
}

.list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.item .left{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.item .meta{font-size:12px;color:var(--muted2)}
.item .nums{font-weight:900; letter-spacing:.2px}
.badge{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,212,0,.14);
  border:1px solid rgba(255,212,0,.25);
  color:#ffe78a;
  font-weight:900;
}

.small{
  font-size:12px;
  color:var(--muted2);
  line-height:1.4;
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:10px;
}
.field label{font-size:12px;color:var(--muted2)}
.select, .input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
.hr{
  height:1px;
  background:rgba(255,255,255,.08);
  margin:14px 0;
}
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(0,0,0,.72);
  z-index:9999;
}
.modal .box{
  width:min(520px, 100%);
  border-radius:20px;
  padding:18px 16px;
  background:linear-gradient(180deg, rgba(18,18,34,.98), rgba(10,10,20,.98));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 80px rgba(0,0,0,.6);
}
.modal h2{margin:0 0 8px; font-size:16px}
.modal p{margin:0 0 14px; color:var(--muted); line-height:1.55; font-size:13px}
.modal .actions{display:flex; gap:10px}
.modal .actions button{flex:1}

.bloglinks{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.bloglinks a{font-size:13px}

.footer{
  margin-top:14px;
  padding:10px 2px 0;
  text-align:center;
  color:var(--muted2);
  font-size:12px;
}

@media (min-width: 900px){
  .wrap{padding-top:28px}
}


.adSlot{margin:14px 0; min-height:0;}
.adSlot ins.adsbygoogle{display:block;}


.balls{display:flex;flex-direction:column;gap:10px;}
.ballsMainRow{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;}
.ballsExtraWrap{display:none;align-items:center;justify-content:center;gap:10px;}
.ballsExtraLabel{font-size:12px;color:var(--muted2);letter-spacing:.08em;text-transform:uppercase;}
.ball.pop{animation:pop .22s ease-out;}
@keyframes pop{from{transform:scale(.85);opacity:.7}to{transform:scale(1);opacity:1}}

.modal .actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;}
.shareRow{display:flex;gap:10px;flex-wrap:wrap;}
.shareRow .cta{flex:1;min-width:140px;}

.hero,.row,.tabs,.card{position:relative; z-index:2;}
#adHome,#adInsights{position:relative; z-index:1;}
