/* Age restriction modal styles */

.hv-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: radial-gradient(circle at top, rgba(12, 14, 20, 0.9) 0, rgba(0, 0, 0, 0.98) 55%);
}

.hv-age-modal {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18) 0, transparent 50%),
              radial-gradient(circle at bottom right, rgba(122, 26, 51, 0.35) 0, transparent 55%),
              rgba(9, 11, 20, 0.98);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft-lg);
}

.hv-age-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.hv-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-burgundy), #e85a5a);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 0, 0, 0.9);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hv-age-title {
  font-size: var(--font-size-2xl);
}

.hv-age-body p {
  font-size: 0.95rem;
}

.hv-age-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hv-age-btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hv-age-actions {
    flex-direction: row;
  }

  .hv-age-btn {
    width: auto;
    flex: 1;
  }
}

/* When age modal is active, the body can get a helper class (added by JS) */

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

.hv-age-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}
