.page-index {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-index__section-title {
  font-size: 36px;
  color: #FF8C1A; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #FFA53A; /* Accent Color */
  border-radius: 2px;
}

.page-index__text-block {
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

.page-index__card-title {
  font-size: 20px;
  color: #FF8C1A; /* Main Color */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
}

.page-index__card-title a {
  color: #FF8C1A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__card-title a:hover {
  color: #FFA53A;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 132, 26, 0.4);
}

.page-index__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  box-shadow: 0 6px 20px rgba(255, 132, 26, 0.6);
  transform: translateY(-2px);
}

.page-index__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A;
  border: 2px solid #A84F0C; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index__btn-secondary:hover {
  background: #2a2d34;
  color: #FFA53A;
  border-color: #FF8C1A;
  transform: translateY(-2px);
}

.page-index__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index__btn-small:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 132, 26, 0.4);
}

/* HERO主图区域样式 */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Important for flex items */
}

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-index__main-title {
  font-size: clamp(28px, 4vw, 56px); /* Responsive font size */
  color: #FF8C1A; /* Main Color */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.page-index__hero-description {
  font-size: clamp(16px, 2vw, 22px);
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Module 1: Intro Section */
.page-index__intro-section {
  padding: 80px 0;
  background: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-index__dark-section {
  background: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-index__intro-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__feature-item {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border */
}

.page-index__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px #FF8C1A;
}

.page-index__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px #FF8C1A);
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__feature-title {
  font-size: 22px;
  color: #FFA53A; /* Accent Color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__feature-item p {
  font-size: 15px;
  color: #FFF3E6;
  opacity: 0.8;
}

/* Module 2: Quick Links Section */
.page-index__quick-links-section {
  padding: 80px 0;
  background: #0D0E12;
  color: #FFF3E6;
}

.page-index__link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.page-index__link-card {
  background: #17191F; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #FFF3E6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-index__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 10px #FF8C1A;
  border-color: #FF8C1A;
}

.page-index__link-card .page-index__card-title {
  font-size: 20px;
  color: #FF8C1A;
  margin-bottom: 10px;
  margin-top: 0;
}

.page-index__link-card p {
  font-size: 15px;
  opacity: 0.8;
}

/* Module 3: Core Games Section */
.page-index__games-section {
  padding: 80px 0;
  background: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-index__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__game-card {
  background: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-index__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px #FF8C1A;
}

.page-index__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #A84F0C;
  margin-bottom: 15px;
  max-width: 100%;
  display: block;
}

.page-index__game-card .page-index__card-title {
  color: #FF8C1A;
  font-size: 22px;
  margin-bottom: 10px;
}

.page-index__game-card p {
  font-size: 15px;
  color: #FFF3E6;
  opacity: 0.8;
  padding: 0 20px;
  flex-grow: 1;
}

/* Module 4: Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background: #0D0E12;
  color: #FFF3E6;
}

.page-index__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__promo-card {
  background: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px #FF8C1A;
}

.page-index__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #A84F0C;
  margin-bottom: 15px;
  max-width: 100%;
  display: block;
}

.page-index__promo-card .page-index__card-title {
  color: #FF8C1A;
  font-size: 22px;
  margin-bottom: 10px;
}

.page-index__promo-card p {
  font-size: 15px;
  color: #FFF3E6;
  opacity: 0.8;
  padding: 0 20px;
  flex-grow: 1;
}

.page-index__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* Module 5: Security & CS Section */
.page-index__security-cs-section {
  padding: 80px 0;
  background: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-index__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__contact-cta {
  text-align: center;
  margin-top: 50px;
}

/* Module 6: FAQ Section */
.page-index__faq-section {
  padding: 80px 0;
  background: #0D0E12;
  color: #FFF3E6;
}

.page-index__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FF8C1A; /* Main Color */
  font-weight: bold;
}

details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
  display: none;
}

details.page-index__faq-item summary.page-index__faq-question:hover {
  background: #2a2d34;
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  color: #FF8C1A;
}

.page-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A; /* Accent Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
  font-size: 15px;
  opacity: 0.9;
}

/* Module 7: Blog Section */
.page-index__blog-section {
  padding: 80px 0;
  background: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-index__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__blog-card {
  background: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
  display: flex;
  flex-direction: column;
}

.page-index__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px #FF8C1A;
}

.page-index__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #A84F0C;
  margin-bottom: 15px;
  max-width: 100%;
  display: block;
}

