/* Age restriction modal for Dice Chips */

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

.dc-age--hidden {
  display: none;
}

.dc-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(20, 184, 196, 0.32), rgba(15, 23, 42, 0.85));
}

.dc-age__modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 var(--space-4);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), #ffffff 60%);
  box-shadow: var(--shadow-lg);
}

.dc-age__content {
  position: relative;
  padding: var(--space-6);
}

.dc-age__eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-strong);
  margin-bottom: var(--space-2);
}

.dc-age__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-3);
}

.dc-age__text {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

.dc-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}

.dc-age__btn {
  min-width: 0;
}

@media (max-width: 640px) {
  .dc-age__content {
    padding: var(--space-5);
  }

  .dc-age__actions {
    flex-direction: column-reverse;
  }

  .dc-age__btn {
    width: 100%;
    justify-content: center;
  }
}

body.dc-age--locked {
  overflow: hidden;
}
