/* ================================================
   LuckyPulse – Age Verification Popup Styles
   ================================================ */

@keyframes iconBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30%       { transform: scale(1.2) rotate(-8deg); }
  60%       { transform: scale(0.95) rotate(5deg); }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 6, 30, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.age-overlay.hidden { display: none; }

.age-modal {
  background: linear-gradient(160deg, #231454 0%, #1a1040 100%);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 80px rgba(255, 92, 92, 0.2), 0 0 0 1px rgba(255,255,255,0.04);
  animation: modalIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.age-modal__icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
  color: #ffd166;
  animation: iconBounce 2s ease-in-out infinite;
  line-height: 1;
}

.age-modal__title {
  font-family: 'Nunito', 'Varela Round', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}

.age-modal__text {
  font-family: 'Nunito', 'Varela Round', 'Segoe UI', system-ui, sans-serif;
  font-size: .95rem;
  color: #b0a8d8;
  line-height: 1.75;
  margin-bottom: 10px;
}
.age-modal__text strong { color: #ffffff; }

.age-modal__disclaimer {
  font-family: 'Nunito', 'Varela Round', 'Segoe UI', system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffd166;
  background: rgba(255,209,102,0.10);
  border: 1px solid rgba(255,209,102,0.2);
  border-radius: 40px;
  padding: 5px 16px;
  display: inline-block;
  margin-bottom: 30px;
}

.age-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-enter {
  background: linear-gradient(135deg, #ff5c5c, #ff3a6e);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 15px 28px;
  font-family: 'Nunito', 'Varela Round', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 24px rgba(255,92,92,0.4);
  letter-spacing: .01em;
}
.btn-enter:hover {
  background: linear-gradient(135deg, #ff3a6e, #ff5c5c);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,92,92,0.6);
}

.btn-leave {
  background: transparent;
  color: #b0a8d8;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 13px 28px;
  font-family: 'Nunito', 'Varela Round', 'Segoe UI', system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}
.btn-leave:hover {
  border-color: rgba(255,255,255,0.3);
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}

.age-modal__legal {
  margin-top: 20px;
  font-family: 'Nunito', 'Varela Round', 'Segoe UI', system-ui, sans-serif;
  font-size: .72rem;
  color: rgba(176,168,216,0.55);
  line-height: 1.6;
}
.age-modal__legal a { color: rgba(255,92,92,0.7); }
.age-modal__legal a:hover { color: #ff5c5c; }

@media (max-width: 480px) {
  .age-modal { padding: 36px 24px 32px; }
  .age-modal__title { font-size: 1.4rem; }
}
