/* 图片判断游戏样式 */
.image-judge-game {
    text-align: center;
    padding: 20px;
}

.judge-sentence {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 20px;
}

.judge-images {
  
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    width: 70%;
    max-width: 100%;
    margin: 0 auto;
}

.judge-image {
    background: white;
    border: 2px solid #667eea;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin-top: 10px;
}

.judge-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.judge-image.correct {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.judge-image.wrong {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.judge-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

/* 答题回顾样式 */
.image-judge-review {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-carousel {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.carousel-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 255, 0.95));
    box-sizing: border-box;
    z-index: 1;
}

.carousel-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.review-question {
    margin-bottom: 10px;
    text-align: center;
}

.question-number {
    font-size: 20px;
    font-weight: bold;
    color: #764ba2;
    margin-bottom: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 8px 20px;
    border-radius: 15px;
    display: inline-block;
}

.question-text {
    font-size: 24px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.review-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border: 3px solid #667eea;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.review-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
    position: relative;
    z-index: 2;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.carousel-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-icon {
    font-size: 28px;
    line-height: 1;
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(102, 126, 234, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: #667eea;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
}

.review-finish-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
    margin-top: 10px;
}

.review-finish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.5);
}

.review-finish-btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 媒体查询 - 平板设备 */
@media (max-width: 768px) {
        
    .question-number {
        font-size: 18px;
        padding: 6px 15px;
    }
    
    .question-text {
        font-size: 20px;
    }
        
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .carousel-icon {
        font-size: 24px;
    }
    
    .review-finish-btn {
        padding: 12px 40px;
        font-size: 18px;
    }
    
    
    
    .judge-sentence {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
   
}

/* 媒体查询 - 手机设备 */
@media (max-width: 480px) {
 
    .question-number {
        font-size: 16px;
        padding: 5px 12px;
    }
    
    .question-text {
        font-size: 18px;
    }
        
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .carousel-icon {
        font-size: 20px;
    }
    
    .review-finish-btn {
        padding: 10px 35px;
        font-size: 16px;
    }
    
    .judge-image {
       width: 100%;
    height: auto;
    }
    
    .judge-sentence {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
   
}

/* 媒体查询 - 小屏幕手机 */
@media (max-width: 360px) {
        
    .question-number {
        font-size: 14px;
        padding: 4px 10px;
    }
    
    .question-text {
        font-size: 16px;
    }
       
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-icon {
        font-size: 18px;
    }
    
    .review-finish-btn {
        padding: 8px 30px;
        font-size: 14px;
    }
    
    .judge-image {
       width: 100%;
    height: auto;
    }
    
    .judge-sentence {
        font-size: 16px;
    }
}
