.page-about {
  color: #333333; /* Default dark text for light body background */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  background-color: #0A1931; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

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

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

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

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

.page-about__hero-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;
}

.page-about__hero-button--primary {
  background-color: #FFD700;
  color: #0A1931;
}

.page-about__hero-button--primary:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
}

.page-about__hero-button--secondary {
  background-color: #E02B2B;
  color: #ffffff;
  border: 2px solid #E02B2B;
}

.page-about__hero-button--secondary:hover {
  background-color: #c42020;
  transform: translateY(-3px);
}

.page-about__section {
  padding: 80px 20px;
}

.page-about__section--dark {
  background-color: #0A1931;
  color: #ffffff;
}

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

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

.page-about__section--dark .page-about__section-title {
  color: #FFD700;
}

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

.page-about__story-text {
  flex: 1;
  min-width: 300px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-about__story-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 600px;
  height: 450px;
  object-fit: cover;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-about__value-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-about__team-image {
  display: block;
  margin: 60px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  width: 800px;
  height: 600px;
  object-fit: cover;
}

.page-about__why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about__why-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 5px solid #FFD700;
}

.page-about__why-item:hover {
  transform: translateY(-10px);
}

.page-about__why-item-title {
  font-size: 1.6em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-about__why-item-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-about__responsible-gaming-image {
  display: block;
  margin: 60px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 800px;
  height: 600px;
  object-fit: cover;
}

.page-about__cta-content {
  text-align: center;
  padding: 50px 20px;
}

.page-about__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

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

.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-about__future-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__story-image, .page-about__team-image, .page-about__responsible-gaming-image {
    width: 100%;
    height: auto;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-about__section {
    padding: 60px 15px;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__values-grid, .page-about__why-list {
    grid-template-columns: 1fr;
  }
  .page-about__value-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Enforce image responsiveness in content area */
  .page-about__story-image,
  .page-about__team-image,
  .page-about__responsible-gaming-image,
  .page-about__container img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__value-title {
    font-size: 1.3em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
}