.page-about {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px; /* Ensure hero section has a decent height */
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-about__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  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;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-about__story-section, .page-about__security-section, .page-about__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-about__story-image, .page-about__security-image, .page-about__responsible-gaming-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-top: 30px;
}

.page-about__mission-values-section {
  background-color: rgba(255, 215, 0, 0.05); /* Light gold tint for background */
  padding: 80px 0;
}

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

.page-about__mission-values-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
  border-radius: 10px;
}

.page-about__card {
  background-color: #1A202C; /* Dark background for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-about__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-about__values-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: #cccccc;
}

.page-about__values-item strong {
  color: #FFD700;
}

.page-about__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto;
}

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

.page-about__cta-bottom-section {
  background-color: #1A202C;
  padding: 80px 20px;
  text-align: center;
}

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

.page-about__cta-bottom-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__cta-bottom-text {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__cta-bottom-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  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;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  margin: 0 10px;
}

.page-about__cta-bottom-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-about__cta-bottom-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  box-shadow: none;
}

.page-about__cta-bottom-button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: 2.5em;
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-about__paragraph {
    font-size: 0.95em;
  }
  .page-about__mission-values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 1.6em;
  }
  .page-about__card-text {
    font-size: 0.9em;
  }
  .page-about__cta-bottom-title {
    font-size: 2em;
  }
  .page-about__cta-bottom-text {
    font-size: 1em;
  }
  .page-about__cta-bottom-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 0;
  }
  .page-about__hero-section {
    padding: 60px 20px;
    min-height: 400px;
  }
  .page-about__story-section, .page-about__security-section, .page-about__responsible-gaming-section {
    padding: 40px 0;
  }
  .page-about__mission-values-section {
    padding: 50px 0;
  }
  /* Ensure content images are responsive and don't overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-bottom-title {
    font-size: 1.8em;
  }
  .page-about__cta-bottom-button {
    display: block;
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__hero-section {
    padding: 40px 15px;
    min-height: 350px;
  }
  .page-about__container {
    padding: 0 15px;
  }
}