/* Villám Start - Age restriction modal */

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

.vs-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.2), transparent 60%),
    rgba(0, 0, 0, 0.9);
}

.vs-age__dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  padding-inline: var(--space-16);
}

.vs-age__content {
  position: relative;
  z-index: 1;
  padding: var(--space-32) var(--space-24);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(circle at bottom, rgba(193, 39, 45, 0.25), transparent 55%),
    #05060a;
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: var(--shadow-strong);
}

.vs-age__title {
  font-size: 1.4rem;
  margin-bottom: var(--space-12);
}

.vs-age__desc {
  font-size: 0.9rem;
  margin-bottom: var(--space-24);
}

.vs-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.vs-age__btn {
  flex: 1 1 160px;
}

@media (max-width: 520px) {
  .vs-age__content {
    padding: var(--space-24) var(--space-20);
  }

  .vs-age__title {
    font-size: 1.2rem;
  }
}

/* When modal is dismissed, the script may add a helper class to hide it */
.vs-age--hidden {
  display: none !important;
}
