/* Age restriction modal styles for TorqueGarageWorks */

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

.tg-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(224, 154, 76, 0.25), transparent 60%),
    rgba(0, 0, 0, 0.92);
}

.tg-age__dialog {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin-inline: var(--space-4);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(215, 167, 71, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(7, 9, 13, 0.98), rgba(7, 9, 13, 0.96));
  border: 1px solid rgba(215, 167, 71, 0.4);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
}

.tg-age__header {
  margin-bottom: var(--space-4);
}

.tg-age__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.6rem;
  padding-block: 0.18rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(215, 167, 71, 0.6);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-2);
}

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

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

.tg-age__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

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

.tg-age__btn--secondary {
  background: transparent;
}

@media (min-width: 640px) {
  .tg-age__actions {
    flex-direction: row;
  }

  .tg-age__btn {
    width: 50%;
  }
}
