.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); /* Fixed header offset for desktop */
}

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

.page-about__hero-section {
  position: relative;
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

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

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

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
  font-size: 1.1em;
}

.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__button--learn-more,
.page-about__button--join,
.page-about__button--explore,
.page-about__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-about__story-section,
.page-about__mission-section,
.page-about__why-choose-section,
.page-about__responsible-gaming-section,
.page-about__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__text-block {
  flex: 1;
}

.page-about__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__value-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 1.05em;
  color: #333333;
}

.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: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px; /* Adjust height to maintain aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

.page-about__cta-section .page-about__text {
  color: #f0f0f0;
}

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

/* Responsive Design */
@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;
  }
  .page-about__image {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .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: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-about__image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-icon {
    width: 200px; /* Ensure min width for mobile content images */
    height: 150px;
  }
  .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__feature-card img {
    max-width: 200px; /* Specific override to ensure min size */
    height: auto;
  }
}