.page-index__blog-content {
  padding: 0 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index__blog-content .page-index__card-title {
  text-align: left;
  font-size: 20px;
  color: #FF8C1A;
}

.page-index__blog-content .page-index__card-title a {
  color: #FF8C1A;
  text-decoration: none;
}

.page-index__blog-meta {
  font-size: 14px;
  color: #FFA53A;
  opacity: 0.7;
  margin-bottom: 10px;
}

.page-index__blog-content p {
  font-size: 15px;
  color: #FFF3E6;
  opacity: 0.8;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index__view-all-posts {
  text-align: center;
  margin-top: 50px;
}

/* 全局图片响应式样式 */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
  .page-index__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-index__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__hero-image {
    margin-bottom: 20px;
  }

  .page-index__main-title {
    font-size: clamp(24px, 7vw, 40px);
  }

  .page-index__hero-description {
    font-size: clamp(14px, 4vw, 18px);
    margin-bottom: 20px;
  }

  .page-index__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    margin: 10px 0;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__intro-section,
  .page-index__quick-links-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__security-cs-section,
  .page-index__faq-section,
  .page-index__blog-section {
    padding: 50px 0;
  }

  .page-index__feature-item {
    padding: 25px;
  }

  .page-index__feature-title {
    font-size: 18px;
  }

  .page-index__link-card .page-index__card-title,
  .page-index__game-card .page-index__card-title,
  .page-index__promo-card .page-index__card-title,
  .page-index__blog-card .page-index__card-title {
    font-size: 18px;
  }

  .page-index__game-card img,
  .page-index__promo-card img,
  .page-index__blog-card img {
    
  }

  details.page-index__faq-item summary.page-index__faq-question {
    padding: 15px 20px;
  }

  .page-index__faq-qtext {
    font-size: 16px;
  }

  .page-index__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-index__faq-item .page-index__faq-answer {
    padding: 0 20px 20px;
  }

  .page-index__blog-content .page-index__card-title {
    font-size: 18px;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__hero-section,
  .page-index__intro-section,
  .page-index__quick-links-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__security-cs-section,
  .page-index__faq-section,
  .page-index__blog-section,
  .page-index__link-cards,
  .page-index__game-categories,
  .page-index__promo-cards,
  .page-index__security-features,
  .page-index__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__btn-small {
    width: auto !important;
    max-width: 100% !important;
    padding: 8px 15px;
    font-size: 13px;
  }

  .page-index__cta-buttons,
  .page-index__button-group,
  .page-index__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-index__section-title {
    font-size: 24px;
  }
  .page-index__main-title {
    font-size: clamp(22px, 8vw, 36px);
  }
  .page-index__hero-description {
    font-size: clamp(13px, 4.5vw, 16px);
  }
  .page-index__feature-item {
    padding: 20px;
  }
  .page-index__feature-title {
    font-size: 17px;
  }
  .page-index__link-card .page-index__card-title,
  .page-index__game-card .page-index__card-title,
  .page-index__promo-card .page-index__card-title,
  .page-index__blog-card .page-index__card-title {
    font-size: 17px;
  }
  .page-index__game-card img,
  .page-index__promo-card img,
  .page-index__blog-card img {
    
  }
  details.page-index__faq-item summary.page-index__faq-question {
    padding: 12px 15px;
  }
  .page-index__faq-qtext {
    font-size: 15px;
  }
  .page-index__faq-toggle {
    font-size: 22px;
  }
  details.page-index__faq-item .page-index__faq-answer {
    padding: 0 15px 15px;
  }
}