.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1A1A2E;
  color: #ffffff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1;
}

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

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

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #FFD700;
  color: #1A1A2E;
  border: 2px solid #FFD700;
}

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

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

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

.page-about__section-title {
  font-size: 2.5em;
  color: #1A1A2E;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-about__story-section,
.page-about__mission-values-section,
.page-about__responsible-gaming-section {
  padding: 60px 0;
  background-color: #f0f2f5;
}

.page-about__story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__story-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about__story-image-container {
  text-align: center;
}

.page-about__story-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-icon {
  width: 200px; /* Enforce minimum size */
  height: auto;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 1.6em;
  color: #1A1A2E;
  margin-bottom: 15px;
}

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

.page-about__responsible-gaming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__responsible-gaming-image-container {
  text-align: center;
}

.page-about__responsible-gaming-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__responsible-gaming-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about__text-link {
  color: #1A1A2E;
  text-decoration: underline;
  font-weight: bold;
}

.page-about__text-link:hover {
  color: #FFD700;
}

.page-about__cta-section {
  background-color: #1A1A2E;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin-bottom: 40px;
}

.page-about__button--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__story-grid,
  .page-about__responsible-gaming-grid {
    grid-template-columns: 1fr;
  }
  .page-about__responsible-gaming-image-container {
    order: -1; /* Image first on mobile for responsible gaming */
  }
  .page-about__value-icon,
  .page-about__story-image,
  .page-about__responsible-gaming-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__value-card {
    padding: 20px;
  }
  .page-about__value-icon {
    width: 250px;
    height: auto;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  /* Mobile specific image sizing to prevent overflow */
  .page-about__hero-image,
  .page-about__story-image,
  .page-about__value-icon,
  .page-about__responsible-gaming-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no content area image is smaller than 200px */
  .page-about img {
    min-width: 200px;
    min-height: 200px;
  }
  .page-about__value-icon {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-description {
    font-size: 0.9em;
  }
}