/* Age restriction modal styles */

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

.rehub-age--visible {
  display: flex;
}

.rehub-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
  backdrop-filter: blur(10px);
}

.rehub-age__dialog {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  margin-inline: 1.5rem;
}

.rehub-age__content {
  background: linear-gradient(145deg, #020617, #020617);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  box-shadow: var(--shadow-strong);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

.rehub-age__content::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.26), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.rehub-age__eyebrow {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #bae6fd;
  margin-bottom: 0.6rem;
}

.rehub-age__title {
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
  color: #f9fafb;
}

.rehub-age__description {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 1.25rem;
}

.rehub-age__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rehub-age__btn {
  flex: 1 1 120px;
}

.rehub-age__note {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.95);
}

@media (max-width: 480px) {
  .rehub-age__content {
    padding: var(--space-24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rehub-age__content {
    transition: none;
  }
}