.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 {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  padding: 60px 0;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  filter: brightness(0.7); /* Slightly darken background image for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

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

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

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-about__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-about__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
}

.page-about__story-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__story-text {
  flex: 1;
  font-size: 1.1em;
  color: #333333;
}

.page-about__story-text p {
  margin-bottom: 20px;
}

.page-about__story-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__story-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__mission-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-about__mission-image {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-about__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-about__why-choose-us-image {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__responsible-gaming-section {
  background-color: #f2f2f2;
  text-align: center;
}

.page-about__responsible-gaming-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about__responsible-gaming-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-about__responsible-gaming-button:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.page-about__cta-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.page-about__cta-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  filter: brightness(0.6); /* Darken CTA image for text readability */
}

.page-about__cta-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 10;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-about__cta-button--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__cta-button--join:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-about__cta-button--contact {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-about__cta-button--contact:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__story-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions, .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__hero-button, .page-about__cta-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__story-content {
    gap: 30px;
  }
  .page-about__mission-grid, .page-about__why-choose-us-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }

  /* Mobile image sizing for content area images */
  .page-about__hero-image, 
  .page-about__story-image, 
  .page-about__mission-image, 
  .page-about__why-choose-us-image, 
  .page-about__cta-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-button, .page-about__cta-button {
    width: 90%;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
}