.page-about {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero section */
  background-color: #000000; /* Dark background for hero content */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Slightly dim the background image */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FCBC45; /* Highlight title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text on bright button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

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

.page-about__story-section, .page-about__values-section, .page-about__responsible-gaming-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-about__mission-section, .page-about__why-choose-section, .page-about__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-about__heading {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section--dark .page-about__heading {
  color: #FFFFFF;
}

.page-about__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-about__sub-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
}

.page-about__section--dark .page-about__sub-heading {
  color: #FCBC45;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .page-about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-about__grid--three-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-about__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-about__grid-item .page-about__sub-heading {
  color: #FCBC45;
}

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-about__feature-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #E0E0E0;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-about__list-item {
  background-color: #F8F8F8;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  font-size: 1.1em;
}

.page-about__section--dark .page-about__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border-left-color: #FCBC45;
}

.page-about__button {
  display: inline-block;
  background-color: #000000;
  color: #FCBC45;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__button:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-about__button--primary {
  background-color: #FCBC45;
  color: #000000;
  margin-right: 15px;
}

.page-about__button--primary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-about__button--secondary {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-about__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }

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

  .page-about__heading {
    font-size: 2em;
  }

  .page-about__sub-heading {
    font-size: 1.5em;
  }

  .page-about__grid {
    grid-template-columns: 1fr;
  }

  .page-about__grid--three-col {
    grid-template-columns: 1fr;
  }

  .page-about__hero-section, .page-about__story-section, .page-about__mission-section, .page-about__values-section, .page-about__why-choose-section, .page-about__responsible-gaming-section, .page-about__call-to-action {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 20px;
  }

  /* Ensure content images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images must not be smaller than 200px */
  .page-about__image {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
  }

  .page-about__feature-card {
    min-width: 200px;
    min-height: 200px;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
}

/* Ensure all images within .page-about are at least 200x200px and responsive */
.page-about img {
  min-width: 200px;
  min-height: 200px;
}