/* =========================
   基础设置
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        "Microsoft YaHei",
        sans-serif;

    background: #0b0b0d;
    color: #fff;

    overflow-x: hidden;
}

button {
    font-family: inherit;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   导航栏
========================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 50px;

    z-index: 999;

    background: rgba(10, 10, 12, 0.75);

    backdrop-filter: blur(12px);

    transition: 0.3s;
}

.navbar.scrolled {
    background: rgba(8, 8, 10, 0.95);
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-right: 70px;
}

.logo-mark {

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff4655;

    font-size: 22px;
    font-weight: 900;

    transform: skew(-10deg);
}

.logo-text {

    font-weight: 900;
    letter-spacing: 2px;
}


/* 导航 */

.navbar nav {

    display: flex;
    gap: 35px;
}

.navbar nav a {

    position: relative;

    font-size: 14px;
    font-weight: bold;

    color: #ddd;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: #ff4655;
}

.navbar nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #ff4655;

    transition: 0.3s;
}

.navbar nav a:hover::after {
    width: 100%;
}


/* 右侧 */

.nav-right {

    margin-left: auto;

    display: flex;
    gap: 12px;
}


/* =========================
   按钮
========================= */

.main-btn,
.download-btn {

    border: none;

    background: #ff4655;

    color: white;

    padding: 15px 30px;

    font-weight: bold;

    transition: 0.3s;
}

.main-btn:hover,
.download-btn:hover {

    background: white;
    color: #111;

    transform: translateY(-2px);
}


.outline-btn {

    padding: 14px 30px;

    background: transparent;

    color: white;

    border: 1px solid rgba(255,255,255,0.5);

    transition: 0.3s;
}

.outline-btn:hover {

    background: white;
    color: #111;
}


.login-btn {

    border: 0;

    background: transparent;

    color: white;

    padding: 10px 18px;
}


/* =========================
   首屏
========================= */

.hero {

    position: relative;

    height: 100vh;
    min-height: 700px;

    display: flex;
    align-items: center;

    background:

        linear-gradient(
            90deg,
            rgba(0,0,0,0.85),
            rgba(0,0,0,0.25)
        ),

        url("/hero.jpg")
        center / cover no-repeat;

    overflow: hidden;
}


/*
如果你有自己的大图：

把下面注释取消：

background:
url("images/hero.jpg")
center / cover no-repeat;

*/

.hero::before {

    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -150px;
    top: -150px;

    background:
        linear-gradient(
            135deg,
            transparent 50%,
            rgba(255,70,85,0.35)
        );

    transform: rotate(15deg);
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            #0b0b0d,
            transparent 35%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

    margin-left: 10%;

    animation: heroIn 1s ease;
}

@keyframes heroIn {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-small {

    color: #ff4655;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 20px;
}


.hero h1 {

    font-size: clamp(70px, 10vw, 150px);

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -6px;

    text-transform: uppercase;
}


.hero-description {

    margin-top: 30px;

    max-width: 500px;

    line-height: 1.8;

    color: #ddd;
}


.hero-buttons {

    display: flex;

    gap: 15px;

    margin-top: 35px;
}


.scroll-tip {

    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    font-size: 11px;

    letter-spacing: 3px;

    color: #aaa;
}

.scroll-tip span {

    display: block;

    text-align: center;

    margin-top: 8px;

    font-size: 18px;
}


/* =========================
   游戏信息
========================= */

.game-info {

    min-height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 100px;

    background: #111114;

    border-bottom: 1px solid #29292e;
}


.info-item {

    display: flex;

    align-items: center;

    gap: 15px;
}


.info-number {

    font-size: 50px;

    font-weight: 900;

    color: #ff4655;
}


.info-item strong {

    font-size: 14px;
}

.info-item p {

    color: #777;

    margin-top: 5px;

    font-size: 12px;
}


/* =========================
   通用 Section
========================= */

.section {

    padding: 120px 8%;

    position: relative;
}


.section-header {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 50px;
}


.section-label {

    display: block;

    color: #ff4655;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 12px;
}


.section h2 {

    font-size: 60px;

    font-weight: 900;

    letter-spacing: -2px;
}


.more {

    color: #aaa;

    font-size: 13px;

    transition: 0.3s;
}

.more:hover {
    color: #ff4655;
}


/* =========================
   新闻
========================= */

.news-section {

    background: #f4f4f4;

    color: #111;
}


.news-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 20px;
}


.news-card {

    background: white;

    overflow: hidden;

    transition: 0.4s;
}


.news-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.15);
}


.news-image {

    height: 220px;

    background:
        linear-gradient(
            135deg,
            #50141b,
            #1b1b20
        );
}


.news-card.large .news-image {
    height: 330px;
}


.news-image-2 {
    background:
        linear-gradient(
            135deg,
            #202c48,
            #111
        );
}

.news-image-3 {
    background:
        linear-gradient(
            135deg,
            #3d3020,
            #111
        );
}


