body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  background: #f3f6ff;
  margin: 0;
  padding: 40px 20px;
  color: #1f2937;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  margin: 0 0 10px;
  color: #243b7a;
  font-size: 34px;
}

.description {
  margin: 0 0 28px;
  color: #667085;
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 100px;
  border: 1px solid #c7d2fe;
  border-radius: 20px;
  background: #ffffff;
  color: #243b7a;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(36, 59, 122, 0.08);
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button-row button {
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.answer-time-button {
  background: #1d4ed8;
}

.reset-button {
  background: #475467;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

.modal-content h2 {
  margin: 0 0 12px;
  color: #243b7a;
  font-size: 26px;
}

.modal-content p {
  margin: 0 0 24px;
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
}

.modal-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0 0 24px;
  text-align: left;
}

.modal-topic {
  margin: 0;
  padding: 10px 14px;
  background: #eef2ff;
  border-radius: 10px;
  color: #243b7a;
  font-size: 16px;
  font-weight: 700;
}

.modal-content .answer-time-button {
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  background: #1d4ed8;
  color: #fff;
  font: inherit;
  font-weight: 700;
}
