.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 */
}

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

.page-about__hero-section {
  background-color: #1A1A1A; /* Auxiliary dark background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-about__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #1A1A1A; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  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: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(50%); /* Allowed for stylistic effect, not color change */
}

.page-about__section-title {
  font-size: 2.5em;
  color: #1A1A1A; /* Auxiliary dark color */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold accent */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__story-section,
.page-about__mission-values-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section,
.page-about__vision-section,
.page-about__contact-cta-section {
  padding: 60px 0;
  background-color: #f4f4f4; /* Light background */
}

.page-about__story-content,
.page-about__responsible-gaming-section p,
.page-about__vision-section p,
.page-about__contact-cta-section p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.page-about__story-image,
.page-about__values-image,
.page-about__vision-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-about__value-card,
.page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover,
.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-about__value-title,
.page-about__feature-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 15px;
  text-align: center;
}

.page-about__value-card p,
.page-about__feature-item p {
  font-size: 1em;
  line-height: 1.7;
  text-align: justify;
}

.page-about__feature-button,
.page-about__responsible-button,
.page-about__vision-button,
.page-about__contact-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.page-about__feature-button:hover,
.page-about__responsible-button:hover,
.page-about__vision-button:hover,
.page-about__contact-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-about__responsible-gaming-section,
.page-about__contact-cta-section {
  text-align: center;
}

.page-about__contact-button--secondary {
  background-color: #1A1A1A;
  color: #FFD700;
  margin-left: 15px;
}

.page-about__contact-button--secondary:hover {
  background-color: #333333;
  color: #FFD700;
}

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

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

  .page-about__section-title {
    font-size: 2em;
  }

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

  .page-about__story-content,
  .page-about__responsible-gaming-section p,
  .page-about__vision-section p,
  .page-about__contact-cta-section p {
    text-align: left;
  }

  .page-about__hero-section {
    padding: 60px 15px;
  }

  .page-about__container {
    padding: 0 15px;
  }

  /* Mobile image overflow prevention */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size is maintained */
    min-height: 200px !important; /* Ensure min size is maintained */
  }

  .page-about__contact-button {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    margin-bottom: 10px;
  }

  .page-about__contact-button--secondary {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }
}