.screenshot-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}

.screenshot-modal.open {
    display: flex;
    animation: zoomIn 0.35s ease forwards;
}

.screenshot-modal.closing {
    animation: zoomOut 0.35s ease forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    80% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.7);
        opacity: 0;
    }
}

.screenshot-modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 20px #000;
}

.screenshot-caption {
    margin-top: 10px;
    font-size: 24px;
    color: #fff;
    text-align: center;
}

.screenshot-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.screenshot-modal .nav-btn {
    position: absolute;
    top: 50%;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    transform: translateY(-50%);
}

.screenshot-modal .prev-btn {
    left: 30px;
}

.screenshot-modal .next-btn {
    right: 30px;
}