/* Age restriction modal for DeckNightBar */

.dnb-age-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dnb-age-modal--visible {
  display: flex;
}

.dnb-age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(60, 166, 106, 0.35), transparent 55%),
              radial-gradient(circle at 80% 100%, rgba(186, 129, 80, 0.4), rgba(15, 9, 7, 0.95) 60%);
  backdrop-filter: blur(10px);
}

.dnb-age-modal__dialog {
  position: relative;
  max-width: 480px;
  margin: 1.5rem;
  z-index: 1;
}

.dnb-age-modal__content {
  background: #110b08;
  border-radius: 1rem;
  border: 1px solid rgba(245, 194, 132, 0.5);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.7);
  padding: 1.6rem 1.5rem 1.4rem;
  color: #f3ebdf;
}

.dnb-age-modal__title {
  margin: 0 0 0.8rem;
  font-family: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dnb-age-modal__text {
  margin: 0 0 1.2rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #e7ddcf;
}

.dnb-age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dnb-age-modal__btn {
  flex: 1 1 9rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
}

.dnb-age-modal__btn--primary {
  background: linear-gradient(135deg, #3ca66a, #b6e0c8);
  color: #0b120e;
  border-color: rgba(0, 0, 0, 0.75);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55);
}

.dnb-age-modal__btn--primary:hover {
  filter: brightness(1.04);
}

.dnb-age-modal__btn--secondary {
  background: transparent;
  color: #f3ebdf;
  border-color: rgba(231, 221, 207, 0.5);
}

.dnb-age-modal__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dnb-age-modal__btn:focus-visible {
  outline: 2px solid #f5c284;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .dnb-age-modal__content {
    padding: 1.4rem 1.2rem 1.3rem;
  }

  .dnb-age-modal__title {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dnb-age-modal__backdrop {
    backdrop-filter: none;
  }
}