.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); /* Ensure space for fixed header */
}

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

.page-about__background--dark {
  background-color: #000000; /* Main color */
  color: #ffffff; /* Light text for dark background */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px; /* Minimum height for hero section */
  overflow: hidden;
  color: #FFFFFF;
  background-color: #000000; /* Fallback background, image will overlay */
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__hero-button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-about__hero-button--primary:hover {
  background-color: #e0a53b;
}

.page-about__hero-button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-about__hero-button--secondary:hover {
  background-color: #e6e6e6;
}

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

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__story-section,
.page-about__why-choose-section,
.page-about__vision-section {
  padding: 80px 0;
}

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

.page-about__paragraph--light {
  color: #f0f0f0;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__value-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Slight brightness for visibility on dark background */
}

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

.page-about__value-description {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #000000;
  padding: 20px 20px 10px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-about__cta-button,
.page-about__vision-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(252, 188, 69, 0.4);
}

.page-about__cta-button:hover,
.page-about__vision-button:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-about__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__responsible-gaming-link {
  display: inline-block;
  margin-top: 30px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__responsible-gaming-link:hover {
  color: #e0a53b;
  border-color: #e0a53b;
}

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

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 500px;
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__story-section,
  .page-about__why-choose-section,
  .page-about__vision-section,
  .page-about__responsible-gaming-section {
    padding: 60px 0;
  }
  .page-about__paragraph {
    font-size: 0.95em;
  }
  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card,
  .page-about__feature-card {
    margin-bottom: 20px;
  }
  .page-about__cta-button,
  .page-about__vision-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content area image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__value-icon {
    width: 150px;
    height: 120px;
  }
  .page-about__feature-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__hero-button {
    margin: 5px;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-button,
  .page-about__vision-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}