.page-about {
  color: #333333; /* Dark text for light body background */
}

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #1A2A4E; /* Main brand color for hero background */
  color: #ffffff;
  padding-bottom: 40px; /* Added padding to ensure image is not too close to content */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Constrain image width */
  margin-top: 30px;
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Auxiliary color for emphasis */
}

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

.page-about__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for buttons */
  color: #1A2A4E;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-about__story-section,
.page-about__mission-section,
.page-about__why-choose-section,
.page-about__responsible-gaming-section,
.page-about__cta-section {
  padding: 80px 0;
}

.page-about__story-section {
  background-color: #f8f8f8;
}

.page-about__mission-section {
  background-color: #1A2A4E;
  color: #ffffff;
}

.page-about__why-choose-section {
  background-color: #ffffff;
}

.page-about__responsible-gaming-section {
  background-color: #f0f0f0;
}

.page-about__cta-section {
  background-color: #1A2A4E;
  color: #ffffff;
  text-align: center;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #1A2A4E; /* Main color for titles */
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

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

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-about__mission-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

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

.page-about__mission-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-about__advantage-card {
  background-color: #fdfdfd;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

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

.page-about__advantage-title {
  font-size: 1.6em;
  color: #1A2A4E;
  margin-bottom: 15px;
}

.page-about__advantage-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-about__link {
  color: #FFD700; /* Auxiliary color for links */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #1A2A4E;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2A4E;
  padding: 18px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
    padding: 40px 15px;
  }

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

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

  .page-about__hero-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-about__story-section,
  .page-about__mission-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

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

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__mission-grid,
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }

  .page-about__image {
    margin: 30px auto;
  }

  .page-about__cta-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }

  /* Mobile content area image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-about__hero-button {
    width: 100%;
    max-width: 250px;
  }

  .page-about__cta-button {
    width: 100%;
    max-width: 280px;
  }
}