/* Age restriction modal for Lucky Night Event */

.lne-age-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.lne-age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 215, 0, 0.18), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(10px);
}

.lne-age-modal__panel {
  position: relative;
  max-width: 520px;
  width: calc(100% - 2.5rem);
  background: radial-gradient(circle at top, #1b070f, #050308 65%);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  padding: 1.4rem 1.5rem 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lne-age-modal__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lne-age-modal__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #ffd700, #b8860b 60%, #4b0108 100%);
  color: #0b0509;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 30px rgba(0, 0, 0, 0.9);
}

.lne-age-modal__title {
  margin: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.35rem;
}

.lne-age-modal__description {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.lne-age-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.lne-age-modal__button {
  cursor: pointer;
  border-radius: 999px;
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.lne-age-modal__button--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.lne-age-modal__button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lne-age-modal__button--primary {
  background: linear-gradient(120deg, #ffd700, #ff9f1c);
  color: #1a0b02;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.95);
}

.lne-age-modal__button--primary:hover {
  background: linear-gradient(120deg, #ffe37a, #ffb347);
}

@media (max-width: 520px) {
  .lne-age-modal__panel {
    width: calc(100% - 1.8rem);
    padding: 1.2rem 1.15rem 1.05rem;
  }

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

  .lne-age-modal__button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lne-age-modal,
  .lne-age-modal * {
    transition: none !important;
    animation: none !important;
  }
}
