.ma-age {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ma-age[hidden] {
  display: none;
}

.ma-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(18, 24, 40, 0.9), rgba(0, 0, 0, 0.98));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ma-age__dialog {
  position: relative;
  max-width: 420px;
  margin: 0 1.25rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: radial-gradient(circle at top, #151927, #05070b 60%);
  border-radius: 20px;
  border: 1px solid rgba(244, 217, 163, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  color: rgba(248, 245, 239, 0.96);
}

.ma-age__header {
  margin-bottom: 0.75rem;
}

.ma-age__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 217, 163, 0.86);
}

.ma-age__title {
  margin: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: #f8f5ef;
}

.ma-age__description {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(232, 236, 244, 0.94);
}

.ma-age__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.ma-age__button {
  width: 100%;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.ma-age__button--primary {
  background: linear-gradient(135deg, #c28a3c, #7a5231);
  border-color: rgba(244, 217, 163, 0.9);
  color: #05070b;
}

.ma-age__button--primary:hover,
.ma-age__button--primary:focus-visible {
  background: linear-gradient(135deg, #f4d9a3, #c28a3c);
}

.ma-age__button--secondary {
  background: transparent;
  border-color: rgba(244, 217, 163, 0.55);
  color: rgba(244, 217, 163, 0.9);
}

.ma-age__button--secondary:hover,
.ma-age__button--secondary:focus-visible {
  background: rgba(244, 217, 163, 0.08);
}

.ma-age__button:focus-visible {
  outline: 2px solid #f4d9a3;
  outline-offset: 3px;
}

.ma-age__note {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(200, 205, 218, 0.9);
}

@media (max-width: 480px) {
  .ma-age__dialog {
    margin: 0 1rem;
    padding: 1.5rem 1.25rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ma-age__backdrop,
  .ma-age__dialog {
    transition: none !important;
  }
}
