.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
}

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

.page-about__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF; /* Light text for dark hero background */
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Accent color for title */
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
}

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

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

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

.page-about__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

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

.page-about__subsection-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 25px;
}

.page-about__story-section, .page-about__mission-values-section, .page-about__why-choose-section, .page-about__security-fairness-section, .page-about__responsible-gaming-section, .page-about__future-outlook-section, .page-about__cta-section {
  padding: 60px 0;
}

.page-about__story-section .page-about__text-content,
.page-about__mission-values-section .page-about__text-content,
.page-about__security-fairness-section .page-about__text-content,
.page-about__responsible-gaming-section .page-about__text-content,
.page-about__future-outlook-section .page-about__text-content,
.page-about__cta-section .page-about__text-content {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__image-content {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__mission-values-section {
  background-color: #f8f8f8;
}

.page-about__mission-vision {
  margin-bottom: 40px;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-about__value-item {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #000000;
}

.page-about__value-item strong {
  color: #FCBC45;
}

.page-about__why-choose-section {
  background-color: #FFFFFF;
}

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

.page-about__feature-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-about__feature-card a {
  color: #FCBC45;
  text-decoration: none;
}

.page-about__feature-card a:hover {
  text-decoration: underline;
}

.page-about__responsible-gaming-section {
  background-color: #f8f8f8;
  text-align: center;
}

.page-about__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 30px;
}

.page-about__button--learn-more:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-about__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-about__cta-section .page-about__section-title {
  color: #FCBC45;
}

.page-about__cta-section .page-about__text-content {
  max-width: 800px;
  margin: 0 auto 40px;
}

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

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

.page-about__button--join-now:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-about__button--explore-games {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__button--explore-games:hover {
  background-color: transparent;
  color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__subsection-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__text-content {
    font-size: 1em;
  }
  .page-about__values-list {
    grid-template-columns: 1fr;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  /* Crucial: Mobile content images must not overflow */
  .page-about__image-content {
    max-width: 100%;
    height: auto;
  }
  .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__subsection-title {
    font-size: 1.5em;
  }
  .page-about__button {
    width: 90%;
  }
}