/* GraytonLux Age Restriction Modal */

.glx-age {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.glx-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.95));
}

.glx-age__panel {
  position: relative;
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background:
    radial-gradient(circle at top left, rgba(196, 154, 58, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(8, 12, 20, 0.96), #050509);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glx-age__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-4);
}

.glx-age__badge {
  font-size: var(--font-size-xs);
}

.glx-age__title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-3);
}

.glx-age__text {
  font-size: var(--font-size-sm);
}

.glx-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.glx-age__button {
  flex: 1 1 180px;
  font-size: var(--font-size-xs);
}

.glx-age__note {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .glx-age__panel {
    padding: var(--space-5) var(--space-4);
  }

  .glx-age__title {
    font-size: var(--font-size-2xl);
  }

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