.news-content {

    padding: 25px;
}


.tag {

    color: #ff4655;

    font-size: 12px;

    font-weight: bold;
}


.news-content h3 {

    font-size: 22px;

    margin-top: 10px;

    margin-bottom: 12px;
}


.news-content p {

    color: #777;

    line-height: 1.6;

    font-size: 14px;
}


.news-content time {

    display: block;

    margin-top: 25px;

    font-size: 12px;

    color: #999;
}


/* =========================
   特工
========================= */

.agents-section {

    min-height: 750px;

    display: flex;

    align-items: center;

    background: #17171a;

    overflow: hidden;
}


.agent-background {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            #17171a 20%,
            rgba(23,23,26,0.25),
            #17171a
        ),

        linear-gradient(
            135deg,
            #2d1318,
            #20232d
        );

    opacity: 0.8;
}


.agent-content {

    position: relative;

    z-index: 2;

    max-width: 500px;
}


.agent-content p {

    color: #aaa;

    line-height: 1.8;

    margin: 25px 0;
}


.agent-card {

    position: absolute;

    right: 12%;

    bottom: 80px;

    width: 300px;

    height: 420px;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255,70,85,0.8),
            rgba(20,20,25,0.9)
        );

    clip-path:
        polygon(
            12% 0,
            100% 0,
            88% 100%,
            0 100%
        );

    display: flex;

    flex-direction: column;

    justify-content: end;
}


.agent-number {

    font-size: 80px;

    font-weight: 900;

    opacity: 0.2;
}


.agent-card h3 {

    font-size: 30px;

    margin-top: auto;
}


.agent-card p {

    color: #ddd;
}


/* =========================
   武器
========================= */

.weapons-section {

    background: #0e0e10;
}


.weapon-showcase {

    min-height: 500px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    background: #151519;

    overflow: hidden;
}


.weapon-text {

    padding: 70px;
}


.weapon-type {

    color: #ff4655;

    letter-spacing: 4px;

    font-size: 12px;
}


.weapon-text h2 {

    font-size: 80px;

    font-weight: 900;

    margin: 15px 0;
}


.weapon-text p {

    color: #999;

    max-width: 400px;

    line-height: 1.8;

    margin-bottom: 30px;
}


.weapon-image {

    height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #28282d,
            #121214
        );
}


.weapon-placeholder {

    font-size: 90px;

    font-weight: 900;

    color: rgba(255,255,255,0.08);

    transform: rotate(-10deg);
}


/* =========================
   地图
========================= */

.maps-section {

    min-height: 650px;

    display: flex;

    align-items: center;

    padding: 100px 8%;

    background:

        linear-gradient(
            90deg,
            rgba(0,0,0,0.85),
            rgba(0,0,0,0.2)
        ),

        linear-gradient(
            135deg,
            #252b32,
            #513b29
        );
}


.map-content {

    max-width: 500px;
}


.map-content p {

    color: #ccc;

    line-height: 1.8;

    margin: 25px 0 30px;
}


/* =========================
   下载
========================= */

.download-section {

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: #ff4655;
}


.download-section .section-label {

    color: #111;
}


.download-section h2 {

    font-size: 70px;

    font-weight: 900;
}


.download-section p {

    margin: 20px 0 30px;
}


.download-section .main-btn {

    background: #111;

    color: white;
}


.download-section .main-btn:hover {

    background: white;

    color: #111;
}


/* =========================
   页脚
========================= */

footer {

    padding: 60px 8%;

    background: #080809;

    text-align: center;

    color: #666;
}


.footer-logo {

    color: white;

    font-size: 30px;

    font-weight: 900;

    letter-spacing: 4px;

    margin-bottom: 20px;
}


.disclaimer {

    margin-top: 10px;

    font-size: 11px;

    color: #444;
}


/* =========================
   滚动动画
========================= */

.section,
.game-info,
.download-section {

    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.show {

    opacity: 1;

    transform: translateY(0);
}


/* =========================
   手机端
========================= */

@media (max-width: 900px) {

    .navbar {

        padding: 0 20px;
    }

    .navbar nav {

        display: none;
    }

    .logo {

        margin-right: 0;
    }

    .login-btn {

        display: none;
    }

    .hero-content {

        margin-left: 8%;
        margin-right: 8%;
    }

    .hero h1 {

        font-size: 70px;
    }

    .game-info {

        gap: 30px;

        padding: 30px;
    }

    .info-number {

        font-size: 35px;
    }

    .news-grid {

        grid-template-columns: 1fr;
    }

    .section h2 {

        font-size: 45px;
    }

    .agent-card {

        display: none;
    }

    .weapon-showcase {

        grid-template-columns: 1fr;
    }

    .weapon-image {

        display: none;
    }

    .weapon-text {

        padding: 50px 30px;
    }

    .weapon-text h2 {

        font-size: 60px;
    }

    .download-section h2 {

        font-size: 45px;
    }

}