.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 content is not hidden by fixed header */
}

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

.page-about__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

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

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-about__button--register:hover {
  background-color: #F0F0F0;
}

.page-about__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__button--login:hover {
  background-color: #EBAA34;
}

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

.page-about__story-section, .page-about__mission-section, .page-about__why-choose-section, .page-about__responsible-gaming-section, .page-about__cta-section {
  padding: 60px 0;
}

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

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

.page-about__story-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
}

.page-about__story-text {
  flex: 1;
}

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

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

.page-about__mission-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-about__mission-item:hover {
  transform: translateY(-5px);
}

.page-about__mission-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
}

.page-about__mission-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__why-choose-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__why-choose-section .page-about__section-title {
  color: #FFFFFF;
}

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

.page-about__why-choose-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.page-about__why-choose-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
}

.page-about__why-choose-heading {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
}

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

.page-about__button--promo {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__button--promo:hover {
  background-color: #EBAA34;
}

.page-about__button--learn-more {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #FCBC45;
}

.page-about__button--learn-more:hover {
  background-color: #F0F0F0;
}

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

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

.page-about__responsible-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
}

.page-about__responsible-text {
  flex: 1;
}

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

.page-about__button--responsible {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-about__button--responsible:hover {
  background-color: #333333;
}

.page-about__cta-section {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
}

.page-about__cta-section .page-about__section-title {
  color: #000000;
}

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

.page-about__button--join-us {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__button--join-us:hover {
  background-color: #333333;
}

.page-about__button--explore-games {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #000000;
}

.page-about__button--explore-games:hover {
  background-color: #F0F0F0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__story-content, .page-about__responsible-content {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-image, .page-about__responsible-image {
    max-width: 80%;
  }
  .page-about__mission-icon {
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-about__story-content, .page-about__responsible-content {
    gap: 20px;
  }
  .page-about__story-image, .page-about__responsible-image {
    max-width: 100%;
  }
  .page-about__mission-grid, .page-about__why-choose-grid {
    grid-template-columns: 1fr;
  }
  .page-about__why-choose-item {
    padding: 20px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all images within content area are responsive and not smaller than 200px */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-about__mission-icon, .page-about__why-choose-image, .page-about__story-image, .page-about__responsible-image {
    min-width: 200px; /* Explicitly ensure these images are not smaller than 200px */
    min-height: 200px; /* Explicitly ensure these images are not smaller than 200px */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.5em;
  }
  .page-about__hero-description {
    font-size: 0.8em;
  }
  .page-about__button {
    width: 90%;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__story-text p, .page-about__responsible-text p {
    font-size: 1em;
  }
}