.page-about {
  font-family: Arial, sans-serif;
  color: #FFFFFF;
  background-color: #100224; /* Adjusted from #FFFFFF to a darker tone for better contrast with text and brand feel */
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 40px;
  background-color: #017439; /* Brand green for hero background */
  color: #FFFFFF;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/5; /* Adjust as needed for visual impact */
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about__tagline {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.page-about__cta-button--register {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  border: 1px solid #C30808;
}

.page-about__cta-button--register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-about__introduction-section,
.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section {
  padding: 60px 0;
  background-color: #100224; /* Darker background for sections */
  color: #FFFFFF;
}

.page-about__section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand green for section titles */
}

.page-about__text-content {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #FFFFFF;
}

.page-about__mission-vision-section .page-about__container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-about__card {
  background-color: #1a0832; /* Slightly lighter dark background for cards */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439; /* Brand green for card titles */
}

.page-about__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-about__why-choose-us-section {
  background-color: #0a011a; /* Even darker background for this section */
}

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

.page-about__feature-item {
  background-color: #1a0832;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-icon {
  width: 100%;
  max-width: 200px; /* Ensure feature icons are not too small */
  min-width: 200px;
  min-height: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-about__feature-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-about__responsible-gaming-section {
  padding-bottom: 60px;
}

.page-about__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #017439;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-about__read-more-button:hover {
  background-color: #005a2d;
}

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand green for final CTA */
  color: #FFFFFF;
}

.page-about__cta-section--alt-bg {
  background-color: #017439; /* Ensure consistent brand green */
}

.page-about__cta-button--join-now {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  border: 1px solid #C30808;
}

.page-about__cta-button--join-now:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Responsive Styles */
@media (max-width: 849px) {
  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__hero-image {
    aspect-ratio: 4/3;
  }

  .page-about__main-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .page-about__tagline {
    font-size: 1rem;
  }

  .page-about__mission-vision-section .page-about__container {
    flex-direction: column;
    align-items: center;
  }

  .page-about__card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-about__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .page-about__text-content {
    font-size: 0.95rem;
  }

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

@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }
  .page-about__hero-image, .page-about__hero-image-wrapper img, .page-about__card-image, .page-about__feature-icon {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .page-about__hero-section, .page-about__introduction-section, .page-about__mission-vision-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__cta-section {
    padding: 40px 0;
  }
  /* Ensure content area images are not smaller than 200px in CSS */
  .page-about__card-image {
    min-width: 200px;
    min-height: 150px; /* Adjusted to allow for common aspect ratios while maintaining min size */
  }
  .page-about__feature-icon {
    min-width: 200px;
    min-height: 150px; /* Adjusted */
  }
}

@media (max-width: 549px) {
  .page-about__hero-content {
    padding: 0 10px;
  }

  .page-about__main-title {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }

  .page-about__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

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

  .page-about__card {
    padding: 20px;
  }
  .page-about__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
}