/* Age restriction modal for NightVenueHotel */

.nvh-age-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nvh-age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.96));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nvh-age-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  margin: 1.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at 0 0, #2b1622, #040308);
  border: 1px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.95);
  color: #f6ece0;
}

.nvh-age-modal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nvh-age-modal__badge {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #b31217, #e52d27);
  color: #fff8f0;
  box-shadow: 0 0 0 1px rgba(255, 205, 205, 0.9), 0 10px 26px rgba(0, 0, 0, 0.8);
}

.nvh-age-modal__title {
  margin: 0;
  font-family: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
}

.nvh-age-modal__body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(252, 242, 230, 0.95);
}

.nvh-age-modal__body p {
  margin: 0 0 0.5rem;
}

.nvh-age-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.nvh-age-modal__button {
  min-width: 8rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}

.nvh-age-modal__button--primary {
  background: linear-gradient(135deg, #e0b15b, #f6e7c1 45%, #b8860b 100%);
  color: #130b02;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.9);
}

.nvh-age-modal__button--primary:hover,
.nvh-age-modal__button--primary:focus-visible {
  background: linear-gradient(135deg, #f6e7c1, #ffde8c 40%, #c79410 100%);
  transform: translateY(-1px);
}

.nvh-age-modal__button--secondary {
  background: transparent;
  border-color: rgba(255, 215, 0, 0.5);
  color: rgba(249, 239, 225, 0.95);
}

.nvh-age-modal__button--secondary:hover,
.nvh-age-modal__button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.nvh-age-modal__button:focus-visible {
  outline: 2px solid #f5e0a3;
  outline-offset: 2px;
}

/* Hidden state class, applied via JS after confirmation */

.nvh-age-modal--hidden {
  display: none;
}

@media (max-width: 480px) {
  .nvh-age-modal__dialog {
    margin: 1rem;
    padding: 1.25rem 1.1rem 1rem;
  }

  .nvh-age-modal__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .nvh-age-modal__button {
    width: 100%;
    text-align: center;
  }
}
