/* General styles for page-about */
.page-about {
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__section-spacing {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF1E8; /* Text Main */
  line-height: 1.2;
}

.page-about__section-title--light {
  color: #FFF1E8;
}

.page-about__sub-title {
  font-size: 28px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-about p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per requirements */
  padding-bottom: 60px;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-about__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 20px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  color: #FFF1E8;
  border-color: #FFF1E8;
  transform: translateY(-2px);
}

/* Mission & Vision Section */
.page-about__content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.page-about__content-block p {
  color: #FFF1E8; /* Text Main */
}

/* Values Section */
.page-about__dark-section {
  background: #2A1212; /* Card BG */
  color: #FFF1E8; /* Text Main */
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.page-about__value-card {
  background: #140C0C; /* Background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-about__value-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-about__value-card p {
  font-size: 15px;
  color: #FFF1E8;
}

/* Why Choose Section */
.page-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.page-about__feature-card {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-about__feature-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-about__feature-card h3 {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  padding: 0 25px;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 25px 25px;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__responsible-gaming-content .page-about__text-block {
  flex: 1;
}

.page-about__responsible-gaming-content .page-about__image-block {
  flex: 1;
}

.page-about__responsible-gaming-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-about__light-bg {
  background: #1C0F0F; /* Slightly lighter background for contrast */
  color: #FFF1E8;
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
details.page-about__faq-item summary.page-about__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: #FFF1E8; /* Text Main */
}
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: #3a1a1a;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px;
  background: #140C0C; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF1E8; /* Text Main */
}

/* CTA Section */
.page-about__cta-section {
  text-align: center;
}

.page-about__cta-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF1E8;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 40px;
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__sub-title {
    font-size: 24px;
  }
  .page-about__content-grid,
  .page-about__values-grid,
  .page-about__feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-about__values-grid {
    gap: 20px;
  }
  .page-about__responsible-gaming-content {
    flex-direction: column;
  }
  .page-about__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-about__section-spacing {
    padding: 40px 0;
  }
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-about__hero-image-wrapper img {
    object-fit: cover !important; 
    height: 300px !important;
  }
  .page-about__main-title {
    font-size: 32px;
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 22px;
  }
  .page-about p {
    font-size: 15px;
  }

  /* General image and button rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px !important;
  }

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

  /* Content specific mobile rules */
  .page-about__content-grid,
  .page-about__feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-about__value-card {
    padding: 20px;
  }
  .page-about__value-card img {
    
    
  }
  .page-about__value-title {
    font-size: 18px;
  }
  .page-about__feature-card img {
    height: 200px;
  }
  .page-about__feature-card h3 {
    font-size: 20px;
    padding: 0 20px;
  }
  .page-about__feature-card p {
    padding: 0 20px 20px;
  }
  .page-about__responsible-gaming-content {
    gap: 30px;
  }

  /* FAQ specific mobile styles */
  details.page-about__faq-item summary.page-about__faq-question { padding: 15px !important; }
  .page-about__faq-qtext { font-size: 15px !important; }
  .page-about__faq-toggle { font-size: 24px !important; width: 24px !important; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px !important; }

  /* Placeholder mobile rules for modules not explicitly on About Us page, as per "缺一不可" */
  /* Banner __hero-section - already covered above */

  /* Three-link buttons __access-links (if present) */
  .page-about__access-links {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .page-about__access-links .page-about__access-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
  }

  /* Five-entry __category-lobby (if present) */
  .page-about__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .page-about__category-lobby__card-link {
    aspect-ratio: 1/1 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .page-about__category-lobby__card-link img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .page-about__category-lobby__card-link span {
    display: none !important;
  }

  /* Blog slider __blog-slider (if present) */
  .page-about__blog-slider-wrapper {
    padding: 0 10px !important;
  }
  .page-about__blog-slider-track {
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .page-about__blog-slider-track .page-about__post-item {
    flex: 0 0 calc(100% - 20px) !important;
    margin-right: 20px !important;
  }
  .page-about__blog-slider-nav {
    display: flex !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
  }
  .page-about__blog-slider-prev,
  .page-about__blog-slider-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
}