* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #1e3f20;
    --secondary-color: #2d4d2f;
    --accent-color: #ff9900;
    --accent-blue: #4a90e2;
    --accent-purple: #9b59b6;
    --dark-color: #121212;
    --light-color: #e0e0e0;
}

body {
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%231a1a1a" width="100" height="100"/><path fill="%231e3f20" opacity="0.2" d="M0 0h100v100H0z"/><path fill="%232d4d2f" opacity="0.2" d="M0 0h50v50H0z"/></svg>');
    overflow-x: hidden;
}

/* 导航栏样式 */
header {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
    margin-left: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light-color);
}

/* 英雄区域样式 */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://game.gtimg.cn/images/dfm/cp/a20240906main/p3_img2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--dark-color) 90%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 1rem;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.7);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #ccc;
}

/* 下载按钮组样式 */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-btn {
    display: inline-block;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    text-align: center;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.download-btn:active {
    transform: translateY(1px);
}

.download-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.5s;
}

.download-btn:hover::after {
    transform: rotate(30deg) translate(10%, 10%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #ff6600);
}

.btn-blue {
    background: linear-gradient(135deg, var(--accent-blue), #2c6fd1);
}

.btn-purple {
    background: linear-gradient(135deg, var(--accent-purple), #8e44ad);
}

/* 内容区域样式 */
.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    color: var(--accent-color);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

/* 选项卡样式 */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--secondary-color);
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--light-color);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.tab-btn.active {
    color: var(--accent-color);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 资讯列表样式 */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.news-card {
    background: rgba(30, 63, 32, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 153, 0, 0.2);
    display: flex;
    flex-direction: row;
    height: 200px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.news-img {
    width: 40%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.news-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(45deg, rgba(30, 63, 32, 0.7), rgba(45, 77, 47, 0.7));*/   
}

.news-img i {
    position: relative;
    z-index: 1;
}

.news-content {
    padding: 0.5rem;
    width: 60%;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.news-content p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}
.read-maa {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.0rem;
}

/* 资讯详情页样式 */
.news-detail-container {
    background: rgba(30, 63, 32, 0.2);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.news-detail-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 1rem;
}

.news-detail-title {
    font-size: 2.2rem;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    color: #777;
    font-size: 0.9rem;
}

.news-detail-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 4rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    position: relative;
}

.news-detail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(45deg, rgba(30, 63, 32, 0.7), rgba(45, 77, 47, 0.7));*/
}

.news-detail-image i {
    position: relative;
    z-index: 1;
}

.news-detail-content {
    line-height: 1.8;
}

.news-detail-content p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

.news-detail-content h3 {
    color: var(--accent-color);
    margin: 2rem 0 1rem;
}
.news-detail-content img{border: 1px solid #e6e6e6;
    padding: 5px;
    max-width: 100%;}
/* 相关阅读推荐 */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-color);
}

.related-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: rgba(30, 63, 32, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}
.related-card a{text-decoration: none;}

.related-img {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(45deg, rgba(30, 63, 32, 0.7), rgba(45, 77, 47, 0.7));*/
}

.related-content {
    padding: 1rem;
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.related-content p {
    color: #aaa;
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--secondary-color);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    gap: 0.5rem;
}

/* 关于我们样式 */
.about {
    background: rgba(18, 18, 18, 0.8);
    padding: 3rem 0;
    margin: 3rem 0;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 5rem;
}

/* 客服部分样式 */
.support {
    background: linear-gradient(to right, rgba(30, 63, 32, 0.7), rgba(45, 77, 47, 0.7));
    padding: 3rem 0;
    border-radius: 10px;
    margin: 3rem 0;
}

.support-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

.support-card {
    background: rgba(18, 18, 18, 0.8);
    padding: 2rem;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.support-card h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.support-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.support-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.support-btn:hover {
    background: #ff6600;
}

/* 页脚样式 */
footer {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid var(--accent-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: left;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* 页面切换样式 */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(18, 18, 18, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 99;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active {
        color: var(--accent-color);
    }

    .hero {
        height: 60vh;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .news-container {
        grid-template-columns: 1fr;
    }

    .news-card {
        flex-direction: column;
        height: auto;
    }

    .news-img {
        width: 100%;
        height: 200px;
    }

    .news-content {
        width: 100%;
    }

    .news-detail-image {
        height: 250px;
    }

    .related-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .support-content {
        flex-direction: column;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* 军事装饰元素 */
.military-border {
    height: 5px;
    background: repeating-linear-gradient(45deg, var(--primary-color), var(--primary-color) 10px, var(--accent-color) 10px, var(--accent-color) 20px);
    margin: 1rem 0;
}

.camouflage-pattern {
    background-image: 
        linear-gradient(45deg, #1e3f20 25%, transparent 25%),
        linear-gradient(-45deg, #1e3f20 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1e3f20 75%),
        linear-gradient(-45deg, transparent 75%, #1e3f20 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    height: 10px;
}