﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Microsoft YaHei;
}


body {
    background: #050505;
    color: white;
}


.header {
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: #000d;
    backdrop-filter: blur(15px);
    z-index: 99;
}



.logo {
    font-size: 30px;
    font-weight: bold;
}


    .logo span {
        color: #00ff88;
    }



nav a {
    color: #aaa;
    text-decoration: none;
    margin: 15px;
}

    nav a.active {
        color: #00ff88;
    }

section {
    padding: 100px 8%;
}


h2 {
    font-size: 42px;
    margin-bottom: 40px;
}



.banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient( 90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.1) 100% ), url("../picture/news.png");
    background-size: cover;
    background-position: center;
}



    .banner h1 {
        font-size: 65px;
    }



.tag {
    color: #00ff88;
}



.banner p {
    color: #aaa;
    line-height: 2;
    font-size: 18px;
}



button {
    padding: 15px 35px;
    border-radius: 30px;
    border: 0;
    background: #00ff88;
}



.news-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px solid #00ff88;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}



    .news-circle div {
        background: #00ff88;
        color: #000;
        padding: 50px;
        border-radius: 50%;
    }



    .news-circle span {
        position: absolute;
        border: 1px solid #00ff88;
        padding: 15px;
        border-radius: 20px;
    }


        .news-circle span:nth-child(2) {
            top: 20px;
        }



        .news-circle span:nth-child(3) {
            right: 0;
        }



        .news-circle span:nth-child(4) {
            bottom: 20px;
        }





.stats,
.category,
.topic div {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}



    .stats div,
    .category div,
    .topic span {
        background: #111;
        padding: 35px;
        border-radius: 20px;
        border: 1px solid #222;
        text-align: center;
    }



strong {
    font-size: 50px;
    color: #00ff88;
}




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



    .news-grid a {
        padding: 30px;
        background: #111;
        border-radius: 20px;
        color: white;
        text-decoration: none;
        border: 1px solid #222;
    }



        .news-grid a:hover {
            border-color: #00ff88;
            transform: translateY(-10px);
        }




.article {
    padding-top: 150px;
}



.article-box {
    background: #111;
    padding: 50px;
    border-radius: 20px;
    line-height: 2;
}



footer {
    padding: 50px;
    background: #000;
    text-align: center;
    color: #777;
}




@media(max-width:900px) {


    nav {
        display: none;
    }



    .banner {
        flex-direction: column;
        height: auto;
        padding-top: 150px;
    }



        .banner h1 {
            font-size: 40px;
        }



    .stats,
    .category,
    .news-grid,
    .topic div {
        grid-template-columns: 1fr;
    }



    .news-circle {
        margin-top: 50px;
    }
}

/* 友情链接 */

.friend-links {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}



    .friend-links a {
        min-width: 180px;
        padding: 14px 25px;
        background: #00ff88;
        border: 1px solid rgba(0,0,0,.2);
        border-radius: 30px;
        color: white;
        text-decoration: none;
        font-weight: 600;
        transition: .3s;
    }




        .friend-links a:hover {
            background: white;
            color: #00ff88;
            transform: translateY(-5px);
        }

/* =========================
        FAQ SECTION
========================= */


.faq {
    padding: 90px 10%;
    background: #050505;
    color: #fff;
}




    .faq h2 {
        text-align: center;
        font-size: 38px;
        margin-bottom: 50px;
        color: #ffffff;
    }




    .faq > div {
        max-width: 1000px;
        margin: 0 auto 18px;
        padding: 30px 35px;
        background: #111111;
        border-radius: 16px;
        border: 1px solid rgba(0,170,255,.15);
        transition: .35s;
    }





        .faq > div:hover {
            border-color: #00aaff;
            box-shadow: 0 10px 35px rgba(0,170,255,.18);
            transform: translateY(-5px);
        }




    .faq h3 {
        font-size: 21px;
        color: #ffffff;
        margin-bottom: 15px;
        font-weight: 600;
    }





    .faq p {
        color: #b8b8b8;
        font-size: 16px;
        line-height: 1.9;
        margin: 0;
    }