.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Use shared dark background */
}

.page-about__section-padding {
  padding: 80px 20px;
}

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

.page-about__section-heading {
  font-size: 36px;
  color: #E5B80B; /* Gold for headings */
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__sub-heading {
  font-size: 24px;
  color: #E5B80B; /* Gold for sub-headings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about p {
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__text-link {
  color: #E5B80B;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-about__text-link:hover {
  color: #ffd700;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_about:mu88,about_us,main_banner,online_betting,luxury]') center/cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-about__hero-container {
  max-width: 800px;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #E5B80B; /* Gold for main title */
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-cta-button {
  display: inline-block;
  background-color: #E5B80B; /* Gold button */
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__hero-cta-button:hover {
  background-color: #ffd700;
  transform: translateY(-3px);
}

/* Content Sections */
.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
}

.page-about__image-container {
  flex: 1;
  min-width: 200px;
}

.page-about__image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Why Choose Section */
.page-about__dark-section {
  background-color: #0A2463; /* Main brand color for dark sections */
  color: #ffffff;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-about__feature-card .page-about__card-title {
  font-size: 22px;
  color: #E5B80B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E5B80B;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #ffd700;
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.03);
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
}

.page-about__faq-answer p {
  color: #f0f0f0;
}

.page-about__faq-button {
  display: inline-block;
  background-color: #E5B80B;
  color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__faq-button:hover {
  background-color: #ffd700;
  transform: translateY(-2px);
}

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

  .page-about__hero-description {
    font-size: 18px;
  }

  .page-about__section-heading {
    font-size: 32px;
  }

  .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__image-container {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-about__sub-heading {
    text-align: center;
  }

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    min-height: 400px;
    padding-top: 0 !important; /* 留白只做一处：shared 已给 body 留白时 hero 用 0 */
  }

  .page-about__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-about__hero-cta-button {
    padding: 12px 25px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* LOGO 轮播区域 - Not applicable for About Us page, but including placeholder for completeness if it were present */
  /* .page-about__logo-carousel-section { padding: 20px 15px; } */
  /* .page-about__logo-item { width: 80px !important; height: 80px !important; max-width: 80px !important; } */

  /* 游戏展示区域 - Not applicable for About Us page, but including placeholder for completeness if it were present */
  /* .page-about__games-section { padding: 40px 15px; } */

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

  .page-about__container,
  .page-about__content-wrapper,
  .page-about__image-container,
  .page-about__grid-3-columns {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__section-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__sub-heading {
    font-size: 20px;
  }

  .page-about__content-wrapper {
    gap: 25px;
  }

  /* 按钮与按钮容器 */
  .page-about__hero-cta-button,
  .page-about__faq-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;
  }

  /* FAQ Section */
  .page-about__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-about__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }

  .page-about__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }

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

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

  .page-about__feature-card p {
    font-size: 15px;
  }
}