/* ==========================================================================
   AGE VERIFICATION OVERLAY STYLES (UPGRADED)
   ========================================================================== */

/* Overlay with a subtle dark backdrop and a very soft pink glow */
.age-verify-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(233, 30, 99, 0.08) 0%, rgba(34, 34, 34, 0.98) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999; /* Ensure it stays above everything */
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.age-verify-overlay.active {
  opacity: 1;
}

/* Premium Card with rounded corners, spacing, and soft layered shadow */
.age-verify-card {
  background-color: #ffffff;
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), 0 2px 15px rgba(233, 30, 99, 0.08);
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 400ms ease-out;
}

.age-verify-overlay.active .age-verify-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Brand Icon style with soft pink circle background and micro-animation */
.age-verify-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #FCE4EC;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.1);
  animation: ageVerifyHeartPulse 2.5s infinite ease-in-out;
}

@keyframes ageVerifyHeartPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.2);
  }
  100% {
    transform: scale(1);
  }
}

.age-verify-brand-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #E91E63;
  margin-bottom: 12px;
  display: block;
}

.age-verify-card h2 {
  color: #222222;
  font-size: 26px;
  margin: 0 0 12px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  transition: opacity 250ms ease-out;
}

.age-verify-card p {
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 35px 0;
  font-family: 'Poppins', sans-serif;
  transition: opacity 250ms ease-out;
}

.age-verify-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  transition: opacity 250ms ease-out;
}

.age-verify-btn {
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.25, 1, 0.5, 1);
  font-family: 'Poppins', sans-serif;
  border: none;
  min-width: 165px;
  box-sizing: border-box;
  outline: none;
}

.age-verify-btn:focus-visible {
  outline: 3px solid #222222;
  outline-offset: 2px;
}

/* YES Button hover animations */
.age-verify-btn-yes {
  background-color: #E91E63;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
}

.age-verify-btn-yes:hover {
  background-color: #d81b60;
  transform: translateY(-2.5px);
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.35);
}

.age-verify-btn-yes:active {
  transform: translateY(0);
}

/* NO Button hover animations */
.age-verify-btn-no {
  background-color: transparent;
  color: #222222;
  border: 2px solid #222222;
}

.age-verify-btn-no:hover {
  background-color: #222222;
  color: #ffffff;
  transform: translateY(-2.5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.age-verify-btn-no:active {
  transform: translateY(0);
}

/* Prefers-reduced-motion overrides */
@media (prefers-reduced-motion: reduce) {
  .age-verify-overlay,
  .age-verify-card,
  .age-verify-btn,
  .age-verify-card h2,
  .age-verify-card p,
  .age-verify-buttons {
    transition: none !important;
    animation: none !important;
  }
  .age-verify-card {
    transform: none !important;
    opacity: 1 !important;
  }
  .age-verify-overlay {
    opacity: 1 !important;
  }
  .age-verify-icon-wrapper {
    animation: none !important;
  }
}

/* Mobile responsive styling overrides */
@media (max-width: 480px) {
  .age-verify-card {
    padding: 40px 25px;
    border-radius: 16px;
  }
  
  .age-verify-card h2 {
    font-size: 22px;
  }

  .age-verify-card p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .age-verify-buttons {
    flex-direction: column;
    width: 100%;
  }

  .age-verify-btn {
    width: 100%;
    min-width: 0;
  }
}
