:root{
  --bg:#070708;
  --card:#0f0f11;
  --neon:#7b2cff;
  --muted:#bdbdbd;
  --accent:#9b6bff;
  --glass: rgba(255,255,255,0.03);
  --radius:14px;
  --maxw:980px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg,#050506 0%, #09090a 100%);
  color:#e8e8ee;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  font-size:16px;
}

.container{
  width:100%;
  max-width:var(--maxw);
}

/* Card */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:var(--radius);
  padding:28px;
  box-shadow: 0 6px 30px rgba(123,44,255,0.07), inset 0 1px 0 rgba(255,255,255,0.02);
  border:1px solid rgba(123,44,255,0.09);
  backdrop-filter: blur(6px);
}

/* Hero */
#hero{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
}
.hero-left{flex:1}
.hero-right{display:flex;align-items:center;gap:12px}
.headline{
  margin:0 0 8px 0;
  font-size:28px;
  line-height:1.02;
  letter-spacing:-0.02em;
  color:linear-gradient(90deg,#fff,#ddd);
  text-shadow:0 6px 30px rgba(123,44,255,0.12);
}
.sub{
  margin:0 0 18px 0;
  color:var(--muted);
  font-weight:500;
}

/* Badge */
.badge{
  padding:8px 12px;
  border-radius:10px;
  background:linear-gradient(90deg, rgba(123,44,255,0.12), rgba(155,107,255,0.06));
  color:var(--neon);
  font-weight:700;
  letter-spacing:0.06em;
  border:1px solid rgba(123,44,255,0.1);
}

/* Buttons */
.btn{
  font-weight:700;
  border:0;
  padding:12px 18px;
  border-radius:12px;
  cursor:pointer;
  font-size:15px;
  transition:transform .12s ease, box-shadow .12s;
}
.btn:active{transform:translateY(1px)}
.btn.primary{
  background:linear-gradient(90deg,var(--neon),var(--accent));
  color:#0b0b0d;
  box-shadow: 0 8px 30px rgba(123,44,255,0.18);
}
.btn.cta{
  width:100%;
  display:inline-block;
  text-align:center;
  background:linear-gradient(90deg,var(--accent),#b78dff);
  color:#070708;
  padding:16px 20px;
  font-size:17px;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(123,44,255,0.18);
}
.btn.light{
  background:transparent;
  border:1px solid rgba(255,255,255,0.04);
  color:var(--muted);
}

/* Disabled */
.btn.disabled, .btn[disabled]{
  opacity:0.45;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

/* Quiz layout */
#quiz{display:block}
.progress{font-size:13px;color:var(--muted);margin-bottom:12px}
.question{font-size:20px;margin:6px 0 18px 0}
.options{display:grid;gap:10px}
.option{
  border-radius:12px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,0.03);
  background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.01));
  cursor:pointer;
  transition:transform .08s ease, box-shadow .12s;
  user-select:none;
}
.option:hover{transform:translateY(-4px)}
.option.selected{
  outline:2px solid rgba(123,44,255,0.9);
  box-shadow:0 8px 30px rgba(123,44,255,0.12);
  background:linear-gradient(90deg, rgba(123,44,255,0.06), rgba(155,107,255,0.03));
}

/* Controls */
.controls{display:flex;justify-content:flex-end;margin-top:16px}

/* Result */
.bullets{margin:12px 0 18px 0;padding-left:18px;color:var(--muted)}
.cta-row{margin:18px 0}

/* Extras row */
.extras{display:flex;gap:10px;flex-wrap:wrap}

/* Hidden helper */
.hidden{display:none}

/* Responsiveness */
@media (max-width:760px){
  .headline{font-size:22px}
  #hero{flex-direction:column;align-items:flex-start}
  .card{padding:18px}
}
