.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default background */
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0; /* Handled by body padding-top in shared.css */
  padding-bottom: 50px;
  background-color: #017439;
  color: #ffffff;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.page-about__intro-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register and Login font color */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-about__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Primary brand color */
}

.page-about__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__feature-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
  min-width: 200px; /* Ensure card itself has min width */
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.page-about__feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95rem;
}

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

.page-about__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-about__responsible-gaming-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1rem;
  color: #ffffff;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #017439;
  list-style: none; /* For details summary */
}

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
}

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

/* Color Contrast Classes */
.page-about__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__medium-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title,
.page-about__dark-bg .page-about__text-block {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 30px 15px;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .page-about__intro-description {
    font-size: 1rem;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .page-about__sub-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }

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

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

  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding-top: 0 !important; /* Ensure no duplicate header offset */
    padding-bottom: 30px;
  }

  .page-about__hero-content {
    padding: 0 15px !important;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px;
  }

  .page-about__intro-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    margin-bottom: 20px;
  }

  .page-about__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
    margin-top: 20px;
  }

  .page-about__text-block {
    font-size: 0.9rem;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* LOGO轮播区域 - Placeholder: No logo carousel on about page. */
  /* HERO 主图区域 - Handled by .page-about__hero-section, .page-about__hero-image */
  /* 游戏展示区域 - Placeholder: No games section on about page. */
  /* 通用图片与容器 - Handled by .page-about img and .page-about__container */
  /* 按钮与按钮容器 - Handled by .page-about__cta-buttons, .page-about__btn-primary, .page-about__btn-secondary */
  /* 其他内容模块 */
  .page-about__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

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

  .page-about__feature-image {
    max-height: 200px;
  }

  .page-about__card-title {
    font-size: 1.3rem;
  }

  .page-about__feature-list li {
    font-size: 0.85rem;
  }

  .page-about__responsible-gaming-list li {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .page-about__faq-question {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px;
  }
}