/* 通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica', sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
  color: #333;
  padding: 0;
  margin: 0;
}

/* 页面容器 */
.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #1a1a1a;
  color: white;
  padding: 20px 0;
}

header h1 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

nav {
  text-align: center;
  margin-top: 20px;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin: 0 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

nav ul li a:hover {
  color: #ff9900;
}

/* Hero Section */
.hero {
  background: url('hero-bg.jpg') center center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: white;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero .btn-primary {
  padding: 12px 25px;
  font-size: 1.2rem;
  background-color: #ff9900;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.hero .btn-primary:hover {
  background-color: #e68a00;
}

/* 私服类型部分 */
#types {
  background-color: #fff;
  padding: 60px 0;
}

#types h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 40px;
}

.type-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  background-color: #f4f4f4;
  padding: 20px;
  width: 30%;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.card p {
  font-size: 1.1rem;
  color: #555;
}

/* 其他内容部分 */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

ul {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  list-style-type: disc;
  margin-left: 40px;
}

/* 底部 */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer p {
  font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    width: 90%;
    padding: 10px;
  }

  nav ul {
    text-align: center;
  }

  .type-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 80%;
    margin-bottom: 20px;
  }

  .hero h2 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.3rem;
  }
}
