/* ========== 全局样式 & 浅蓝色主题 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #3b82f6;       /* 浅蓝色主色 */
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary: #7c3aed;
    --accent: #10b981;        /* 绿色按钮 */
    --accent-hover: #059669;
    --text: #1f2937;
    --text-light: #4b5563;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --border: #e2e8f0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏 */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.sour {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.xe {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* 页面内容 */
.page-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
    animation: fadeIn 0.4s ease;
}

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

.section {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text);
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text);
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* 公告 */
.announcement {
    background: #eff6ff;
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
}

/* 链接跳转区域（网格卡片） */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.link-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.link-card i {
    font-size: 32px;
    color: var(--primary);
}

.link-card h3 {
    font-size: 18px;
    margin: 8px 0 4px;
}

.link-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -12px rgba(0,0,0,0.2);
    border-color: var(--primary-light);
}

/* 支持机型 - 图片左文字右 */
.device-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.device-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s;
    background: var(--card-bg);
}

.device-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.device-img {
    width: 110px;
    height: 90px;
    border-radius: 14px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eef2ff;
    flex-shrink: 0;
}

.device-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-info {
    flex: 1;
}

.device-info h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

/* 下载页样式 */
.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 20px;
    background: var(--card-bg);
}

.download-info h2 {
    margin-bottom: 5px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* 关于页面样式 - 融合所有改动 */
.about-logo-section {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.about-logo img {
    max-width: 100px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-text h1 {
    border-left: none;
    padding-left: 0;
    margin-bottom: 5px;
}

.team-intro {
    background: #f0f9ff;
    padding: 20px 24px;
    border-radius: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
    line-height: 1.7;
}

/* QQ群按钮（缩小版） */
.qq-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.qq-group-btn {
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.qq-group-btn i {
    font-size: 14px;
    color: #12B0F5;
}

.qq-group-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.qq-group-btn:hover i {
    color: white;
}

/* 团队成员 */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
}

.team-member {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s;
    background: var(--card-bg);
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.member-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

.member-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.member-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* 页脚 */
footer {
    background-color: #1e293b;
    color: #cbd5e1;
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 99;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-links li {
        margin: 10px 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .device-item {
        flex-direction: row;
        text-align: left;
    }
    .device-img {
        margin-right: 15px;
        margin-bottom: 0;
        width: 90px;
        height: 80px;
    }
    .about-logo-section {
        flex-direction: row !important;
        justify-content: flex-start;
        text-align: left;
    }
    .about-logo img {
        width: 70px;
    }
    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .link-grid {
        grid-template-columns: 1fr;
    }
}