.age-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.age-modal {
  background: #ffffff;
  color: #1a1a1a;
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Segoe UI", sans-serif;
  animation: fadeInUp 0.5s ease-out;
}

.age-modal h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #cc0000;
}

.info-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}

.confirm-text {
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  color: #222;
}

.confirmation-list {
  list-style: none;
  padding-left: 0;
  margin: 0 auto 1.5rem;
  max-width: 400px;
  text-align: left;
}

.confirmation-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #333;
}

.confirmation-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.age-btn-yes,
.age-btn-no {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-btn-yes {
  background-color: #28a745;
  color: #fff;
}

.age-btn-yes:hover {
  background-color: #218838;
}

.age-btn-no {
  background-color: #dc3545;
  color: #fff;
}

.age-btn-no:hover {
  background-color: #c82333;
}

.responsible-gamble-text {
  font-size: 0.85rem;
  color: #cc0000;
  margin-top: 1.5rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional: Prevent background scroll when overlay is active */
body.age-lock {
  overflow: hidden;
}