/* OPTIONAL utility class */
.hidden {
  display: none !important;
}

/* Existing styling from your original index.html */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: #0b1020;
  color: #f5f5f5;
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
  justify-content: center;
}
.page {
  width: 100%;
  max-width: 480px;
  padding: 24px;
}
.card {
  background: #141a30;
  border-radius: 16px;
  padding: 24px 20px 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}
h1 {
  margin: 0;
  text-align: center;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.subtitle-main {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  opacity: 0.75;
}
.section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.section:first-of-type {
  margin-top: 4px;
  border-top: none;
  padding-top: 0;
}
.section-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 12px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  flex: 1 1 calc(50% - 10px);
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    135deg,
    rgba(70, 186, 120, 0.12),
    rgba(70, 186, 220, 0.05)
  );
  color: #f5f5f5;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  transition: transform 0.08s ease, box-shadow 0.08s ease,
    background 0.12s ease, border-color 0.12s ease;
}
.btn.full-width {
  flex: 1 1 100%;
}
.btn:hover {
  background: linear-gradient(
    135deg,
    rgba(70, 186, 120, 0.25),
    rgba(70, 186, 220, 0.14)
  );
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.footer-note {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}

h3 {
    text-decoration: underline;
}

red {
    display: block;      /* makes it behave like a <p> */
    margin: 1em 0;       /* paragraph spacing */
    color: green;          /* make text red */
    font-size: 1rem;     /* optional: use normal paragraph size */
    line-height: 1.4;    /* optional: normal paragraph spacing */
    font-weight: bold;
}


    /* Additional styling for tables */
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 12px;
    }
    td {
      border: 1px solid rgba(255,255,255,0.15);
      padding: 6px;
      text-align: center;
      cursor: pointer;
    }
    td.blank {
      cursor: default;
      opacity: 0.2;
    }
    td.selected {
      color: gold;
      font-weight: bold;
    }



@media (max-width: 480px) {
  .card {
    padding: 20px 16px 16px;
  }
  h1 {
    font-size: 2rem;
  }
}
