.page-about {
  font-family: Arial, sans-serif;
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
  line-height: 1.6;
}

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

.page-about__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  color: #000000; /* Dark text for light gradient background */
  padding-top: var(--header-offset, 120px);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability if needed, but not changing color */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -150px; /* Overlap slightly for visual effect, but not text on image */
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background for text */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #333333; /* Dark text for light background */
  margin-bottom: 20px;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555; /* Slightly lighter dark text */
}

.page-about__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #FFF6D6;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 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__btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

.page-about__btn-secondary {
  display: inline-block;
  background: transparent;
  color: #FFD36B;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #FFD36B;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
  border-color: #FFD36B;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__content-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  max-width: 100%; /* Ensure responsiveness */
}

.page-about__our-story-section, 
.page-about__mission-vision-section, 
.page-about__why-choose-section, 
.page-about__commitment-section, 
.page-about__responsible-gaming-section, 
.page-about__faq-section, 
.page-about__cta-section {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

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

.page-about__advantage-card {
  background-color: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
  color: var(--text-main-color, #FFF6D6);
  border: 1px solid var(--border-color, #3A2A12);
  transition: transform 0.3s ease;
}

.page-about__advantage-card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

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

/* FAQ Section Styles */
.page-about__faq-list {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #1a1a1a; /* Slightly darker for question */
  color: #FFD36B;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #2a2a2a;
}

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-about__faq-answer p {
  margin-bottom: 0;
  color: var(--text-main-color, #FFF6D6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: -100px;
    padding: 20px;
  }
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding-bottom: 20px;
  }
  .page-about__hero-image-wrapper {
    max-height: 400px;
  }
  .page-about__hero-content {
    margin-top: -80px;
    padding: 15px;
    max-width: 90%;
  }
  .page-about__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.3em;
  }
  .page-about__our-story-section, 
  .page-about__mission-vision-section, 
  .page-about__why-choose-section, 
  .page-about__commitment-section, 
  .page-about__responsible-gaming-section, 
.page-about__faq-section, 
  .page-about__cta-section {
    padding: 40px 0;
  }
  .page-about__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__advantage-card {
    padding: 20px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .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;
    padding-right: 15px;
  }
  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }
}