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

body {
    background-color: #0a192f;
    color: #fff;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}

a:hover {
    color: #4fc3f7;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.bg-dark {
    background-color: #071223;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #4fc3f7;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 100px;
    height: 3px;
    background: #4fc3f7;
    display: block;
    margin: 12px auto 0;
}

/* 固定导航 */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0c2442;
    border-bottom: 2px solid #4fc3f7;
    z-index: 999;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #4fc3f7;
}

.nav a {
    margin-left: 28px;
    font-size: 17px;
    padding: 8px 0;
}

.nav a.active {
    color: #4fc3f7;
    border-bottom: 2px solid #4fc3f7;
}

/* 搜服横幅 */
.search-banner {
    margin-top: 75px;
    padding: 80px 0;
    background: linear-gradient(rgba(8,18,35,0.9), rgba(8,18,35,0.9)), url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==);
    text-align: center;
}

.search-box h1 {
    font-size: 38px;
    margin-bottom: 25px;
    color: #fff;
}

.search-bar {
    max-width: 750px;
    margin: 0 auto 30px;
    display: flex;
}

.search-bar input {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    font-size: 16px;
    border: none;
    outline: none;
    background: #fff;
    color: #333;
    border-radius: 6px 0 0 6px;
}

.search-bar button {
    width: 140px;
    height: 52px;
    background: #4fc3f7;
    color: #0a192f;
    border: none;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: 0.3s;
}

.search-bar button:hover {
    background: #0288d1;
    color: #fff;
}

.server-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.server-tags span {
    background: #0c2442;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    border: 1px solid #4fc3f7;
}

/* 开服表 */
.server-table {
    background: #0c2442;
    border-radius: 10px;
    overflow: hidden;
}

.server-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr 1fr;
    background: #4fc3f7;
    color: #0a192f;
}

.th {
    padding: 16px;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
}

.server-tr {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr 1fr;
    border-bottom: 1px solid #193764;
}

.td {
    padding: 18px 10px;
    text-align: center;
    font-size: 16px;
}

.td.hot {
    color: #ff5252;
    font-weight: bold;
}

.td.green {
    color: #69f0ae;
}

.td.red {
    color: #ff5252;
}

/* 18职业 */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.job-card {
    background: #0c2442;
    padding: 26px;
    border-radius: 10px;
    border: 1px solid #193764;
    transition: 0.3s;
}

.job-card:hover {
    transform: translateY(-6px);
    border-color: #4fc3f7;
}

.job-card h3 {
    color: #4fc3f7;
    font-size: 20px;
    margin-bottom: 10px;
}

/* 副本攻略 */
.copy-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.copy-item {
    background: #0c2442;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #4fc3f7;
}

.copy-item h3 {
    color: #4fc3f7;
    font-size: 21px;
    margin-bottom: 12px;
}

/* 游戏功能 */
.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.func-card {
    background: #0c2442;
    padding: 26px;
    border-radius: 10px;
    border: 1px solid #193764;
}

.func-card h3 {
    color: #4fc3f7;
    font-size: 20px;
    margin-bottom: 10px;
}

/* 新手教程 */
.guide-box {
    background: #0c2442;
    padding: 40px;
    border-radius: 10px;
    font-size: 17px;
    line-height: 2;
}

.guide-box p {
    margin-bottom: 12px;
}

/* 底部 */
.footer {
    background: #050d1a;
    padding: 35px 0;
    text-align: center;
    border-top: 2px solid #4fc3f7;
}

.footer p {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 15px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .job-grid, .func-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-grid, .func-grid, .copy-wrap, .server-head, .server-tr {
        grid-template-columns: 1fr;
    }
    .nav-wrap {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .nav a {
        margin: 0 10px;
    }
    .search-box h1 {
        font-size: 28px;
    }
}