/* Age restriction modal for EliteHandLounge */

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

.eh-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(178, 78, 255, 0.5), rgba(0, 0, 0, 0.95));
  backdrop-filter: blur(10px);
}

.eh-age__dialog {
  position: relative;
  max-width: 480px;
  margin: 1.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, #1b002f, #05000f 65%, #000000 100%);
  border: 1px solid rgba(0, 224, 255, 0.5);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 26px rgba(178, 78, 255, 0.8);
  color: #ffffff;
}

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

.eh-age__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3366, #ff9966);
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.eh-age__title {
  margin: 0.55rem 0 0.2rem;
  font-family: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(178, 78, 255, 0.9);
}

.eh-age__body p {
  margin: 0;
  font-size: 0.9rem;
  color: #e2e2ff;
}

.eh-age__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.eh-age__btn {
  min-width: 9rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eh-age__btn--primary {
  background: linear-gradient(120deg, #ff3366, #b24eff, #00e0ff);
  color: #05000f;
  box-shadow: 0 0 18px rgba(178, 78, 255, 0.9);
}

.eh-age__btn--secondary {
  background: transparent;
  border-color: rgba(0, 224, 255, 0.7);
  color: #e6e6ff;
}

.eh-age__btn:hover,
.eh-age__btn:focus-visible {
  transform: translateY(-1px);
}

.eh-age__btn:focus-visible {
  outline: 2px solid #00e0ff;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .eh-age__dialog {
    margin: 1.25rem;
    padding-inline: 1.25rem;
  }

  .eh-age__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .eh-age__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eh-age__btn {
    transition: none !important;
  }
}
