/* Age restriction modal for "PG OPS" PAWEŁ GRUCHALSKI */

.env-age {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.env-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.98));
}

.env-age__dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  padding: 0 var(--space-4);
}

.env-age__content {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: radial-gradient(circle at top left, rgba(255, 24, 103, 0.25), rgba(7, 11, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-strong);
}

.env-age__label {
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 24, 103, 0.16);
  border: 1px solid rgba(255, 24, 103, 0.7);
}

.env-age__title {
  margin-bottom: var(--space-3);
}

.env-age__description {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-5);
}

.env-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.env-age__btn {
  flex: 1 1 45%;
  justify-content: center;
}

.env-age__note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

@media (max-width: 520px) {
  .env-age__content {
    padding: var(--space-5) var(--space-4) var(--space-4);
  }

  .env-age__actions {
    flex-direction: column;
  }
}

/* When age confirmed via JS, .env-age will be removed or hidden */
