/* Modal base */
.lp-modal {
    display: none;
    position: fixed;
    z-index: 100000000002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /*  */
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.lp-modal-content {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.7);
    width: 90%;
    max-width: 900px; /*  */
    text-align: center;
    position: relative;
    animation: lp-pop 0.6s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lp-modal-content img {
    width: 100%;
    height: auto;
    max-height: 85vh; /*  */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: lp-zoom 6s ease-in-out infinite; /*  */
}

.lp-close {
    color: #fff;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 0 10px black;
}

.lp-close:hover,
.lp-close:focus {
    color: #ff0;
    text-decoration: none;
    cursor: pointer;
}

@keyframes lp-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lp-zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 600px) {
    .lp-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 5px;
        animation: lp-pop 0.6s ease-out;
    }

    .lp-modal-content img {
        max-height: 90vh; /*  */
    }

    .lp-close {
        font-size: 28px;
        top: 5px;
        right: 10px;
    }
}

.lp-waboton {
  margin-top: 15px;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.lp-waboton:hover {
  background-color: #1ebc59;
}
