.page-about {
  color: #333333; /* Dark text for default 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__hero-section {
  background-color: #003366; /* Main brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #FFD700; /* Gold accent */
  color: #003366; /* Dark blue text */
  border: 2px solid #FFD700;
}

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

.page-about__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-about__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-about__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-about__story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

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

.page-about__story-title,
.page-about__values-title,
.page-about__why-choose-us-title,
.page-about__responsible-gaming-title,
.page-about__cta-title {
  font-size: 2.5em;
  color: #003366;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

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

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

.page-about__story-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__values-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-about__values-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-card {
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-about__value-icon {
  width: 100%; /* Ensure images are large */
  height: auto;
  max-width: 400px; /* Example max width */
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__value-card-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 10px;
}

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

.page-about__why-choose-us-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.page-about__features-grid {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

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

.page-about__features-image-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-about__features-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__responsible-gaming-section {
  background-color: #003366;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-about__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__responsible-gaming-title {
  color: #FFD700;
  font-size: 2.5em;
}

.page-about__responsible-gaming-paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-about__responsible-gaming-content .page-about__button--primary {
  background-color: #FFD700;
  color: #003366;
  border-color: #FFD700;
}

.page-about__responsible-gaming-content .page-about__button--primary:hover {
  background-color: #e6c200;
}

.page-about__cta-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-about__cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__cta-text-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__cta-title {
  color: #003366;
  font-size: 2.5em;
}

.page-about__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-about__cta-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-about__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__story-container,
  .page-about__cta-container {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-image-wrapper,
  .page-about__cta-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__story-title,
  .page-about__values-title,
  .page-about__why-choose-us-title,
  .page-about__responsible-gaming-title,
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 80%;
    max-width: 300px;
  }
  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__story-title,
  .page-about__values-title,
  .page-about__why-choose-us-title,
  .page-about__responsible-gaming-title,
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}