
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(120deg, #0c3359 60%, #1e90ff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.container {
  background: rgba(12, 51, 89, 0.98);
  border: 1px solid;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(30, 52, 90, 0.18);
  padding: 1.4rem 1.5rem 1.5rem 1.5rem;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

h2 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #fff;
}

.row {
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 0.01rem;
  background: rgba(255,255,255,0.04);
  transition: background 0.15s, box-shadow 0.15s;
}

.answers {
  display: none;
}

.answers + label {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  color: #e3e3e3;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.answers:checked + label {
  background: #1e90ff;
  color: #fff;
  border-color: #1e90ff;
  box-shadow: 0 2px 8px 0 rgba(30,144,255,0.10);
}

 .answers:focus + label {
  background: rgba(30,144,255,0.13);
  color: #fff;
}

button {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-radius: 20px;
  background: #1e90ff;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(30,144,255,0.10);
  transition: background 0.15s, box-shadow 0.15s;
}

button:hover, button:focus {
  background: #1565c0;
  box-shadow: 0 4px 16px 0 rgba(30,144,255,0.18);
}

#result {
  margin-top: 0.7rem;
  min-height: 24px;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 500;
  color: #ffe082;
  letter-spacing: 0.5px;
}

@media (max-width: 500px) {
  .container {
    max-width: 98vw;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  button {
    font-size: 0.95rem;
  }
}