/* style.css - 简源发布页面样式 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.5;
    padding: 18px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.logo {
    margin-bottom: 22px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 300;
}

.tagline {
    font-size: 1.15rem;
    color: #7f8c8d;
    margin-bottom: 28px;
}

/* 发布信息样式 */
.release-info {
    background-color: white;
    border-radius: 9px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 22px;
}

.release-date {
    font-size: 1.35rem;
    color: #e74c3c;
    margin-bottom: 16px;
}

/* 下载按钮区域样式 */
.download-section {
    margin: 25px 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    background-color: #95a5a6;
    color: white;
    margin-bottom: 15px;
}

.download-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.download-btn.available {
    background-color: #2ecc71;
}

.download-btn.available:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.download-btn:not(.available):hover {
    background-color: #7f8c8d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.4);
}

.download-message {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* 按钮区域样式 */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-qq {
    background-color: #12b7f5;
    color: white;
}

.btn-qq:hover {
    background-color: #0f9bd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 183, 245, 0.3);
}

.btn-website {
    background-color: #3498db;
    color: white;
}

.btn-website:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* 数据统计样式 */
.stats-section {
    background-color: white;
    border-radius: 9px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 22px;
}

.stats-section h2 {
    font-size: 1.35rem;
    margin-bottom: 22px;
    color: #2c3e50;
    font-weight: 400;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #3498db;
}

.stat-icon {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 10px 0;
}

.stat-name {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

.error {
    background: #ffeaa7;
    color: #d63031;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.update-info {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 15px;
}

.refresh-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 15px;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
}

.refresh-btn:hover {
    background: #2980b9;
}

.refresh-btn i {
    margin-right: 6px;
}

/* 开发团队样式 */
.developers {
    background-color: white;
    border-radius: 9px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 22px;
}

.developers h2 {
    font-size: 1.35rem;
    margin-bottom: 22px;
    color: #2c3e50;
    font-weight: 400;
}

.developer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.developer {
    background-color: white;
    width: 160px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.developer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
}

.developer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
}

.developer-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.developer-role {
    color: #7f8c8d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.description {
    margin-top: 22px;
    color: #7f8c8d;
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式样式 */
@media (max-width: 600px) {
    body {
        padding: 12px;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    .tagline {
        font-size: 1.05rem;
        margin-bottom: 22px;
    }
    
    .release-info, .developers, .stats-section {
        padding: 18px;
    }
    
    .release-date {
        font-size: 1.15rem;
    }
    
    .download-btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .developer-list, .stats-container {
        gap: 15px;
    }
    
    .developer {
        width: 140px;
        padding: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .description {
        font-size: 0.88rem;
        margin-top: 18px;
    }
}

@media (max-width: 400px) {
    .developer {
        width: 130px;
    }
    
    .developer-avatar {
        width: 70px;
        height: 70px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}


