*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  background:#0b1020;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#fff;
}

.app{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:24px;
}

.card{
  width:380px;
  background:#121a33;
  border-radius:18px;
  padding:24px;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
  overflow:hidden;
}

.header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}

.logo{
  width:120px;
  height:auto;
  display:block;
}

.title{
  font-weight:900;
  color:#93c5fd;
  font-size:18px;
}

.game-title{
  margin:6px 0 10px;
  font-size:22px;
  font-weight:900;
}

.scorebar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin:6px 0 14px;
}

.score{
  color:#b5e3ff;
  font-size:14px;
}

.trophy{
  font-size:14px;
  font-weight:800;
  color:#eaf0ff;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding:6px 10px;
  border-radius:999px;
}

.question{
  margin:14px 0 12px;
  font-size:18px;
  font-weight:700;
  line-height:1.35;
}

.buttons{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:10px;
}

button{
  border:none;
  border-radius:14px;
  padding:14px 12px;
  font-weight:900;
  cursor:pointer;
}

.safe{
  background:#22c55e;
  color:#06210f;
}

.not-safe{
  background:#ef4444;
  color:#2b0606;
}

.result{
  margin-top:14px;
  min-height:44px;
  font-size:15px;
  line-height:1.4;
  white-space:pre-line;
  color:#eaf0ff;
}

.next{
  width:100%;
  margin-top:14px;
  padding:14px 12px;
  border-radius:14px;
  background:#6366f1;
  color:#fff;
  font-weight:900;
  display:none;
}

.restart{
  width:100%;
  margin-top:14px;
  padding:14px 12px;
  border-radius:14px;
  background:#334155;
  color:#fff;
  font-weight:900;
  display:none;
}
.policy{
  margin-top:12px;
  font-size:12px;
  color:#b6c2e2;
  text-align:center;
}

.policy a{
  color:#22c55e;
  text-decoration:none;
}

.policy a:hover{
  text-decoration:underline;
}
