.page-about {
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #1A202C;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability, not changing color */
}

.page-about__hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

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

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

.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;
  border: none;
  cursor: pointer;
}

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

.page-about__cta-button--secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-about__cta-button--secondary:hover {
  background-color: #2c3444;
  color: #FFD700;
}

.page-about__cta-button--tertiary {
  background-color: transparent;
  color: #1A202C;
  border: 2px solid #1A202C;
  margin-top: 20px;
}

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

.page-about__story-section, .page-about__values-section, .page-about__responsible-gaming-section, .page-about__call-to-action-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.page-about__story-section {
  background-color: #f9f9f9;
}

.page-about__values-section {
  background-color: #e6e6e6;
}

.page-about__responsible-gaming-section {
  background-color: #f9f9f9;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #1A202C;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about__section-text {
  font-size: 1.1em;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

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

.page-about__value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-about__value-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px; /* Adjust height to maintain aspect ratio for content images */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 2px solid #FFD700;
}

.page-about__card-title {
  font-size: 1.6em;
  color: #1A202C;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  text-align: left;
}

.page-about__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__responsible-gaming-image {
  flex: 1 1 400px;
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-width: 200px; /* Ensure minimum display size */
  min-height: 200px;
}

.page-about__responsible-gaming-text {
  flex: 2 1 500px;
  font-size: 1.1em;
  color: #333333;
  line-height: 1.8;
}

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

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

/* Responsive adjustments */
@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__section-text {
    font-size: 1em;
  }
  .page-about__value-icon {
    width: 180px;
    height: 135px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 0.95em;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-left: 0;
    margin-top: 10px;
  }
  .page-about__cta-button--secondary {
    margin-left: 0;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__story-section, .page-about__values-section, .page-about__responsible-gaming-section, .page-about__call-to-action-section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__section-text {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card {
    padding: 25px;
  }
  .page-about__value-icon {
    width: 200px; /* Maintain minimum size */
    height: 150px;
  }
  .page-about__card-title {
    font-size: 1.4em;
  }
  .page-about__card-description {
    font-size: 0.9em;
  }
  .page-about__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }
  .page-about__responsible-gaming-image {
    width: 100%;
    max-width: 400px; /* Constrain image on small screens */
    height: auto;
  }
  .page-about__responsible-gaming-text {
    font-size: 0.95em;
  }
  .page-about__responsible-gaming-text p {
    text-align: center;
  }
  /* Ensure all images in content area are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent inline-block issues */
  }
  .page-about__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-about {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.85em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__value-icon {
    width: 200px; /* Maintain minimum size */
    height: 150px;
  }
}