/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 50px;
}

header h1 {
    font-size: 36px;
    color: #1a5fb4;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

header h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1a5fb4, #3584e4);
}

/* 链接卡片容器 */
.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 链接卡片样式 */
.link-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: #e6f0ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.icon-container img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.link-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.4;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, #1a5fb4, #3584e4);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(90deg, #3584e4, #1a5fb4);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.3);
}

/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    header h1 {
        font-size: 28px;
    }
    
    .links-container {
        grid-template-columns: 1fr;
    }
}