html.psp-modal-open,
body.psp-modal-open {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100% !important;
  position: fixed !important;
  width: 100% !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.psp-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.psp-access-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 40%);
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  max-width: 700px;
  width: 92%;
  text-align: center;
  z-index: 9999;
  opacity: 0;
  animation: slideToCenter 0.3s ease-out forwards;
}
/* Animation centered */
@keyframes slideToCenter {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.psp-access-modal h2 {
  font-size: 32px;
  color: #b91c1c;
  margin-bottom: 20px;
  font-weight: 700;
}

.psp-access-modal p {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.psp-access-modal a.psp-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.psp-access-modal a.psp-btn:hover {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}
/* Responsive styles */
@media (max-width: 768px) {
  .psp-access-modal {
    padding: 40px 25px;
  }

  .psp-access-modal h2 {
    font-size: 26px;
  }

  .psp-access-modal p {
    font-size: 16px;
  }

  .psp-access-modal a.psp-btn {
    font-size: 16px;
    padding: 14px 30px;
  }
}

@media (max-width: 480px) {
  .psp-access-modal {
    padding: 30px 20px;
  }

  .psp-access-modal h2 {
    font-size: 22px;
  }

  .psp-access-modal p {
    font-size: 15px;
  }

  .psp-access-modal a.psp-btn {
    font-size: 15px;
    padding: 12px 24px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
