/* -------------------------------------------------------------------------- */
/*                            Base Styles for About Page                      */
/* -------------------------------------------------------------------------- */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__section-description,
.page-about__paragraph {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* -------------------------------------------------------------------------- */
/*                                Hero Section                                */
/* -------------------------------------------------------------------------- */
.page-about__hero-section {
  padding: 0;
  text-align: center;
  background-color: #F4F7FB;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for desktop hero image */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about__hero-content-wrapper {
  padding: 40px 0 60px 0;
  background-color: #F4F7FB;
}

.page-about__hero-container {
  padding-top: 10px; /* Small top padding for the first content block */
}

.page-about__main-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  color: #2F6BFF; /* Main Brand Color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-about__intro-text {
  font-size: 20px;
  color: #1F2D3D;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-about__btn-secondary:hover {
  background-color: #F4F7FB;
  border-color: #6FA3FF;
  color: #6FA3FF;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* -------------------------------------------------------------------------- */
/*                            Mission & Vision Section                        */
/* -------------------------------------------------------------------------- */
.page-about__mission-vision {
  background-color: #ffffff;
  padding: 80px 0;
}

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

.page-about__feature-card {
  background: #F4F7FB;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-about__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-about__feature-text {
  font-size: 16px;
  color: #1F2D3D;
}

/* -------------------------------------------------------------------------- */
/*                           Security & Fair Play Section                     */
/* -------------------------------------------------------------------------- */
.page-about__security-fairplay {
  background-color: #F4F7FB;
  padding: 80px 0;
}

.page-about__security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__security-content .page-about__section-title {
  text-align: left;
}

.page-about__security-content .page-about__section-description,
.page-about__security-content .page-about__paragraph {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.page-about__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__security-list li {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__security-list li::before {
  content: '✔';
  color: #2F6BFF;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__security-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: block;
}

/* -------------------------------------------------------------------------- */
/*                           Game Offerings Section                           */
/* -------------------------------------------------------------------------- */
.page-about__game-offerings {
  background: #2F6BFF; /* Main Brand Color */
  color: #ffffff;
  padding: 80px 0;
}

.page-about__game-offerings .page-about__section-title,
.page-about__game-offerings .page-about__section-description {
  color: #ffffff;
}

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

.page-about__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.page-about__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-about__game-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-about__game-card-text {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-about__btn-tertiary {
  background-color: #6FA3FF;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
}

.page-about__btn-tertiary:hover {
  background-color: #4A8BFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* -------------------------------------------------------------------------- */
/*                           Customer Support Section                         */
/* -------------------------------------------------------------------------- */
.page-about__customer-support {
  background-color: #ffffff;
  padding: 80px 0;
}

.page-about__support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__support-content .page-about__section-title {
  text-align: left;
}

.page-about__support-content .page-about__section-description,
.page-about__support-content .page-about__paragraph {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.page-about__support-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: block;
}

/* -------------------------------------------------------------------------- */
/*                             Why Choose Us Section                          */
/* -------------------------------------------------------------------------- */
.page-about__why-choose-us {
  background-color: #F4F7FB;
  padding: 80px 0;
}

.page-about__benefits-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 50px auto;
  text-align: left;
}

.page-about__benefits-list li {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.page-about__benefits-list li::before {
  content: '⭐';
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1.5;
}

.page-about__cta-bottom {
  margin-top: 40px;
}

/* -------------------------------------------------------------------------- */
/*                                FAQ Section                                 */
/* -------------------------------------------------------------------------- */
.page-about__faq-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #fff;
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main Brand Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
  font-size: 16px;
}

.page-about__faq-answer p {
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------- */
/*                             Final CTA Section                              */
/* -------------------------------------------------------------------------- */
.page-about__final-cta {
  background: #2F6BFF; /* Main Brand Color */
  color: #ffffff;
  padding: 80px 0;
}

.page-about__final-cta .page-about__section-title,
.page-about__final-cta .page-about__section-description {
  color: #ffffff;
}

/* -------------------------------------------------------------------------- */
/*                                 Responsive Styles                          */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 32px;
  }

  .page-about__section-description,
  .page-about__paragraph {
    font-size: 17px;
  }

  .page-about__hero-image-wrapper {
    height: 450px;
  }

  .page-about__intro-text {
    font-size: 18px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-about__grid-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-about__feature-title {
    font-size: 22px;
  }

  .page-about__security-grid,
  .page-about__support-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-about__security-content,
  .page-about__support-content {
    order: 2; /* Content below image on smaller screens */
  }

  .page-about__security-image-wrapper,
  .page-about__support-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-about__security-content .page-about__section-title,
  .page-about__security-content .page-about__section-description,
  .page-about__security-content .page-about__paragraph,
  .page-about__support-content .page-about__section-title,
  .page-about__support-content .page-about__section-description,
  .page-about__support-content .page-about__paragraph {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-about__security-list,
  .page-about__benefits-list {
    text-align: center;
    padding: 0 20px;
  }

  .page-about__security-list li,
  .page-about__benefits-list li {
    padding-left: 0;
  }

  .page-about__security-list li::before,
  .page-about__benefits-list li::before {
    position: static;
    margin-right: 8px;
  }

  .page-about__game-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-about__game-card-title {
    font-size: 20px;
  }

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

@media (max-width: 768px) {
  /* 1. top-text 首块顶距 */
  .page-about__hero-container {
    padding-top: 10px !important;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-about__section-description,
  .page-about__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__hero-image-wrapper {
    height: 300px;
  }

  .page-about__hero-content-wrapper {
    padding: 20px 0 40px 0;
  }

  .page-about__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* 4. 按钮响应式适配 */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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;
  }

  /* 2. 落地页双栏模块 - 单列堆叠 */
  .page-about__grid-features,
  .page-about__security-grid,
  .page-about__support-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__feature-title {
    font-size: 20px;
  }

  .page-about__security-content .page-about__section-title,
  .page-about__support-content .page-about__section-title {
    font-size: 26px;
  }

  .page-about__security-image-wrapper,
  .page-about__support-image-wrapper {
    margin-bottom: 20px;
  }

  /* 3. 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__container,
  .page-about__section,
  .page-about__card,
  .page-about__hero-section,
  .page-about__mission-vision,
  .page-about__security-fairplay,
  .page-about__game-offerings,
  .page-about__customer-support,
  .page-about__why-choose-us,
  .page-about__faq-section,
  .page-about__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__game-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .page-about__game-card-image {
    height: 180px;
  }

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

  .page-about__game-card-text {
    font-size: 14px;
  }

  .page-about__benefits-list {
    margin: 20px auto 30px auto;
    padding: 0;
  }

  .page-about__benefits-list li {
    font-size: 16px;
    padding-left: 0;
    text-align: left;
  }

  .page-about__benefits-list li::before {
    position: static;
    margin-right: 8px;
  }

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

  .page-about__faq-qtext {
    font-size: 15px;
  }

  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
}