
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"PingFang SC",sans-serif;
    background:#eef3fb;
    overflow-x:hidden;
}

/* 背景 */
body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top left,#ffffff 0%,transparent 30%),
    radial-gradient(circle at bottom right,#dbe9ff 0%,transparent 30%);
    z-index:-1;
}

/* 主容器 */
.container{
    width:95%;
    max-width:1200px;
    margin:auto;
    padding:10px 0 40px;
}

/* 顶部导航 */
.top-bar{
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(10px);
    border-radius:18px;
    padding:12px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    margin-bottom:15px;
}

.logo-box{
    display:flex;
    align-items:center;
    gap:12px;
}
.logo-box .logo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:50%;
}
.logo{
    width:45px;
    height:45px;
    border-radius:50%;
    background:linear-gradient(135deg,#5f8fff,#2b57d9);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-weight:bold;
    font-size:18px;
}

.logo-text{
    font-size:22px;
    font-weight:bold;
    color:#2b2b2b;
}

.top-btn{
    display:flex;
    gap:10px;
}

.top-btn a{
    text-decoration:none;
    color:#111;
    background:#fff;
    padding:12px 18px;
    border-radius:14px;
    font-weight:bold;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
}

.top-btn a:hover{
    transform:translateY(-2px);
}

/* banner */
.banner{
    position:relative;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.banner img{
    width:100%;
    display:block;
}

.banner-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.85);
    font-size:28px;
    cursor:pointer;
}

.banner-btn.left{
    left:15px;
}

.banner-btn.right{
    right:15px;
}

/* 公告 */
/* 公告 */

.notice{
    width:95%;
    margin:15px auto;
    background:#4f89ff;
    border-radius:12px;
    padding:10px;
    overflow:hidden;
    white-space:nowrap;
    color:#fff;
}

/* 滚动文字 */

.notice span{
    display:inline-block;
    padding-left:100%;
    animation:noticeMove 18s linear infinite;
}

/* 动画 */

@keyframes noticeMove{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-100%);
    }

}

@keyframes move{
    from{
        transform:translateX(100%);
    }
    to{
        transform:translateX(-100%);
    }
}

/* 圆形导航 */
.circle-list{
    margin-top:16px;
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding-bottom:8px;
}

.circle-item{
    min-width:75px;
    text-align:center;
}

.circle{
    width:70px;
    height:70px;
    border-radius:50%;
    background:linear-gradient(135deg,#ff8a00,#ff2d55);
    margin:auto;
    box-shadow:0 5px 12px rgba(0,0,0,.15);
    border:4px solid #fff;
}

.circle-item p{
    margin-top:6px;
    font-size:13px;
    color:#333;
}

/* tab */
.tabs{
    margin-top:20px;
    display:flex;
    justify-content:center;
    gap:12px;
}

.tabs button{
    border:none;
    padding:12px 24px;
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    font-weight:bold;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
}

.tabs button.active{
    background:#4f89ff;
    color:#fff;
}

/* 卡片 */
.card-box{
    margin-top:20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}

.card{
    background:#fff;
    border-radius:18px;
    padding:25px 15px;
    text-align:center;
    position:relative;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.hot{
    position:absolute;
    top:0;
    left:0;
    background:#ff5a5a;
    color:#fff;
    font-size:12px;
    padding:5px 10px;
    border-radius:18px 0 12px 0;
}

.card-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    background:linear-gradient(135deg,#6a8dff,#9747ff);
    margin:auto;
    
}
.card-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:18px;
}
.card h3{
    margin-top:12px;
    color:#222;
}

.card p{
    margin-top:6px;
    color:#777;
    font-size:14px;
}

.enter-btn{
    margin-top:14px;
    border:none;
    background:linear-gradient(135deg,#4f89ff,#6c63ff);
    color:#fff;
    padding:10px 20px;
    border-radius:12px;
    cursor:pointer;
    font-weight:bold;
}

/* footer */
.footer{
    margin-top:40px;
    text-align:center;
    color:#888;
    font-size:14px;
}

/* 弹窗 */
.popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.popup-content{
    width:90%;
    max-width:320px;
    background:#fff;
    border-radius:20px;
    padding:30px 20px;
    text-align:center;
    animation:show .3s;
}

@keyframes show{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

.popup-content h2{
    margin-bottom:15px;
}

.popup-content p{
    color:#666;
    line-height:1.7;
}

.close-btn{
    margin-top:20px;
    border:none;
    background:#4f89ff;
    color:#fff;
    padding:10px 20px;
    border-radius:12px;
    cursor:pointer;
}

/* 手机适配 */
@media(max-width:768px){

    .top-bar{
        flex-direction:column;
        gap:12px;
    }

    .top-btn{
        width:100%;
        flex-direction:column;
    }

    .top-btn a{
        text-align:center;
    }

    .banner-btn{
        width:42px;
        height:42px;
        font-size:22px;
    }

    .logo-text{
        font-size:18px;
    }
}
