       
        /* Estilos del Popup */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        
        .popup-content {
            background-color: white;
            border-radius: 15px;
            width: 90%;
            max-width: 600px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            animation: popupAppear 0.4s ease-out;
        }
        
        @keyframes popupAppear {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .popup-header {
            background: linear-gradient(to right, #3498db, #2c3e50);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .popup-header h2 {
            font-size: 1.8rem;
            margin-bottom: 5px;
        }
        
        .popup-body {
            padding: 30px;
        }
        
        .popup-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .timer-display {
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.2rem;
            color: #2c3e50;
        }
        
        .timer-bar-container {
            height: 10px;
            background-color: #ecf0f1;
            border-radius: 5px;
            margin-bottom: 25px;
            overflow: hidden;
        }
        
        .timer-bar {
            height: 100%;
            background: linear-gradient(to right, #2ecc71, #3498db);
            width: 0%;
            transition: width 0.5s linear;
        }
        
        .popup-footer {
            display: flex;
            justify-content: center;
            padding: 20px;
            border-top: 1px solid #eee;
        }
        
        .close-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            padding: 14px 30px;
            font-size: 16px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            opacity: 0.5;
            pointer-events: none;
        }
        
        .close-btn.enabled {
            opacity: 1;
            pointer-events: auto;
        }
        
        .close-btn.enabled:hover {
            background-color: #c0392b;
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }
        
        .close-btn i {
            margin-right: 8px;
        }
        