.page-about {
  padding-top: var(--header-offset, 120px);
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px; /* Add some padding below the hero content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability */
  min-width: 200px;
  min-height: 200px;
}

.page-about__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding: 80px 20px;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

.page-about__hero-content {
  z-index: 1;
  max-width: 800px;
}

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

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

.page-about__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary brand color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-about__story-grid,
.page-about__mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-about__story-image,
.page-about__mission-image,
.page-about__why-choose-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__mission-text h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-about__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Subtle background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__button--primary {
  background-color: #FFD700; /* Primary brand color */
  color: #1A1A1A; /* Dark text for contrast */
}

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

.page-about__button--secondary {
  background-color: #1A1A1A; /* Auxiliary brand color */
  color: #FFD700; /* Primary text for contrast */
  border: 1px solid #FFD700;
}

.page-about__button--secondary:hover {
  background-color: #0d0d0d;
}

.page-about__button--centered {
  margin: 40px auto 0 auto;
}

.page-about__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: rgba(255, 215, 0, 0.1); /* Light golden tint for CTA */
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-about__cta-section .page-about__section-title {
  margin-bottom: 20px;
}

.page-about__cta-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

.page-about__responsible-gaming-section {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(26, 26, 26, 0.7); /* Darker background for emphasis */
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-about__responsible-gaming-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__story-grid,
  .page-about__mission-grid {
    grid-template-columns: 1fr;
  }
  .page-about__mission-image {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__hero-container {
    min-height: 400px;
    padding: 60px 15px;
  }
  .page-about__content-container {
    padding: 30px 15px;
  }
  .page-about__story-grid,
  .page-about__mission-grid {
    gap: 30px;
  }
  .page-about__why-choose-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure images do not overflow on mobile */
  .page-about__hero-image,
  .page-about__story-image,
  .page-about__mission-image,
  .page-about__why-choose-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.6em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__hero-container {
    min-height: 350px;
    padding: 40px 10px;
  }
}