
:root{
  --bg:#0b0f19;
  --card:#121a2a;
  --text:#e8eefc;
  --muted:#b9c5e6;
  --line:#243252;
  --ok:#2ee59d;
  --bad:#ff5c7a;
  --warn:#ffd166;
  --btn:#223152;
  --btn2:#2b3f6b;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% -10%, #1a2a52 0%, transparent 60%), var(--bg);
  color:var(--text);
}
.container{max-width:920px; margin:0 auto; padding:24px 16px 40px;}
.header{margin:8px 0 18px;}
.badge{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.2px;
}
h1{margin:10px 0 6px; font-size:28px;}
.subtitle{margin:0; color:var(--muted);}
.card{
  background:rgba(18,26,42,.92);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.question{
  font-size:18px;
  line-height:1.45;
  margin-bottom:14px;
}
.controls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 14px;
}
.btn{
  border:1px solid var(--line);
  background:var(--btn);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
}
.btn:hover{background:var(--btn2)}
.btn.primary{
  background: linear-gradient(180deg, #2b65ff 0%, #1e48c7 100%);
  border-color:#2c5cff;
}
.btn.primary:hover{filter:brightness(1.05)}
.btn.ghost{background:transparent}
.status{
  min-height:24px;
  color:var(--muted);
  margin-bottom:10px;
}
.answers{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
@media (min-width: 720px){
  .answers{grid-template-columns:1fr 1fr;}
}
.option{
  border:1px solid var(--line);
  background: rgba(10,16,28,.55);
  border-radius:14px;
  padding:12px 12px;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.option input{
  width:18px; height:18px; margin-top:2px;
}
.option .text{line-height:1.35}
.option.correct{border-color: rgba(46,229,157,.55);}
.option.wrong{border-color: rgba(255,92,122,.6);}
.option.correct .tag{color:var(--ok)}
.option.wrong .tag{color:var(--bad)}
.tag{
  font-size:12px;
  margin-left:auto;
  opacity:.95;
}
.footer{
  margin-top:14px;
  color:var(--muted);
  font-size:13px;
}
.small{
  font-size:13px;
  color:var(--muted);
  margin-top:6px;
}
