/* styles.css */
.wk-* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

.wk-body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.wk-container {
    width: 100%;
    max-width: 1200px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 25px;
}

.wk-content-wrapper {
    display: flex;
    gap: 30px;
}

.wk-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wk-section-title {
    font-size: 20px;
    color: #1a73e8;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a73e8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wk-fixed-height-container {
    height: 320px;
    position: relative;
}

.wk-video-container {
    width: 100%;
    height: 100%;
    background-color: #1a237e;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.wk-videoPlayer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    background-color: #000;
}

.wk-video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a237e, #283593);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.wk-play-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.wk-video-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
    padding: 0 15px;
}

.wk-video-subtitle {
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
    padding: 0 15px;
    line-height: 1.4;
}

.wk-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.wk-video-container:hover .wk-video-controls {
    opacity: 1;
}

.wk-video-info {
    color: white;
    flex: 1;
}

.wk-control-buttons {
    display: flex;
    gap: 10px;
}

.wk-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.wk-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wk-video-playing {
    width: 100%;
    height: 100%;
    background: #1a237e;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.wk-playing-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.wk-playing-subtitle {
    font-size: 14px;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 15px;
}

.wk-progress-bar {
    width: 80%;
    height: 3px;
    background: #3949ab;
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.wk-progress {
    width: 45%;
    height: 100%;
    background: #34a853;
    border-radius: 2px;
}

.wk-progress-text {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.wk-close-video-btn {
    padding: 8px 20px;
    background: #34a853;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.wk-close-video-btn:hover {
    background: #2e8b47;
}

.wk-qa-scroll-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #eee;
    background-color: #fafafa;
    position: relative;
}

.wk-qa-scroll-content {
    position: absolute;
    width: 100%;
    animation: wk-scrollUp 30s linear infinite;
    padding: 15px;
    box-sizing: border-box;
}

.wk-qa-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.wk-qa-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wk-qa-question {
    font-size: 16px;
    color: #1a73e8;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
}

.wk-question-icon {
    color: #1a73e8;
    margin-right: 8px;
    margin-top: 2px;
    font-size: 18px;
}

.wk-qa-answer {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.wk-answer-icon {
    color: #34a853;
    margin-right: 8px;
    margin-top: 2px;
    font-size: 18px;
}

@keyframes wk-scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.wk-qa-scroll-container:hover .wk-qa-scroll-content {
    animation-play-state: paused;
}

@media (max-width: 992px) {
    .wk-content-wrapper {
        flex-direction: column;
        gap: 25px;
    }
    
    .wk-column {
        width: 100%;
    }
    
    .wk-fixed-height-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .wk-container {
        padding: 15px;
    }
    
    .wk-section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .wk-fixed-height-container {
        height: 250px;
    }
    
    .wk-video-title {
        font-size: 18px;
    }
    
    .wk-video-subtitle {
        font-size: 13px;
    }
    
    .wk-playing-title {
        font-size: 18px;
    }
    
    .wk-playing-subtitle {
        font-size: 13px;
    }
    
    .wk-qa-question {
        font-size: 15px;
    }
    
    .wk-qa-answer {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .wk-fixed-height-container {
        height: 220px;
    }
    
    .wk-play-icon {
        font-size: 42px;
    }
    
    .wk-video-title {
        font-size: 16px;
    }
    
    .wk-video-subtitle {
        font-size: 12px;
    }
    
    .wk-playing-title {
        font-size: 16px;
    }
    
    .wk-playing-subtitle {
        font-size: 12px;
    }
}