/* General Styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f0f0f0; /* 全部字体颜色改为白色 */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Header Section */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background-color: transparent;
  color: white;
}

header nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 10px;
}

header nav ul li a:hover {
  background-color: #e63946;
  border-radius: 5px;
}

/* Hero Section */
.hero-section {
  padding: 120px 20px 60px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 设置为全屏高度 */
  text-align: center;
}

/* Hero Background Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明黑色背景 */
  z-index: 1;
}

/* Hero Content */
.hero-content {
  z-index: 2; /* 确保文字位于背景之上 */
}

.hero-content h1 {
  font-size: 56px;
  font-weight: bold;
  margin-top: 50px; /* 让标题下移 */
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* 给文字加点阴影，增强对比度 */
}

.hero-content p {
  font-size: 24px;
  font-weight: 300;
  color: white;
  margin-top: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* 给文字加点阴影，增强对比度 */
}

/* Section Styles */
section {
  padding: 60px 20px;
  text-align: center;
  margin: 10px 0;
  color: #fff;
  background-color: transparent; /* 默认透明背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Add background overlay when scrolled */
section.scrolled {
  background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
  border-radius: 8px; /* 添加圆角 */
}

/* About Section */
.section-about {
  padding-top: 150px; /* 让"欢迎"和简介往下移动 */
}

.section-about h2 {
  font-size: 48px; /* 增加标题字体大小 */
  font-weight: bold;
  margin-bottom: 20px;
}

.section-about p {
  font-size: 22px; /* 增加文字大小 */
  margin-bottom: 20px;
  line-height: 1.8;
}

.cta-btn {
  background-color: #2b7a78;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 5px;
}

.cta-btn:hover {
  background-color: #e63946;
}

/* Footer Styles */
footer {
  background-color: #2b7a78;
  text-align: center;
  padding: 20px 0;
  color: white;
}

/* Partner Logos */
.partner-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.partner-logo {
  width: 150px;
  height: auto;
}

/* Legal & Smart Contract Sections */
.section-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.section-content p, .section-content ul {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Contact Section */
.contact-info {
  font-size: 18px;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hero Section */
  .hero-content h1 {
    font-size: 45px; /* 更小屏幕时适当减小标题字体 */
  }

  .hero-content p {
    font-size: 20px; /* 更小屏幕时适当减小文字 */
  }

  /* Section Fonts */
  .section-about h2 {
    font-size: 36px; /* 在小屏幕上减小标题字体 */
  }

  .section-about p {
    font-size: 18px; /* 在小屏幕上减小文字 */
  }

  /* Button */
  .cta-btn {
    font-size: 16px;
    padding: 12px 25px;
  }

  /* Header navigation */
  header nav ul {
    flex-direction: column;
    gap: 15px;
  }

  /* Tokenomics & Roadmap Sections */
  #tokenomics, #roadmap {
    padding: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 20px auto;
    text-align: center;
    width: 80%;
  }

  #tokenomics h2, #roadmap h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
  }

  #tokenomics ul, #roadmap ul {
    list-style: none;
    padding: 0;
  }

  #tokenomics ul li, #roadmap ul li {
    font-size: 18px;
    padding: 8px 0;
  }

  /* Roadmap Layout */
  .roadmap-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .roadmap-item {
    width: 30%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    color: black;
    text-align: left;
  }

  .roadmap-item h3 {
    text-align: center;
    color: #0073e6;
  }

  .roadmap-item ul {
    padding-left: 20px;
  }
}
