.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-about__container--flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

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

.page-about__subsection-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block p,
.page-about__text-block li {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__text-block strong {
  color: #F2FFF6;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  background-color: #08160F; /* Ensure dark background for hero */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to prevent excessive scroll */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Enforce minimum size */
}

.page-about__hero-content-wrapper {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

.page-about__cta-buttons--end {
  justify-content: flex-end;
}

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

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

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

.page-about__btn--secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn--secondary:hover {
  background-color: #2E7A4E;
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-about__intro-section,
.page-about__games-section,
.page-about__support-section,
.page-about__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-about__intro-section .page-about__section-title,
.page-about__games-section .page-about__section-title,
.page-about__support-section .page-about__section-title,
.page-about__faq-section .page-about__section-title {
  color: #333333; /* Dark text for light background */
}

.page-about__intro-section .page-about__subsection-title,
.page-about__games-section .page-about__subsection-title,
.page-about__support-section .page-about__subsection-title,
.page-about__faq-section .page-about__subsection-title {
  color: #333333; /* Dark text for light background */
}

.page-about__intro-section .page-about__text-block p,
.page-about__intro-section .page-about__text-block li,
.page-about__games-section .page-about__text-block p,
.page-about__games-section .page-about__text-block li,
.page-about__support-section .page-about__text-block p,
.page-about__support-section .page-about__text-block li,
.page-about__faq-section .page-about__text-block p,
.page-about__faq-section .page-about__text-block li {
  color: #555555; /* Slightly lighter dark text */
}

.page-about__intro-section .page-about__text-block strong,
.page-about__games-section .page-about__text-block strong,
.page-about__support-section .page-about__text-block strong,
.page-about__faq-section .page-about__text-block strong {
  color: #333333;
}

.page-about__security-section,
.page-about__promotions-section,
.page-about__responsibility-section,
.page-about__cta-final-section {
  padding: 80px 0;
  background-color: #08160F; /* Dark background */
  color: #F2FFF6; /* Light text for dark background */
}

.page-about__security-section .page-about__section-title,
.page-about__promotions-section .page-about__section-title,
.page-about__responsibility-section .page-about__section-title,
.page-about__cta-final-section .page-about__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-about__security-section .page-about__subsection-title,
.page-about__promotions-section .page-about__subsection-title,
.page-about__responsibility-section .page-about__subsection-title,
.page-about__cta-final-section .page-about__subsection-title {
  color: #F2FFF6; /* Text Main */
}

.page-about__security-section .page-about__text-block p,
.page-about__security-section .page-about__text-block li,
.page-about__promotions-section .page-about__text-block p,
.page-about__promotions-section .page-about__text-block li,
.page-about__responsibility-section .page-about__text-block p,
.page-about__responsibility-section .page-about__text-block li,
.page-about__cta-final-section .page-about__text-block p,
.page-about__cta-final-section .page-about__text-block li {
  color: #A7D9B8; /* Text Secondary */
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
}

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

.page-about__faq-item {
  background-color: #F8F8F8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  list-style: none;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #11A84E;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

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

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

.page-about__cta-final-section .page-about__section-description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-about__cta-content {
  flex: 1;
  min-width: 300px;
  margin-bottom: 20px;
}

@media (min-width: 769px) {
  .page-about__cta-final-section .page-about__container--flex {
    align-items: center;
    justify-content: space-between;
  }
  .page-about__cta-content {
    margin-bottom: 0;
  }
  .page-about__cta-buttons--end {
    margin-left: 20px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-about__subsection-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-about__intro-section,
  .page-about__security-section,
  .page-about__games-section,
  .page-about__promotions-section,
  .page-about__support-section,
  .page-about__responsibility-section,
  .page-about__faq-section,
  .page-about__cta-final-section {
    padding: 50px 0;
  }

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Ensure min size on mobile */
  }

  /* Container for images to prevent overflow */
  .page-about__hero-image-wrapper,
  .page-about__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .page-about__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 {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__cta-buttons--end {
    justify-content: center;
  }

  .page-about__cta-final-section .page-about__container--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-about__cta-content {
    margin-bottom: 20px;
  }

  .page-about__faq-item summary {
    padding: 15px;
  }

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