* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Comfortaa, Kalam, "Noto Sans SC", sans-serif;
}

body {
    background: #eef4ff;
}

/* 容器 */

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

/* LOGO */

.header {
    text-align: center;
}

.logo {
    font-size: 38px;
    font-weight: bold;
    color: #2d5cff;
}

.logo span {
    color: #4fa9ff;
}

.logo img {
    max-width: 100%;
    width: 900px;
    border-radius: 20px;
}

/* 公告 */

.notice {
    margin: 10px auto 20px auto;
    padding: 0 20px;
    border-radius: 10px;
    background: linear-gradient(135deg,#6bb7ff,#8fd3ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    line-height: 35px;
}

.notice-left {
    font-size: 14px;
}

.notice-right a {
    margin-left: 10px;
    background: #ffffff;
    color: #3a8cff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
}

/* 模块 */

.section {
    background: #ffffff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.section h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

/* 链接网格 */

.links {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 5px;
}

/* 按钮 */

.links a {
    display: block;
    height: 36px;
    line-height: 36px;
    background: #EAEFFE;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: .2s;
/* 省略号 */
    white-space: nowrap;
    overflow: hidden;
}

.links a:hover {
    background: #4fa9ff;
    color: #fff;
    transform: translateY(-2px);
}



/* 平板 */

@media(min-width:768px) {


    .links {
        grid-template-columns: repeat(6,1fr);
    }
}

@media(max-width:768px) {
    .links a {
        font-size: 12px;
    }

    .section {
        padding: 10px;
    }
}

/* PC */

@media(min-width:1200px) {

    .links {
        grid-template-columns: repeat(10,1fr);
    }
}

/* footer */

.footer {
    margin-top: 40px;
}

.footer-inner {
    background: linear-gradient(135deg,#6bb7ff,#8fd3ff);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #fff;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-email {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-email a {
    color: #fff;
    text-decoration: none;
}

.footer-btn {
    margin: 15px 0;
}

.footer-btn a {
    background: #1c1c1c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.footer-warning {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 10px;
}


.navi {
    font-size: 0;
    padding: 5px;
    text-align: center;
}

.appico {
    width: calc(7.5% - 1px);
    margin: 5px;
    height: auto;
    box-sizing: border-box;
    display: inline-block;
    position: relative
}

.appico p {
    width: 100%;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 13px;
    margin: 0;
    color: #000;
    overflow: hidden
}

.naicon {
    border-radius: 5px;
    overflow: hidden;
    font-size: 0;
    margin: 12px
}

.appico img {
    width: 100%
}

.appico:hover .btn-raised {
    -webkit-box-shadow: 0 0 12px 4px rgba(0,0,0,.24),0 0 2px -2px rgba(0,0,0,.4),0 1px 12px 0 rgba(0,0,0,.22);
    box-shadow: 0 0 12px 4px rgba(0,0,0,.24),0 0 2px -2px rgba(0,0,0,.4),0 1px 12px 0 rgba(0,0,0,.22)
}

@media screen and (max-width:960px){
    .appico {
        width: calc(25% - 10px)
    }
}


#backToTop {
    display: none; /* 默认隐藏 */
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s;
}
#backToTop:hover {
    background: rgba(0,0,0,0.85);
}

/* 手机自适应 */
@media (max-width: 768px) {
    #backToTop {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}