/* Age restriction modal styles for Velvet Venue */

.vv-age {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vv-age[hidden] {
  display: none !important;
}

.vv-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.96));
}

.vv-age__dialog {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding-inline: var(--space-4);
}

.vv-age__content {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.16), rgba(15, 23, 42, 0.96));
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.vv-age__title {
  font-size: var(--font-size-2xl);
  color: #f9fafb;
  margin-bottom: var(--space-3);
}

.vv-age__text {
  font-size: var(--font-size-sm);
  color: rgba(226, 232, 240, 0.96);
}

.vv-age__note {
  font-size: var(--font-size-xs);
  color: rgba(148, 163, 184, 0.96);
  margin-top: var(--space-2);
}

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

.vv-age__btn {
  flex: 1 1 160px;
  justify-content: center;
}

.vv-age__btn--secondary {
  background: rgba(15, 23, 42, 0.2);
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.vv-age__btn--secondary:hover,
.vv-age__btn--secondary:focus-visible {
  background: rgba(30, 64, 175, 0.4);
}

/* Body lock helper */

body[data-age-gate="locked"] {
  overflow: hidden;
}

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

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

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