
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* 鍐呭妗嗘牱寮� */
.content-box {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-box h1 {
    color: #4a90e2;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.warning-text {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
}

.warning-text p {
    color: #856404;
    font-size: 14px;
    margin-bottom: 8px;
}

.warning-text p:last-child {
    margin-bottom: 0;
}

/* 涓嬭浇鍖哄煙鏍峰紡 */
.download-section {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-download,
.version-converter,
.additional-downloads,
.tutorial-section,
.faq-section,
.platform-section,
.other-version {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
}

.game-title,
.label {
    font-weight: bold;
    color: #333;
    margin-right: 15px;
    min-width: 200px;
}

.version-label {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

/* 鎸夐挳鏍峰紡 */
.download-btn {
    padding: 8px 16px;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: white;
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.download-btn:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.download-btn.primary {
    background-color: #007bff;
    color: white;
}

.download-btn.primary:hover {
    background-color: #0056b3;
}

.download-btn.secondary {
    background-color: #ffa500;
    color: white;
    border-color: #ffa500;
}

.download-btn.secondary:hover {
    background-color: #ff8c00;
}

.download-btn.tutorial {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.download-btn.tutorial:hover {
    background-color: #218838;
}

.download-btn.info {
    background-color: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

.download-btn.info:hover {
    background-color: #138496;
}

/* 杩涘害鏉℃牱寮� */
.progress-bar {
    flex: 1;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    margin-left: 15px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, #4a90e2, #74b9ff);
    border-radius: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* 搴曢儴鎻愮ず鏍峰紡 */
.footer-notice {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.footer-notice p {
    color: #666;
    font-size: 14px;
}

/* 鍝嶅簲寮忚璁� */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 10px;
    }
    
    .main-download,
    .version-converter,
    .additional-downloads,
    .tutorial-section,
    .faq-section,
    .platform-section,
    .other-version {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .game-title,
    .label {
        margin-bottom: 10px;
        min-width: auto;
    }
    
    .download-btn {
        margin-bottom: 10px;
    }
    
    .progress-bar {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* 鐗规畩鏁堟灉 */
.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}

  /* 图片弹窗样式 */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
        }
        
        .modal-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        
        .modal-image {
            max-width: 80%;
            max-height: 80%;
        }
        
        .close-btn {
            margin-top: 20px;
            padding: 8px 16px;
            background-color: #ff4d4d;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        
        .close-btn:hover {
            background-color: #ff1a1a;
        }

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.7;
    }
} 