/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.container h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.container p {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* 下载卡片样式 */
.download-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}

.download-card h2 {
    color: #34495e;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.download-card p {
    color: #6c757d;
    font-size: 1em;
    margin-bottom: 25px;
}

/* 下载按钮样式 */
.download-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 10px 0;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.windows-btn {
    background: #0078d7;
    color: white;
    border: 2px solid #0078d7;
}

.windows-btn:hover {
    background: white;
    color: #0078d7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 215, 0.4);
}

.android-btn {
    background: #34a853;
    color: white;
    border: 2px solid #34a853;
}

.android-btn:hover {
    background: white;
    color: #34a853;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.4);
}

/* Mac按钮样式 */
.mac-btn {
    background: #000000;
    color: white;
    border: 2px solid #000000;
}

.mac-btn:hover {
    background: white;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 推荐下载卡片样式 */
.download-card.recommended {
    border: 2px solid #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* 所有下载选项区域 */
.all-downloads {
    margin-top: 40px;
}

.all-downloads h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

/* 下载网格布局 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

/* 下载项样式 */
.download-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.download-item .device-icon {
    font-size: 3em;
    margin-bottom: 15px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

/* 设备图标颜色 */
.device-icon.windows-icon {
    background: rgba(0, 120, 215, 0.1);
    color: #0078d7;
}

.device-icon.mac-icon {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.device-icon.android-icon {
    background: rgba(52, 168, 83, 0.1);
    color: #34a853;
}

.download-item h3 {
    color: #34495e;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.download-item p {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* 下载选项容器 */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
    
    .container h1 {
        font-size: 2em;
    }
    
    .download-card {
        padding: 20px;
    }
    
    .download-btn {
        min-width: 200px;
        padding: 12px 25px;
        font-size: 1em;
    }
    
    .download-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container h1 {
        font-size: 1.8em;
    }
    
    .container p {
        font-size: 1em;
    }
    
    .download-card h2 {
        font-size: 1.5em;
    }
}