* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background-color: #1a1a2e;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: bold;
}
.nav-game {
  display: none;
}

.logo i {
  color: #e94560;
}
.icpItem {
  display: none;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #e94560;
}

/* 英雄区域 */
.hero {
  background: linear-gradient(
      rgba(26, 26, 46, 0.8),
      rgba(26, 26, 46, 0.9)
    ),
    url("../img/s3.jpg") center/cover no-repeat;
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background-color: #e94560;
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #c73650;
}

/* 公司简介 */
.company-info {
  padding: 5rem 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #1a1a2e;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #e94560;
  margin: 10px auto;
}

.info-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.info-text {
  flex: 1;
  font-size: 1.1rem;
}

.info-text p {
  margin-bottom: 1.5rem;
}

.info-img {
  flex: 1;
  max-width: 500px;
}

.info-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 游戏展示 */
.games {
  padding: 5rem 0;
  background-color: #f5f5f7;
}

.game-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 4rem;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-header {
  position: relative;
  height: 300px;
}

.game-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem;
  font-size: 1.8rem;
}

.game-content {
  padding: 2rem;
}

.game-description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.game-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.game-feature h3 {
  margin-bottom: 1rem;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-feature h3 i {
  color: #e94560;
}

.game-feature ul {
  list-style-position: inside;
  margin-left: 1rem;
}

.game-feature li {
  margin-bottom: 0.5rem;
}

.screenshots {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 280px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.screenshot-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.screenshot-caption {
  padding: 0.8rem;
  background-color: #f9f9f9;
  font-size: 0.9rem;
  text-align: center;
}

.purchase-steps {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.purchase-steps h3 {
  margin-bottom: 1.5rem;
  color: #1a1a2e;
  text-align: center;
}

.steps-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.step {
  flex: 0 0 auto;
  width: 280px;
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #e94560;
  color: white;
  border-radius: 50%;
  line-height: 30px;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.step-image {
  width: 100%;
  height: 160px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-section {
  text-align: center;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1a1a2e;
  margin-right: 1rem;
}

.download-btn:hover {
  background-color: #2d2d44;
}

/* 页脚 */
footer {
  background-color: #1a1a2e;
  color: white;
  padding: 3rem 0 1.5rem;
}
footer a {
  text-decoration: none;
  color: #fff;
}
footer a:hover {
  color: #999;
}


.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #e94560;
}

.footer-section p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #2d2d44;
  color: white;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #e94560;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

.icp-record {
  margin-top: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .info-content {
    flex-direction: column;
  }

  .game-details {
    grid-template-columns: 1fr;
  }

  .game-header {
    height: 200px;
  }

  .step {
    width: 220px;
  }
}