* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 微软雅黑
}

body {
    background: #0a0e17;
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/*导航*/
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #121826;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #409eff
}

.nav-a a {
    color: #ccc;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px
}

.nav-a a:hover {
    color: #409eff
}

.nav-a span {
    color: #999;
    margin-left: 25px;
    font-size: 15px
}

.nav-a {
    display: flex;
    align-items: center;
}

/*首页大图*/
.banner {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url(/resources/img/banner.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center
}

.banner h1 {
    font-size: 55px;
    margin-bottom: 15px
}

.banner p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 30px
}

.btn {
    padding: 12px 35px;
    background: #409eff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    text-decoration: none
}

.btn:hover {
    background: #2278d4
}

/*游戏产品*/
.game {
    padding: 80px 8%
}

.title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px
}

.game-list {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px
}

.game-card {
    width: 593px;
    max-width: 100%;
    background: #182030;
    border-radius: 10px;
    overflow: hidden
}

.game-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.game-card img {
    width: 100%;
    /*height: 180px;*/
    object-fit: cover
}

.game-card h3 {
    padding: 15px 20px
}

.game-card p {
    padding: 0 20px 20px;
    color: #bbb
}

/*底部*/
footer {
    padding: 30px;
    text-align: center;
    background: #080c14;
    color: #666;
    line-height: 1.8;
}

.record-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.record-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.record-link__icon {
    display: block;
}

.record-link__text {
    margin-left: 5px;
    color: #6c6c6c;
}
footer p a{
    color: #666;
    text-decoration: none
}

/* 招聘头部 */
.job-header{
    padding:80px 8% 40px;
    text-align:center;
}
.job-header h1{
    font-size:36px;
    margin-bottom:15px;
    color:#fff;
}
.job-header p{
    font-size:17px;
    color:#aaa;
    max-width:700px;
    margin:0 auto;
    line-height:1.8;
}

/* 岗位列表 */
.job-list{
    max-width:1000px;
    margin:0 auto 100px;
    padding:0 8%;
}
.job-item{
    background:#182030;
    border-radius:12px;
    padding:35px 40px;
    margin-bottom:25px;
    transition:0.3s;
    border:1px solid transparent;
}
.job-item:hover{
    border-color:#409eff;
    transform:translateY(-3px);
}
.job-item h3{
    font-size:22px;
    color:#409eff;
    margin-bottom:12px;
}
.job-item .label{
    display:inline-block;
    background:#22304a;
    color:#9cc9ff;
    padding:4px 10px;
    border-radius:4px;
    font-size:13px;
    margin-right:8px;
    margin-bottom:15px;
}
.job-item h4{
    font-size:16px;
    color:#eee;
    margin:18px 0 10px;
}
.job-item ul{
    padding-left:20px;
    color:#bbb;
    line-height:1.9;
    font-size:15px;
}

/*关于我们*/
.about{padding:100px 8%;background:#111724;min-height:80vh;}
.title{text-align:center;font-size:32px;margin-bottom:50px}
.about-content{max-width:900px;margin:0 auto}
.about p{
    line-height:1.9;
    font-size:16px;
    color:#ccc;
    margin-bottom:20px;
}
.about .vision{
    color:#409eff;
    font-size:18px;
    font-weight:bold;
    text-align:center;
    margin-top:30px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px;
    }

    .logo {
        font-size: 22px;
        text-align: center;
    }

    .nav-a {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .nav-a a,
    .nav-a span {
        margin-left: 0;
    }

    .banner {
        min-height: 72vh;
        height: auto;
        padding: 80px 20px;
    }

    .banner h1 {
        font-size: 34px;
        line-height: 1.25;
    }

    .banner p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
    }

    .game,
    .about,
    .job-list {
        padding-left: 20px;
        padding-right: 20px;
    }

    .game {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .title,
    .job-header h1 {
        font-size: 28px;
    }

    .title {
        margin-bottom: 32px;
    }

    .game-list {
        gap: 20px;
    }

    .game-card {
        width: 100%;
        margin: 0 auto;
    }

    .game-card h3 {
        padding: 14px 16px 10px;
    }

    .game-card p {
        padding: 0 16px 18px;
    }

    .job-header {
        padding: 56px 20px 28px;
    }

    .job-header p,
    .about p,
    .job-item ul {
        font-size: 15px;
        line-height: 1.8;
    }

    .job-item {
        padding: 24px 20px;
    }

    .job-item h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .about {
        padding-top: 56px;
        padding-bottom: 56px;
        min-height: auto;
    }

    .about .vision {
        font-size: 17px;
        line-height: 1.7;
    }

    footer {
        padding: 24px 20px 32px;
        font-size: 14px;
    }

    .record-link {
        justify-content: center;
        flex-wrap: wrap;
    }

    .record-link__text {
        margin-left: 0;
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 28px;
    }

    .banner p {
        font-size: 15px;
    }

    .title,
    .job-header h1 {
        font-size: 24px;
    }

    .job-item {
        padding: 20px 16px;
    }
}
