@charset "utf-8";
/* CSS Document */






 .XHH {
            position: relative;
            display: block;
            width: 100%;
            height: auto;
            overflow: hidden;
            border-radius: 8px;
        }
        
        .XHH img {
            width: 570px; /* 修改为指定宽度 */
            height: 409px; /* 修改为指定高度 */
            display: block;
            transition: transform 0.4s ease, filter 0.4s ease;
        }
        
        .XHH:hover img {
            transform: scale(1.03);
            filter: brightness(0.7);
        }
        
        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            
            opacity: 1;
            transition: opacity 0.3s ease;
            cursor: pointer;
        }
        
        .XHH:hover .play-overlay {
            opacity: 1;
        }
        
        .play-icon {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.3);
            box-shadow: 0 0 25px rgba(255, 107, 0, 0.6);
        }
        
        .play-icon i {
            color: #ffffff;
            font-size: 36px;
            margin-left: 5px;
        }
        
        .play-overlay:hover .play-icon {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 35px rgba(255, 107, 0, 0.8);
        }
        
        .video-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .modal-content {
            position: relative;
            width: 80%;
            max-width: 1600px;
            background: #111;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 0 40px rgba(255, 107, 0, 0.4);
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }
        
        .modal-content.active {
            transform: scale(1);
        }
        
        .video-container {
            position: relative;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
        }
        
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            outline: none;
            background: #000;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            color: white;
            font-size: 28px;
            cursor: pointer;
            transition: color 0.3s ease;
            z-index: 1010;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
        }
        
        .close-btn:hover {
            color: #FF6B00;
            background: rgba(0, 0, 0, 0.7);
        }
        
        .video-controls {
            display: flex;
            justify-content: space-between;
            padding: 15px 20px;
            background: rgba(20, 20, 20, 0.9);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .control-btn {
            background: linear-gradient(to right, #FF6B00, #FF8C00);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(255, 107, 0, 0.4);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .control-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 0, 0.6);
        }
        
        .video-title {
            text-align: center;
            padding: 15px;
            font-size: 1.4rem;
            background: rgba(20, 20, 20, 0.8);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: #FFD700;
        }
        
       
        
        /* 响应式设计 */


@media (max-width: 768px) {

.portfolioDetail {

transform: scale(0.6); /* 缩放比例，根据实际情况调整 */

transform-origin: top center;

width: 166.67%; /* 100 / 0.6 = 166.67% */

margin-left: -33.33%; /* (166.67% - 100%) / 2 = 33.33% */

margin-right: -33.33%;

overflow: hidden;

}

/* 为了防止缩放后内容被裁剪，可能需要调整外层容器的溢出 */

.container {

overflow-x: hidden;

}

}
{




        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
            }
            
            .play-icon {
                width: 60px;
                height: 60px;
            }
            
            .play-icon i {
                font-size: 28px;
            }
            
            .video-title {
                font-size: 1.1rem;
                padding: 10px;
            }
            
            .control-btn {
                padding: 8px 15px;
                font-size: 13px;
            }
            
            .XHH img {
                width: 100%;
                height: auto;
                max-height: 409px;
            }
        }
        
        @media (max-width: 480px) {
            .video-controls {
                flex-direction: column;
                gap: 10px;
                align-items: center;
            }
        }
        







        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes scaleUp {
            from { transform: scale(0.9); }
            to { transform: scale(1); }
        }

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	