/* 全局样式重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Consolas', Arial, sans-serif;
}

body {
    /* 采用MC风格像素感背景，贴合主题 */
    background: #0f0f1f;
    background-image: url('Minecraft.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #f5f5f5;
    line-height: 1.7;
    padding: 30px 15px;
    text-align: center;
}

/* 标题样式 */
title {
    display: block;
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
}

h1 {
    text-align: center;
    color: #ffdd00;
    text-shadow: 0 0 12px rgba(255, 221, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8);
    margin: 20px 0 40px;
    font-size: 48px;
    letter-spacing: 2px;
}

/* 链接卡片容器样式 - 调整间距与尺寸 */
.link-card {
    display: inline-block;
    text-decoration: none;
    margin: 0 40px 50px;
    max-width: 320px;
}

/* 图片样式 - 蓝色边框+泛光效果 */
.link-img {
    width: 240px;
    height: 240px;
    border: 4px solid #5cdbd3; /* 蓝色边框（与标题颜色呼应） */
    border-radius: 15px; /* 圆角边框 */
    margin: 0; /* 边距清零 */
    padding: 0;
    background: rgba(25, 25, 50, 0.95);
    margin-bottom: 18px;
    transition: all 0.3s ease;
    /* 基础泛光效果：使用box-shadow实现蓝色光晕 */
    box-shadow: 0 0 15px rgba(92, 219, 211, 0.6), 0 0 30px rgba(92, 219, 211, 0.4);
}

/* 图片 hover 效果强化 - 泛光更明显 */
.link-card:hover .link-img {
    transform: scale(1.08);
    /*  hover时泛光扩大、亮度提升 */
    box-shadow: 0 0 25px rgba(92, 219, 211, 0.8), 0 0 50px rgba(92, 219, 211, 0.6);
    border-color: #87e5e0; /* 边框提亮，增强交互感 */
}

/* 链接标题样式 - 适配卡片尺寸 */
.link-card h3 {
    text-align: center;
    color: #5cdbd3;
    font-size: 26px;
    background: rgba(10, 10, 30, 0.8);
    padding: 15px 0;
    border-radius: 8px;
    width: 100%;
    margin: 0 auto;
    transition: all 0.4s ease;
    border: 2px solid rgba(92, 219, 211, 0.3);
}

/* 链接交互效果 */
.link-card h3:hover {
    background: rgba(92, 219, 211, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(92, 219, 211, 0.6);
}

/* 响应式适配 - 同步调整手机端尺寸 */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
        margin: 15px 0 30px;
    }

    .link-card {
        margin: 0 15px 35px;
        max-width: 280px;
    }

    .link-card h3 {
        font-size: 22px;
        padding: 12px 0;
        margin: 0 5px;
    }

    .link-img {
        width: 200px;
        height: 200px;
        border-width: 3px;
        border-radius: 12px;
        /* 手机端泛光效果适配 */
        box-shadow: 0 0 12px rgba(92, 219, 211, 0.5), 0 0 25px rgba(92, 219, 211, 0.3);
    }
}