.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); /* Ensure 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: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for hero section */
  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; /* Slightly dim the image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-about__button--register:hover {
  background-color: #f0f0f0;
}

.page-about__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-about__button--login:hover {
  background-color: #e0a538;
}

.page-about__button--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  font-size: 1.1em;
}

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

.page-about__heading {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-about__story-section, .page-about__values-section, .page-about__cta-section, .page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-about__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

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

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

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

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__value-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-about__value-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__value-description {
  color: #555555;
}

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

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

.page-about__cta-section .page-about__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #e0a538;
  text-decoration: underline;
}

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

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

  .page-about__heading {
    font-size: 2em;
  }

  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid:nth-child(even) {
    flex-direction: column;
  }

  .page-about__image {
    max-width: 100%;
  }
}

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

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

  .page-about__hero-content {
    padding: 20px;
  }

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

  .page-about__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-about__heading {
    font-size: 1.8em;
  }

  .page-about__story-section, .page-about__values-section, .page-about__cta-section, .page-about__responsible-gaming-section {
    padding: 60px 0;
  }

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

  /* Ensure content images do not overflow on mobile */
  .page-about__hero-image, .page-about__image, .page-about__value-icon {
    max-width: 100%;
    height: auto;
  }

  /* Override any potentially smaller image sizes for content images */
  .page-about__image, .page-about__value-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important; /* Ensure they scale down but don't get tiny */
    height: auto !important;
  }
}

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

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

  .page-about__hero-container {
    height: 500px;
  }

  .page-about__button {
    width: 90%;
  }

  .page-about__heading {
    font-size: 1.5em;
  }

  .page-about__value-title {
    font-size: 1.3em;
  }
}