.page-about {
  color: #333333; /* Dark text for light body background */
  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__hero-section {
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 40px;
}

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

.page-about__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-about__button--secondary:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-about__story-section,
.page-about__mission-section,
.page-about__why-choose-section,
.page-about__responsible-gaming-section,
.page-about__contact-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__section--dark {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__section--dark .page-about__section-title,
.page-about__section--dark .page-about__section-paragraph {
  color: #FFFFFF;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 30px;
}

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

.page-about__section-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 25px auto;
  color: #333333;
}

.page-about__story-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-5px);
}

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

.page-about__value-description {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__feature-icon {
  width: 100%; /* Ensure images are not tiny */
  height: auto;
  max-width: 400px; /* Example max-width for feature images */
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-about__cta-bottom {
  margin-top: 50px;
}

.page-about__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-about__contact-cta-section .page-about__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

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

  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__button {
    width: 100%;
    max-width: 300px;
  }

  .page-about__story-section,
  .page-about__mission-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__contact-cta-section {
    padding: 60px 0;
  }

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

  .page-about__section-paragraph {
    font-size: 0.95em;
  }

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

  .page-about__value-item,
  .page-about__feature-card {
    text-align: center;
  }

  .page-about__value-title,
  .page-about__feature-title {
    font-size: 1.4em;
  }

  /* Ensure all content images in .page-about are responsive and don't overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-image,
  .page-about__story-image,
  .page-about__feature-icon,
  .page-about__responsible-gaming-image {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }

  .page-about__contact-cta-section .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

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

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

  .page-about__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}