.page-index-security-guarantee {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: var(--background-color, #0D0E12); /* Background */
}

.page-index-security-guarantee__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-security-guarantee__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 60px;
  background-color: var(--background-color, #0D0E12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-index-security-guarantee__hero-image {
  width: 1200px;
  height: 675px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-index-security-guarantee__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-security-guarantee__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FF8C1A; /* Main color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-security-guarantee__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

.page-index-security-guarantee__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-index-security-guarantee__cta-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

.page-index-security-guarantee__cta-button--secondary {
  background: #17191F; /* Card BG */
  border: 2px solid #A84F0C; /* Border color */
  color: #FFF3E6; /* Text Main */
}

.page-index-security-guarantee__cta-button--secondary:hover {
  background: #A84F0C; /* Border color */
  color: #ffffff;
}

.page-index-security-guarantee__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-security-guarantee__introduction-section,
.page-index-security-guarantee__encryption-section,
.page-index-security-guarantee__account-protection-section,
.page-index-security-guarantee__privacy-section,
.page-index-security-guarantee__fairness-section,
.page-index-security-guarantee__responsible-gaming-section,
.page-index-security-guarantee__support-section,
.page-index-security-guarantee__faq-section,
.page-index-security-guarantee__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--background-color, #0D0E12);
}

.page-index-security-guarantee__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
}

.page-index-security-guarantee__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-index-security-guarantee__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-index-security-guarantee__text-content {
  flex: 1;
}

.page-index-security-guarantee__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-security-guarantee__image {
  width: 800px;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index-security-guarantee__link-button {
  display: inline-block;
  color: #FFA53A; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  position: relative;
  padding-bottom: 5px;
}

.page-index-security-guarantee__link-button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #FFA53A;
  transition: width 0.3s ease;
}

.page-index-security-guarantee__link-button:hover::after {
  width: 0;
}

.page-index-security-guarantee__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-security-guarantee__faq-list {
  margin-top: 40px;
}

.page-index-security-guarantee__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  font-size: 1.1rem;
  list-style: none;
}

.page-index-security-guarantee__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFF3E6; /* Text Main */
}

.page-index-security-guarantee__faq-answer {
  padding: 0 20px 20px;
  color: #FFF3E6; /* Text Main */
  font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-security-guarantee__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-index-security-guarantee__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-index-security-guarantee__content-grid {
    flex-direction: column;
  }

  .page-index-security-guarantee__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-index-security-guarantee__hero-section {
    padding-top: 10px !important; /* Small top padding as per instruction */
    padding-bottom: 40px;
  }
  .page-index-security-guarantee__hero-image-wrapper {
    max-height: 300px;
  }
  .page-index-security-guarantee__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-index-security-guarantee__main-title {
    font-size: 2rem !important;
    margin-bottom: 15px;
  }

  .page-index-security-guarantee__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* 其他内容模块 */
  .page-index-security-guarantee__introduction-section,
  .page-index-security-guarantee__encryption-section,
  .page-index-security-guarantee__account-protection-section,
  .page-index-security-guarantee__privacy-section,
  .page-index-security-guarantee__fairness-section,
  .page-index-security-guarantee__responsible-gaming-section,
  .page-index-security-guarantee__support-section,
  .page-index-security-guarantee__faq-section,
  .page-index-security-guarantee__cta-bottom-section {
    padding: 40px 0;
  }

  .page-index-security-guarantee__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px;
  }

  .page-index-security-guarantee__text-block {
    font-size: 0.95rem;
  }

  /* 通用图片与容器 */
  .page-index-security-guarantee img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-security-guarantee__container,
  .page-index-security-guarantee__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* 按钮与按钮容器 */
  .page-index-security-guarantee__cta-button,
  .page-index-security-guarantee__link-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-security-guarantee__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  /* FAQ */
  .page-index-security-guarantee__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-index-security-guarantee__faq-answer {
    padding: 0 15px 15px;
  }
}