/* ==================== 1. 全局初始化 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #7A3E9C; /* 网页大背景色：标准紫 */
    padding: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== 2. 主卡片容器 ==================== */
.release {
    width: 100%;
    max-width: 550px;
    position: relative;
}

.release-body {
    background: #ffffff;
    border-radius: 30px;
    margin-top: 50px;
    padding-bottom: 0; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: visible; /* 确保顶部校徽能正常溢出显示 */
}

/* 校徽头像 */
.release-body .image {
    text-align: center;
}

.release-body .image img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    padding: 1px;
    background-color: #fff;
    margin-top: -50px;
    box-shadow: 0 4px 15px rgba(134, 134, 134, 0.25);
}

/* 标题与副标题 */
.release-body .title {
    padding: 25px 0 15px;
    text-align: center;
}

.release-body .title h2 {
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #474747;
}

.release-body .title p {
    font-size: 18px;
    padding-top: 15px;
    color: #676767;
    letter-spacing: 2px;
}

/* ==================== 3. 导航按钮区域 ==================== */
.release-main .links {
    padding: 15px;
}

.release-main .links ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.release-main .links ul li {
    width: 33.333%;
    padding: 8px;
}

/* 精调标准紫微渐变（提亮、不发暗） */
.release-main .links ul li a {
    display: block;
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
    color: #fff;
    border-radius: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    /* 以 #7A3E9C 标准紫为主，向较明亮的淡紫色 #9F59C7 过渡，避免发暗 */
    background: linear-gradient(90deg, #7A3E9C, #9F59C7, #7A3E9C);
    background-size: 400%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* 悬浮呼吸动画与霓虹发光 */
.release-main .links ul li a:hover {
    animation: animate 8s linear infinite;
}

.release-main .links ul li a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #7A3E9C, #9F59C7, #7A3E9C);
    background-size: 200%;
    border-radius: 40px;
    opacity: 0;
    transition: 0.5s;
}

.release-main .links ul li a:hover:before {
    filter: blur(10px);
    opacity: 1;
    animation: animate 8s linear infinite;
}

@keyframes animate {
    0% { background-position: 0%; }
    100% { background-position: 400%; }
}

/* ==================== 4. 页脚提示栏 ==================== */
footer {
    text-align: center;
    padding: 18px 0;
    margin: 0; 
    background-color: #fff3cd;
    border-radius: 0 0 30px 30px; 
    border: none;
}

footer p {
    color: #856404;
    letter-spacing: 1px;
    font-size: 15px;
    line-height: 1.6;
}

/* ==================== 5. 移动端响应式适配 ==================== */
@media screen and (max-width: 550px) {
    .release-body .image img {
        width: 85px;
        height: 85px;
        margin-top: -42px;
    }

    .release-body .title h2 {
        font-size: 26px;
    }

    .release-body .title p {
        font-size: 14px;
        padding-top: 10px;
    }

    .release-main .links ul li a {
        font-size: 15px;
        padding: 10px 0;
    }

    footer p {
        font-size: 13px;
    }
}