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

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure header offset for desktop */
  padding-bottom: 60px;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF; /* Light text on dark background */
  text-align: center;
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.page-about__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-about__hero-button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

.page-about__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-about__hero-button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-about__image-inline {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__mission-values-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.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: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
}

.page-about__value-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-about__offerings-section {
  padding: 60px 0;
}

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

.page-about__offering-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about__offering-card:hover {
  transform: translateY(-10px);
}

.page-about__offering-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%; /* Ensure images fill card width */
  min-height: 200px; /* Minimum height for card images */
}

.page-about__offering-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__offering-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #CCCCCC;
}

.page-about__security-section, .page-about__tech-innovation-section, .page-about__community-support-section, .page-about__future-outlook-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-about__button-link {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #000000;
}

.page-about__button-link:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

.page-about__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about__why-list-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-about__why-list-item:hover {
  background-color: #FFFBEA; /* Light yellow tint on hover */
}

.page-about__why-item-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* 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;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust header offset for mobile */
    padding-bottom: 40px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-about__content-area {
    padding: 20px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-text {
    font-size: 0.95em;
  }
  .page-about__values-grid, .page-about__offerings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Mobile image scaling */
  .page-about__image-inline, .page-about__offering-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content images are not smaller than 200px display, but scale down */
  .page-about__content-area img {
    min-width: 200px; /* Base min-width */
    min-height: 200px; /* Base min-height */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__hero-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__value-title, .page-about__offering-title, .page-about__why-item-title {
    font-size: 1.3em;
  }
}

/* Ensure all images within .page-about are responsive and meet minimum size requirements */
.page-about img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Explicitly set min-dimensions for content images to adhere to 200px rule */
.page-about__image-inline,
.page-about__offering-image {
  min-width: 200px;
  min-height: 200px;
}

/* Override for mobile to ensure responsiveness while maintaining base min-size */
@media (max-width: 768px) {
  .page-about__image-inline,
  .page-about__offering-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum display size if container allows */
    min-height: 200px; /* Maintain minimum display size if container allows */
  }
}