/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF1E8); /* Default text color based on custom colors */
  background-color: var(--site-bg, #140C0C); /* Default background color */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--gold, #F3C54D);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

/* HERO Section */
.page-about__hero-section {
  padding-top: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background: var(--background, #140C0C);
  color: var(--text-main, #FFF1E8);
}

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

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

.page-about__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  position: relative; /* Ensure content is above image if any overlap */
  z-index: 2;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--gold, #F3C54D);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #2A1212; /* Card BG */
  color: var(--gold, #F3C54D);
  border: 2px solid var(--border, #6A1E1E);
}

.page-about__btn-secondary:hover {
  background: var(--gold, #F3C54D);
  color: #2A1212; /* Card BG */
  transform: translateY(-2px);
}

.page-about__cta-buttons--center {
  margin-top: 30px;
}

/* Section Backgrounds */
.page-about__dark-bg {
  background-color: var(--background, #140C0C);
  color: var(--text-main, #FFF1E8);
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #f5f5f5;
  color: #333333;
  padding: 60px 0;
}

.page-about__dark-section {
  background-color: var(--deep-red, #7E0D0D);
  color: var(--text-main, #FFF1E8);
  padding: 60px 0;
}

/* Story Section */
.page-about__story-section .page-about__paragraph {
  color: #333333;
}

/* Mission & Vision Section */
.page-about__flex-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-about__vision-card,
.page-about__mission-card {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  background-color: var(--card-bg, #2A1212);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main, #FFF1E8);
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__card-title {
  font-size: 1.8em;
  color: var(--gold, #F3C54D);
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1.05em;
}

/* Core Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-item {
  text-align: center;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__value-icon {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
  display: block;
}

.page-about__value-title {
  font-size: 1.5em;
  color: var(--primary-color, #C61F1F);
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 0.95em;
}

/* Why Choose Section */
.page-about__why-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-about__why-list-item {
  background-color: var(--card-bg, #2A1212);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--gold, #F3C54D);
  border-radius: 5px;
  font-size: 1.1em;
  color: var(--text-main, #FFF1E8);
}

.page-about__why-list-item strong {
  color: var(--gold, #F3C54D);
}

/* Responsible Gambling Section */
.page-about__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 8px;
}

.page-about__responsible-gambling-section .page-about__paragraph {
  color: #333333;
}

/* Technology & Partners Section */
.page-about__partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-about__partner-logo {
  max-width: 150px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  display: block;
}

.page-about__partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Contact CTA Section */
.page-about__contact-cta-section .page-about__paragraph {
  color: #333333;
}

/* Conclusion Section */
.page-about__conclusion-section .page-about__paragraph {
  color: var(--text-main, #FFF1E8);
}

/* Common styles for content images */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Placeholder styles for modules not explicitly used on this page but required by general rules */
/* HERO 主图区域 - Covered by .page-about__hero-section */
/* 长文金框区 - Not applicable for About Us */
/* 游戏轮播 - Not applicable for About Us */
/* 合作品牌六宫格 - Not applicable for About Us, using flex for partner logos instead */
/* 博客卡片区 - Not applicable for About Us */

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

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

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

  .page-about__flex-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-about__vision-card,
  .page-about__mission-card {
    max-width: 80%;
  }

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

  .page-about__partner-logo {
    max-width: 120px;
  }
}

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

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

  .page-about__hero-section {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 40px;
  }

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

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-about__hero-description {
    font-size: 1em;
  }

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

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

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-about__paragraph {
    font-size: 1em;
  }

  .page-about__flex-wrapper {
    gap: 20px;
  }

  .page-about__vision-card,
  .page-about__mission-card {
    max-width: 100%;
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.5em;
  }

  .page-about__values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-item {
    padding: 20px;
  }

  .page-about__why-list-item {
    font-size: 1em;
    padding: 15px;
  }

  .page-about__partner-logos {
    gap: 20px;
  }

  .page-about__partner-logo {
    max-width: 100px;
  }

  /* General image and container rules for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__flex-wrapper,
  .page-about__values-grid,
  .page-about__partner-logos {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Placeholder for modules not applicable but CSS required */
  /* HERO 主图区域 - Covered by .page-about__hero-section */
  /* 长文金框区 (If existed) */
  .page-about__home-content { /* If this existed, it would be here */
    height: auto !important;
    overflow-y: visible !important;
  }
  /* 游戏轮播 (If existed) */
  .page-about__slider-track { /* If this existed, it would be here */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-about__game-slide { /* If this existed, it would be here */
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }
  /* 合作品牌六宫格 (If existed) */
  .page-about__banners-top-wrapper { /* If this existed, it would be here */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .page-about__banner-item img { /* If this existed, it would be here */
    
    
  }
  /* 博客卡片区 (If existed) */
  .page-about__blog-masonry { /* If this existed, it would be here */
    grid-template-columns: 1fr !important;
  }
  .page-about__blog-slider-track { /* If this existed, it would be here */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .page-about__blog-slide { /* If this existed, it would be here */
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}