* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: #080808;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  width: 100%;
  height: 78px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid #3a260d;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

.nav {
  max-width: 1200px;
  height: 78px;
  margin: auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 25px;
  color: #ffd36d;
  font-weight: bold;
  letter-spacing: 2px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav li {
  color: #ddd;
  font-size: 15px;
}

.nav li:hover {
  color: #ffd36d;
}

.hero {
  min-height: 720px;
  padding-top: 78px;
  background:
    linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.95)),
    url("https://yutianyi.com/uploads/allimg/20260528/16.gif?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

.hero h1 {
  font-size: 60px;
  color: #ffd36d;
  text-shadow: 0 0 22px #000;
  margin-bottom: 18px;
}

.hero p {
  font-size: 22px;
  color: #ddd;
  margin-bottom: 35px;
}

.version-tag {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid #ffd36d;
  color: #ffd36d;
  margin-bottom: 20px;
  border-radius: 30px;
  background: rgba(0,0,0,.45);
}

.btns {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  width: 170px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  border-radius: 4px;
  font-size: 17px;
  font-weight: bold;
  transition: .3s;
}

.btn-primary {
  background: linear-gradient(#ffd36d, #9d5b16);
  color: #251300;
}

.btn-primary:hover {
  filter: brightness(1.18);
}

.btn-line {
  border: 1px solid #ffd36d;
  color: #ffd36d;
}

.btn-line:hover {
  background: #ffd36d;
  color: #111;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 15px;
}

.title {
  text-align: center;
  font-size: 36px;
  color: #ffd36d;
  margin-bottom: 45px;
}

.title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #ffd36d;
  margin: 15px auto 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, #1a1a1a, #101010);
  border: 1px solid #3a260d;
  border-radius: 8px;
  padding: 28px 22px;
  transition: .3s;
}

.card:hover {
  transform: translateY(-7px);
  border-color: #ffd36d;
  box-shadow: 0 0 25px rgba(255, 211, 109, .16);
}

.card h3 {
  color: #ffd36d;
  font-size: 22px;
  margin-bottom: 14px;
}

.card p {
  color: #bbb;
  line-height: 1.8;
  font-size: 15px;
}

.info-area {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.panel {
  background: #141414;
  border: 1px solid #3a260d;
  border-radius: 8px;
  padding: 25px;
}

.panel h3 {
  color: #ffd36d;
  font-size: 22px;
  margin-bottom: 18px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #ddd;
  padding: 15px 0;
  border-bottom: 1px solid #2b2b2b;
  font-size: 15px;
}

.news-item:hover {
  color: #ffd36d;
}

.server-info p {
  color: #ccc;
  line-height: 2.2;
  font-size: 15px;
}

.server-info span {
  color: #ffd36d;
}

.download {
  background: linear-gradient(135deg, #1f1206, #050505);
  border-top: 1px solid #3a260d;
  border-bottom: 1px solid #3a260d;
  padding: 80px 15px;
  text-align: center;
}

.download h2 {
  color: #ffd36d;
  font-size: 38px;
  margin-bottom: 18px;
}

.download p {
  color: #bbb;
  font-size: 18px;
  margin-bottom: 34px;
}

.footer {
  background: #050505;
  color: #777;
  text-align: center;
  padding: 35px 15px;
  font-size: 14px;
  line-height: 2;
}

@media (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-area {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav ul {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 150px;
  }
}
/* 二级导航外层 */
.nav ul li.has-sub {
  position: relative;
}

/* 二级菜单默认隐藏 */
.nav ul li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid #3a260d;
  border-radius: 4px;
  padding: 8px 0;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
}
