.page-about {
  color: #333333; /* Default text color 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__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-about__hero-section {
  background-color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-about__hero-button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-about__hero-button--secondary {
  background-color: #000000;
  color: #FFFFFF; /* Register button color */
  border: 2px solid #000000;
}

.page-about__hero-button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-about__story-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-about__story-text {
  flex: 1;
  min-width: 300px;
}

.page-about__story-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-about__story-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__values-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.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: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-about__value-icon {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-about__security-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-about__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__security-text {
  flex: 1;
  min-width: 300px;
}

.page-about__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-about__responsible-gaming-section {
  background-color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
}

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

.page-about__responsible-gaming-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: 2px solid #000000;
}

.page-about__responsible-gaming-button:hover {
  background-color: #333333;
  border-color: #333333;
}

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

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

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

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

.page-about__cta-button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-about__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

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

  .page-about__hero-button, .page-about__cta-button, .page-about__responsible-gaming-button {
    width: 100%;
    max-width: 300px;
  }

  .page-about__story-content, .page-about__security-content {
    flex-direction: column;
  }

  .page-about__story-image, .page-about__security-image, .page-about__responsible-gaming-image {
    max-width: 100%;
    height: auto;
  }

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

  /* Ensure content images do not overflow on mobile */
  .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-description, .page-about__story-text p, .page-about__security-text p, .page-about__responsible-gaming-description, .page-about__cta-description {
    font-size: 1em;
  }

  .page-about__hero-section, .page-about__story-section, .page-about__values-section, .page-about__security-section, .page-about__responsible-gaming-section, .page-about__cta-section {
    padding: 40px 15px;
  }
}