* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    background-color: #0b0f18;
    color: #fff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background-color: #111724;
    padding: 18px 0;
    border-bottom: 1px solid #222c40;
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffb726;
    text-decoration: none;
}
nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
}
nav a {
    color: #ccd1dd;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
nav a:hover {
    color: #ffb726;
}
.hero {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(#0b0f18,#101622);
}
.hero h1 {
    font-size: 46px;
    color: #ffb726;
    margin-bottom: 24px;
}
.hero p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #b4b9c5;
    line-height: 1.8;
}
.btn-group {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.btn {
    padding: 14px 36px;
    font-size: 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.25s;
}
.btn-download {
    background: #267bff;
    color: #fff;
    border: none;
}
.btn-download:hover {
    background: #1b60d2;
}
.btn-buy {
    background: #ff3b47;
    color: #fff;
}
.btn-buy:hover {
    background: #d92b35;
}
.screenshot {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #fff;
}
.img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.img-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #273044;
}
.img-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: scale 0.3s;
}
.img-item:hover img {
    transform: scale(1.05);
}
.article-area {
    padding: 80px 0;
    background-color: #101622;
}
.article-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.article-box h3 {
    font-size: 24px;
    border-left: 4px solid #ffb726;
    padding-left: 12px;
    margin-bottom: 24px;
}
.article-list {
    list-style: none;
}
.article-list li {
    padding: 14px 0;
    border-bottom: 1px solid #222c40;
}
.article-list a {
    color: #ccd1dd;
    text-decoration: none;
    transition: color 0.3s;
}
.article-list a:hover {
    color: #ffb726;
}
.article-list span {
    color: #777e8c;
    font-size:13px;
    margin-left: 10px;
}
footer {
    padding: 40px 0;
    background-color: #080b12;
    border-top:1px solid #222c40;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap:30px;
}
.footer-col h4 {
    margin-bottom:16px;
    color:#ffb726;
}
.footer-col ul {
    list-style:none;
}
.footer-col li {
    margin-bottom:8px;
}
.footer-col a {
    color:#989eaa;
    text-decoration:none;
}
.copyright {
    width:100%;
    margin-top:30px;
    text-align:center;
    color:#606774;
    font-size:14px;
}
.news-page{
    padding: 60px 0 80px;
}
.page-title{
    text-align:center;
    margin-bottom:50px;
}
.page-title h2{
    font-size:34px;
    color:#ffb726;
    margin-bottom:12px;
}
.page-title p{
    color:#989eaa;
    font-size:16px;
}
.news-list-wrap{
    display:flex;
    flex-direction:column;
    gap:28px;
}
.news-item{
    background:#101622;
    border:1px solid #222c40;
    border-radius:8px;
    padding:24px;
    transition: border-color 0.3s;
}
.news-item:hover{
    border-color:#ffb726;
}
.news-item h3 a{
    font-size:22px;
    color:#fff;
    text-decoration:none;
    transition:color 0.3s;
}
.news-item h3 a:hover{
    color:#ffb726;
}
.news-meta{
    margin:12px 0;
    font-size:14px;
    color:#777e8c;
    display:flex;
    gap:20px;
}
.news-desc{
    color:#b4b9c5;
    line-height:1.7;
    margin-bottom:16px;
}
.read-more{
    display:inline-block;
    color:#ffb726;
    text-decoration:none;
}
.read-more:hover{
    text-decoration:underline;
}
.pboot-pagination{
    margin-top:50px;
    text-align:center;
}
.pboot-pagination a,.pboot-pagination span{
    display:inline-block;
    padding:8px 14px;
    border:1px solid #222c40;
    color:#ccd1dd;
    text-decoration:none;
    margin:0 4px;
    border-radius:4px;
}
.pboot-pagination a:hover{
    background:#ffb726;
    color:#0b0f18;
    border-color:#ffb726;
}
.pboot-pagination span.current{
    background:#ffb726;
    color:#0b0f18;
    border-color:#ffb726;
}
.news-detail-page{
    padding:60px 0 80px;
}
.detail-header{
    text-align:center;
    margin-bottom:40px;
    border-bottom:1px solid #222c40;
    padding-bottom:24px;
}
.detail-header h1{
    font-size:32px;
    color:#fff;
    margin-bottom:16px;
}
.detail-meta{
    color:#777e8c;
    font-size:14px;
    display:flex;
    gap:24px;
    justify-content:center;
}
.detail-content{
    color:#ccd1dd;
    line-height:1.9;
    font-size:17px;
}
.detail-content img{
    max-width:100%;
    height:auto;
    border-radius:6px;
    margin:12px 0;
}
.detail-content p{
    margin-bottom:16px;
}
.prev-next{
    margin-top:50px;
    padding-top:24px;
    border-top:1px solid #222c40;
}
.prev-next a{
    color:#ccd1dd;
    text-decoration:none;
}
.prev-next a:hover{
    color:#ffb726;
}
.prev-article,.next-article{
    padding:10px 0;
}
nav a i {
    margin-right: 6px;
    font-size:15px;
}
nav a.active {
    color: #ffb726;
    position: relative;
}
nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #ffb726;
    border-radius: 1px;
}
nav a:active {
    color: #ffb726;
}

/* 汉堡菜单样式 */
.hamburger{
    display:none;
    font-size:26px;
    color:#ccd1dd;
    cursor:pointer;
}
.hamburger:hover{
    color:#ffb726;
}
.main-nav{
    transition: max-height 0.35s ease;
}

/* 移动端768px以下 */
@media(max-width:768px){
    .hamburger{
        display:block;
    }
    .header-wrap{
        flex-wrap:wrap;
    }
    .main-nav{
        width:100%;
        max-height:0;
        overflow:hidden;
    }
    .main-nav.open{
        max-height:600px;
    }
    .main-nav ul{
        flex-direction:column;
        gap:0;
        margin-top:16px;
    }
    .main-nav ul li{
        border-bottom:1px solid #222c40;
    }
    .main-nav ul li a{
        display:block;
        padding:12px 0;
    }
    nav a.active::after{
        display:none;
    }
    .page-title h2{font-size:26px;}
    .news-item h3 a{font-size:19px;}
    .detail-header h1{font-size:24px;}
    .detail-meta{flex-wrap:wrap;gap:10px;justify-content:center;}
    .img-grid {grid-template-columns:1fr 1fr;}
    .article-wrap {grid-template-columns:1fr;}
    .btn-group {flex-direction:column;align-items:center;}
    nav a i {
        margin-right:4px;
        font-size:14px;
    }
    nav a.active::after{
        bottom:-4px;
    }
}
