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

body {
  font-family: 'Inter', sans-serif;
  background-color: #F5F0E1;
  background-image: radial-gradient(rgba(58, 46, 37, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  color: #3A2E25;
  line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(58, 46, 37, 0.9);
  padding: 1rem 5%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #D4AF37;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #F5F0E1;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #F5F0E1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D4AF37;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #D4AF37;
}

.nav-links a:hover::after {
  width: 100%;
}

/* 英雄区域样式 */
.hero {
  padding: 8rem 5% 4rem;
  text-align: center;
  background: 
    linear-gradient(rgba(58, 46, 37, 0.75), rgba(58, 46, 37, 0.75)),
    url('game2.webp') center/cover no-repeat,
    radial-gradient(rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  color: #F5F0E1;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ink" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M20 20 Q50 10 80 20 Q50 30 20 20" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/><path d="M20 80 Q50 90 80 80 Q50 70 20 80" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/><path d="M80 20 Q90 50 80 80 Q70 50 80 20" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/><path d="M20 20 Q10 50 20 80 Q30 50 20 20" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23ink)"/></svg>');
  background-size: 200px 200px;
  pointer-events: none;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #D4AF37;
  text-shadow: 0 2px 4px rgba(58, 46, 37, 0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 2px rgba(58, 46, 37, 0.5);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #D4AF37;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(58, 46, 37, 0.5);
}

.feature-item i {
  font-size: 1.2rem;
}

.download-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #C41E3A, #A5182F);
  color: #F5F0E1;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.download-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #A5182F, #8C1426);
  box-shadow: 0 4px 8px rgba(196, 30, 58, 0.2);
}

.download-btn:hover::before {
  left: 100%;
}

.hero .note {
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.8;
}

/* 游戏介绍区域 */
.game-intro {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.game-intro h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #3A2E25;
  border-bottom: 2px solid #D4AF37;
  padding-bottom: 0.5rem;
  position: relative;
}

.game-intro h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #C41E3A;
}

.game-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.screenshot-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(58, 46, 37, 0.1), 0 0 0 1px rgba(212, 175, 55, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.screenshot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #C41E3A);
}

.screenshot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(58, 46, 37, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.screenshot-card h3 {
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  color: #3A2E25;
  border-bottom: 1px solid rgba(58, 46, 37, 0.1);
  margin: 0;
}

.screenshot-card p {
  padding: 0 1.5rem 1.5rem;
  color: #5A4A3F;
  margin: 0;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.game-desc {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(58, 46, 37, 0.1);
  margin-top: 2rem;
}

.game-desc h3 {
  color: #C41E3A;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.game-features-list {
  list-style: none;
  margin: 1rem 0 2rem;
}

.game-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: #5A4A3F;
}

.game-features-list li i {
  color: #D4AF37;
  font-size: 1.1rem;
}

.game-desc p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5A4A3F;
  margin-bottom: 1rem;
}

/* 技术支持区域 */
.support {
  padding: 4rem 5%;
  background-color: #F0E8D7;
  background-image: radial-gradient(rgba(58, 46, 37, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.support-container {
  max-width: 1200px;
  margin: 0 auto;
}

.support h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #3A2E25;
  border-bottom: 2px solid #D4AF37;
  padding-bottom: 0.5rem;
  position: relative;
}

.support h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #C41E3A;
}

.support-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.support-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(58, 46, 37, 0.1), 0 0 0 1px rgba(212, 175, 55, 0.1);
  transition: transform 0.3s ease;
}

.support-card:hover {
  transform: translateY(-3px);
}

.support-card h3 {
  color: #C41E3A;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  padding-left: 1rem;
}

.support-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.2rem;
  background-color: #D4AF37;
  border-radius: 2px;
}

.support-card p {
  margin-bottom: 0.5rem;
  color: #5A4A3F;
}

.support-card a {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 500;
}

.support-card a:hover {
  text-decoration: underline;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(58, 46, 37, 0.1);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 隐私政策区域 */
.privacy {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.privacy h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #3A2E25;
  border-bottom: 2px solid #D4AF37;
  padding-bottom: 0.5rem;
  position: relative;
}

.privacy h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #C41E3A;
}

.privacy-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(58, 46, 37, 0.1);
}

.privacy-section {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(58, 46, 37, 0.1);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h3 {
  color: #C41E3A;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  padding-left: 1rem;
}

.privacy-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.2rem;
  background-color: #D4AF37;
  border-radius: 2px;
}

.privacy-section p {
  margin-bottom: 0.5rem;
  color: #5A4A3F;
}

.privacy-section ul {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #5A4A3F;
}

.privacy-section ul li {
  margin-bottom: 0.3rem;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(90deg, #D4AF37, #C41E3A);
  color: #F5F0E1;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(58, 46, 37, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  transform: scale(1.1);
  background: linear-gradient(90deg, #B8942F, #A5182F);
}

.back-to-top.show {
  display: flex;
}

/* 页脚样式 */
.footer {
  background-color: #3A2E25;
  color: #F5F0E1;
  padding: 2rem 5%;
  background-image: radial-gradient(rgba(245, 240, 225, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #D4AF37;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #F5F0E1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #D4AF37;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #F5F0E1;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #D4AF37;
}

.footer-copyright {
  margin-bottom: 0.5rem;
  text-align: center;
}

.footer-contact {
  text-align: center;
  margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(245, 240, 225, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    order: 1;
  }

  .mobile-menu-btn {
    order: 2;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-features {
    gap: 1rem;
    justify-content: center;
  }

  .feature-item {
    font-size: 0.9rem;
  }

  .game-screenshots {
    grid-template-columns: 1fr;
  }

  .support-content {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 5% 3rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .download-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .game-intro, .support, .privacy {
    padding: 2rem 5%;
  }

  .game-desc, .support-card, .privacy-content {
    padding: 1.5rem;
  }
}