 :root {
      --green: #10b981;
      --green-dark: #059669;
      --blue: #3b82f6;
      --blue-dark: #1e40af;
      --bg: #f9fafb;
      --text: #111827;
      --radius: 12px;
      --icon-brown: #a0522d;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem;
    }

    .container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .card {
      background: white;
      padding: 2rem;
      border-radius: var(--radius);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
      max-width: 460px;
      width: 100%;
      text-align: center;
    }

    h1 {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--text);
    }

    label {
      display: block;
      margin: 1.5rem 0 0.5rem;
      font-weight: 600;
      text-align: left;
    }

    input[type="date"] {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #e5e7eb;
      border-radius: var(--radius);
      font-size: 1rem;
      margin-top: 0.5rem;
    }

    .gender-buttons {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      margin-top: 0.75rem;
    }

    .gender-btn {
      flex: 1;
      padding: 0.75rem 1rem;
      border: 2px solid #e5e7eb;
      border-radius: var(--radius);
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      background: #f3f4f6;
      color: black;
      transition: all 0.3s ease;
    }

    .gender-btn span {
      color: var(--icon-brown);
      font-size: 1.2rem;
      margin-right: 0.5rem;
    }

    .gender-btn.active {
      background-color: var(--green);
      color: white;
      border-color: var(--green-dark);
    }

    button.reveal {
      margin-top: 2rem;
      padding: 0.75rem;
      width: 100%;
      background: var(--blue);
      color: white;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      border-radius: var(--radius);
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button.reveal:hover {
      background: var(--blue-dark);
    }

    .result {
      margin-top: 2rem;
      font-size: 1.15rem;
      font-weight: 400;
      color: var(--text);
      line-height: 1.6;
    }

    .variations {
      margin-top: 1rem;
      text-align: left;
      background: #f3f4f6;
      border-radius: var(--radius);
      padding: 1rem;
    }

    .variations strong {
      display: block;
      margin-bottom: 0.5rem;
    }

    .variations ul {
      padding-left: 1.2rem;
      margin: 0;
    }

    .variations li {
      margin-bottom: 0.25rem;
      font-size: 0.95rem;
    }

    footer {
      margin-top: 2rem;
      text-align: center;
      font-size: 0.95rem;
      color: #6b7280;
    }

    footer a {
  color: #6b7280; /* grey-500 */
  text-decoration: underline;
}


#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #e0e0e0; /* ✅ Grey background */
  color: #333;
  padding: 1rem;
  z-index: 1000;
  font-size: 0.95rem;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.cookie-box {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-box p {
  margin: 0;
  flex: 1 1 auto;
}

.cookie-box a {
  color: #145DA0;
  text-decoration: underline;
}

.cookie-buttons button {
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 0.5rem;
}

#accept-cookies {
  background: #4caf50; /* ✅ Green */
}

#reject-cookies {
  background: #e53935; /* ✅ Red */
}


    @media (max-width: 480px) {
      .card {
        padding: 1.5rem;
      }

      h1 {
        font-size: 1.5rem;
      }

      .result {
        font-size: 1rem;
      }
    }