.page-about {
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__sub-title,
.page-about__dark-section p {
  color: #ffffff;
}

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

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title,
.page-about__light-bg p {
  color: #333333;
}

.page-about__dark-section {
  background-color: #0a0a0a; /* Ensure consistency with body background */
  color: #ffffff;
}

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

.page-about__cta-buttons--centered {
  margin-top: 40px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-about__mission-vision-section,
.page-about__history-section,
.page-about__why-choose-us,
.page-about__responsible-gaming-section,
.page-about__faq-section,
.page-about__cta-bottom-section {
  padding: 80px 0;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-about__content-grid--reverse .page-about__image-block { grid-area: image; }
.page-about__content-grid--reverse .page-about__text-block { grid-area: text; }

.page-about__image-block {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about__intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.1em;
  color: #333333;
}

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

.page-about__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__feature-card p {
  font-size: 0.95em;
  color: #555555;
}

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

.page-about__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #eef4f8;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker { /* For details/summary */
  display: none;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #e0eaf1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  background-color: #ffffff;
  font-size: 1em;
  color: #555555;
}

.page-about__cta-bottom-section {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__content-grid--reverse {
    grid-template-areas: none; /* Reset grid area for single column */
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-about__section-title {
    font-size: clamp(1.6em, 7vw, 2em);
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: clamp(1.2em, 5vw, 1.5em);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-about__mission-vision-section,
  .page-about__history-section,
  .page-about__why-choose-us,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-about__image-block,
  .page-about__text-block {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

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

  .page-about__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.6em, 9vw, 2.2em);
  }

  .page-about__section-title {
    font-size: clamp(1.4em, 8vw, 1.8em);
  }

  .page-about__sub-title {
    font-size: clamp(1.1em, 6vw, 1.3em);
  }
}