 /* Overlay del popup */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .popup-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        /* Container del popup */
        .popup-container {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transform: scale(1);
            transition: transform 0.3s ease;
        }

        .popup-overlay.hidden .popup-container {
            transform: scale(0.8);
        }

        /* Immagine del popup */
        .popup-image {
            width: 100%;
            max-width: 500px;
            height: auto;
            border-radius: 10px;
            display: block;
            margin: 0 auto;
        }

        /* Pulsante chiudi */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            background: #ff4757;
            color: white;
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .close-btn:hover {
            background: #ff3742;
            transform: scale(1.1);
        }

        /* Testo del popup */
        .popup-text {
            text-align: center;
            margin-top: 15px;
            color: #333;
        }

        .popup-text h3 {
            margin: 0 0 10px 0;
            color: #2c3e50;
        }

        .popup-text p {
            margin: 0;
            color: #666;
            font-size: 14px;
        }

        /* Stili responsivi */
        @media (max-width: 600px) {
            .popup-container {
                margin: 20px;
                max-width: calc(100% - 40px);
            }
            
            .popup-image {
                max-width: 100%;
            }
        }
