* {
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Microsoft YaHei",sans-serif;
}
body {
  background:#fff;
  color:#000;
}
.container {
  width:1200px;
  margin:0 auto;
  padding:0 15px;
}

/* 顶部固定 */
.header {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:70px;
  background:#000;
  z-index:999;
  transition:all 0.3s;
}
.header .container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:70px;
}
.logo {
  color:#fff;
  font-size:26px;
  font-weight:bold;
}
.nav {
  list-style:none;
  display:flex;
}
.nav li {
  margin-left:30px;
}
.nav a {
  color:#fff;
  text-decoration:none;
  font-size:16px;
  transition:0.3s;
}
.nav a.active,
.nav a:hover {
  color:#ffcc00;
}

/* 搜索 */
.search-wrap {
  margin-top:70px;
  padding:30px 0;
  background:#f5f5f5;
}
.search-box {
  display:flex;
  max-width:700px;
  margin:0 auto 20px;
}
.search-box input {
  flex:1;
  height:50px;
  border:2px solid #000;
  padding:0 15px;
  font-size:16px;
  outline:none;
}
.search-box button {
  width:120px;
  height:50px;
  background:#000;
  color:#fff;
  border:none;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
}
.search-box button:hover {
  background:#333;
}
.search-tags {
  text-align:center;
}
.search-tags span {
  display:inline-block;
  padding:6px 12px;
  background:#000;
  color:#fff;
  margin:4px;
  border-radius:4px;
  font-size:14px;
  cursor:pointer;
  transition:0.2s;
}
.search-tags span:hover {
  background:#333;
}

/* banner */
.banner {
  height:460px;
  background:linear-gradient(to right,#000,#222);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  animation:fadeIn 1.2s;
}
.banner-inner h1 {
  font-size:44px;
  margin-bottom:15px;
}
.banner-inner p {
  font-size:18px;
  margin-bottom:30px;
  color:#eee;
}
.btn {
  display:inline-block;
  padding:14px 40px;
  background:#fff;
  color:#000;
  text-decoration:none;
  font-size:16px;
  font-weight:bold;
  border-radius:6px;
  transition:0.3s;
}
.btn:hover {
  background:#ffcc00;
  transform:scale(1.05);
}

/* 优势 */
.advantage {
  padding:50px 0;
  background:#fff;
}
.advantage .container {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}
.adv-item {
  flex:1;
  min-width:220px;
  background:#f9f9f9;
  padding:30px 20px;
  text-align:center;
  border:1px solid #eee;
  border-radius:8px;
  transition:0.3s;
}
.adv-item:hover {
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.08);
}
.adv-item h3 {
  font-size:20px;
  margin-bottom:10px;
}

/* 模块 */
.section {
  padding:70px 0;
}
.bg-gray {
  background:#f7f7f7;
}
.title {
  text-align:center;
  font-size:32px;
  margin-bottom:50px;
  position:relative;
}
.title::after {
  content:"";
  width:80px;
  height:3px;
  background:#000;
  position:absolute;
  bottom:-10px;
  left:50%;
  transform:translateX(-50%);
}

/* 职业 */
.career-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}
.career-card {
  background:#fff;
  padding:25px;
  border:1px solid #eee;
  border-radius:8px;
  transition:0.3s;
}
.career-card:hover {
  box-shadow:0 8px 16px rgba(0,0,0,0.08);
}
.career-card h3 {
  font-size:22px;
  margin-bottom:12px;
}

/* 攻略 */
.guide-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}
.guide-card {
  background:#fff;
  padding:25px;
  border:1px solid #eee;
  border-radius:8px;
  transition:0.3s;
}
.guide-card:hover {
  box-shadow:0 8px 16px rgba(0,0,0,0.08);
}
.guide-card h3 {
  font-size:20px;
  margin-bottom:10px;
}

/* 功能 */
.func-list {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.func-item {
  background:#fff;
  padding:20px;
  border:1px solid #eee;
  border-radius:8px;
  text-align:center;
  transition:0.3s;
}
.func-item:hover {
  background:#000;
  color:#fff;
}

/* 游戏版本 */
.game-tags {
  text-align:center;
  margin-bottom:40px;
}
.game-tags span {
  display:inline-block;
  padding:8px 16px;
  background:#000;
  color:#fff;
  margin:6px;
  border-radius:4px;
  font-size:15px;
}
.game-list {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.game-card {
  background:#fff;
  padding:25px;
  border:1px solid #eee;
  border-radius:8px;
  transition:0.3s;
}
.game-card:hover {
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.08);
}
.game-card h3 {
  font-size:19px;
  margin-bottom:10px;
}

/* 开服资讯 */
.news-list {
  max-width:800px;
  margin:0 auto;
}
.news-item {
  padding:12px 20px;
  background:#fff;
  border:1px solid #eee;
  margin-bottom:10px;
  border-radius:6px;
  font-size:16px;
  transition:0.2s;
}
.news-item:hover {
  background:#f2f2f2;
  padding-left:25px;
}

/* 底部 */
.footer {
  background:#000;
  color:#fff;
  text-align:center;
  padding:40px 0;
}
.footer p {
  margin-bottom:10px;
  font-size:14px;
}

/* 动画 */
@keyframes fadeIn {
  from{opacity:0;}
  to{opacity:1;}
}

/* 响应式 */
@media(max-width:1200px){
  .container{width:100%;}
  .career-list,.guide-list,.func-list,.game-list{grid-template-columns:repeat(2,1fr);}
}

/* 开服列表整齐对齐 */
.news-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.news-item {
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 15px;
  transition: 0.2s;
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
}
.news-item:hover {
  background: #f2f2f2;
  padding-left: 25px;
}