:root{
  --bg:#0b0d10;
  --panel:#11151b;
  --text:#e9eef5;
  --muted:#a8b3c3;
  --line:rgba(255,255,255,.10);
  --soft:rgba(255,255,255,.06);
  --accent:#7bdcff;
  --accent2:#b3ffcc;
  --danger:#ff7b9c;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --radius2: 22px;
  --max: 980px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% -10%, rgba(123,220,255,.18), transparent 50%),
              radial-gradient(900px 500px at 80% 0%, rgba(179,255,204,.12), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

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

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,13,16,.60);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.brand-dot{
  width:10px; height:10px; border-radius:99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px rgba(123,220,255,.35);
}
.nav{
  display:flex; gap:16px;
  font-size:14px;
  color:var(--muted);
}
.nav a{padding:8px 10px; border-radius:999px}
.nav a:hover{background:var(--soft); color:var(--text)}

.bmc-top{
  font-size:14px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.03);
}
.bmc-top:hover{background: rgba(255,255,255,.06)}

.hero{padding:54px 0 18px}
.hero h1{
  margin:0;
  font-size:42px;
  letter-spacing:-.6px;
}
.subtitle{
  margin:12px 0 0;
  color:var(--muted);
  font-size:16px;
  max-width:72ch;
}

.hero-cards{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.card{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
.card-title{font-weight:800; margin-bottom:6px}
.card-text{color:var(--muted); font-size:14px}

.about-strip{
  margin-top:14px;
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.02);
}
.note-dot{
  width:8px; height:8px; border-radius:99px;
  background: rgba(123,220,255,.8);
}

.tool{padding:22px 0 38px}
.tool-header h2{margin:0; font-size:24px}
.muted{color:var(--muted)}
.small{font-size:12.5px}

.quiz{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.q{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
}
.q-head{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.q-title{font-weight:800}
.q-sub{color:var(--muted); font-size:13px; margin-top:6px}

.options{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.opt{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding:10px 10px;
  cursor:pointer;
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
  user-select:none;
  min-height:44px;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  font-size:13px;
  color:var(--muted);
}
.opt:hover{transform: translateY(-1px); background: rgba(255,255,255,.05)}
.opt[data-selected="true"]{
  border-color: rgba(123,220,255,.55);
  background: rgba(123,220,255,.10);
  color:var(--text);
}

.actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  border-radius: 999px;
  padding:12px 16px;
  cursor:pointer;
  font-weight:700;
}
.btn:hover{background: rgba(255,255,255,.06)}
.btn.primary{
  border-color: rgba(123,220,255,.55);
  background: rgba(123,220,255,.10);
}
.btn.ghost{background: transparent}
.btn.small{padding:10px 12px; font-size:13px}

.result{
  margin-top:18px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.result-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 16px 14px;
  border-bottom:1px solid var(--line);
}
.result-label{color:var(--muted); font-size:13px}
.result-level{font-size:22px; font-weight:900; margin-top:2px}
.result-score{color:var(--muted); font-size:13px; margin-top:2px}
.result-badge{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  font-weight:900;
}
.result-body{padding:16px}
.result-summary{margin:0 0 12px}
.tips{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}
.tip{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  padding:14px;
}
.tip-title{font-weight:900; margin-bottom:6px}
.tip-text{color:var(--muted)}
.result-footer{margin-top:14px}
.share-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

.info, .faq{padding:34px 0}
.info h2, .faq h2{margin:0 0 12px}
.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.info-block{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}
.info-block h3{margin:0 0 8px}
.info-block p{margin:0; color:var(--muted)}

details{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:14px 16px;
  margin-top:10px;
}
summary{cursor:pointer; font-weight:900}
details p{color:var(--muted); margin:10px 0 0}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0 26px;
  background: rgba(0,0,0,.15);
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:16px; flex-wrap:wrap;
}
.footer-brand{font-weight:900}
.footer-right{
  display:flex; gap:14px; flex-wrap:wrap;
  color:var(--muted);
  font-size:14px;
}
.footer-right a:hover{color:var(--text)}

.ad-slot{
  margin-top:18px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding:14px;
  color:var(--muted);
  background: rgba(255,255,255,.02);
}

/* Consent banner */
.consent{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  border-top:1px solid var(--line);
  background: rgba(11,13,16,.90);
  backdrop-filter: blur(10px);
}
.consent-inner{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
  padding:14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.consent-text{
  color: var(--muted);
  font-size: 13px;
  max-width: 80ch;
}
.consent-text a{ text-decoration: underline; }
.consent-actions{display:flex; gap:10px; flex-wrap:wrap}

/* Mobile */
@media (max-width: 900px){
  .hero-cards{grid-template-columns:1fr}
  .options{grid-template-columns:1fr 1fr}
  .tips{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .nav{display:none}
}