:root{
  --bg:#0f1724;
  --card:#0b1220;
  --accent:#2b8efd;
  --muted:#9aa4b2;
  --success:#16a34a;
  --danger:#ef4444;
  --glass: rgba(255,255,255,0.03);
  font-family: Inter, ui-sans-serif, 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,#071022 0%, #0b1220 100%);
  color:#e6eef8;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.container{
  width:100%;
  max-width:760px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.015));
  border-radius:12px;
  padding:20px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  margin-bottom:18px;
}

header{ text-align:center; margin-bottom:12px;}
h1{margin:6px 0 4px; font-size:28px}
.rules{color:var(--muted); margin:0}

.hidden{display:none}

.meta{
  display:flex; justify-content:space-between; color:var(--muted);
  margin-bottom:8px;
}

h3{ margin:8px 0 14px; font-size:20px }

.answer-area{ display:flex; gap:12px; align-items:center; margin-bottom:10px;}
#text-answer{ flex:1; padding:10px; border-radius:8px; border:1px solid rgba(255,255,255,0.06); background:var(--glass); color:inherit; outline:none;}

.options{ margin-top:10px; padding:12px; border-radius:8px; background:rgba(255,255,255,0.02);}

.option-controls{ display:flex; gap:10px; margin-top:8px; align-items:center;}

.btn{
  background:var(--accent);
  color:white; border:none; padding:9px 14px; border-radius:8px; cursor:pointer;
  font-weight:600;
}
.btn.outline{ background:transparent; border:1px solid rgba(255,255,255,0.06); color:var(--muted); font-weight:600;}

.options-list{ display:flex; flex-direction:column; gap:8px; margin-top:6px;}
.option-item{ background:transparent; border:1px solid rgba(255,255,255,0.04); padding:10px; border-radius:8px; cursor:pointer; text-align:left;}

.feedback{ margin-top:12px; padding:10px; border-radius:8px; }
.feedback.success{ background: rgba(22,163,74,0.12); border:1px solid rgba(22,163,74,0.18); color:var(--success) }
.feedback.wrong{ background: rgba(239,68,68,0.08); border:1px solid rgba(239,68,68,0.12); color:var(--danger) }

.nav{ margin-top:14px; text-align:right; }

.summary{ text-align:left; background:rgba(255,255,255,0.02); padding:10px; border-radius:8px; margin:10px 0; color:var(--muted) }

footer{ text-align:center; color:var(--muted); font-size:13px; margin-top:8px; }
