.page-about {
  background-color: #08160F; /* Ensure background color for the page content */
  color: #F2FFF6; /* Default text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place image behind content */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the wrapper area */
  filter: brightness(0.5); /* Darken image for better text contrast */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 20px;
  color: #F2FFF6; /* Main text color */
}

.page-about__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-about__hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #A7D9B8; /* Secondary text color */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for button responsiveness */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #11A84E;
  border: 2px solid #11A84E;
}

.page-about__btn-secondary:hover {
  background: #11A84E;
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6; /* Default for dark sections */
}

.page-about__subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for subheadings */
  text-align: center;
}

.page-about__intro-section,
.page-about__commitment-section,
.page-about__conclusion-cta {
  padding: 80px 0;
  background-color: #08160F; /* Deep Green from palette */
  color: #F2FFF6;
}

.page-about__why-choose-us,
.page-about__achievements-partners {
  padding: 80px 0;
  background-color: #11271B; /* Card BG, a slightly lighter dark */
  color: #F2FFF6; /* Default for dark sections */
}

.page-about__light-bg {
  background-color: #ffffff; /* Explicitly light background */
  color: #333333; /* Dark text for light background */
}

.page-about__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__text-contrast-fix {
  color: #333333; /* For text on light backgrounds */
}

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

.page-about__value-item {
  text-align: center;
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #57E38D; /* Glow color */
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 0.95rem;
  color: #A7D9B8;
}

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

.page-about__feature-card {
  background-color: #ffffff; /* Light background for cards in light section */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333; /* Dark text for light card background */
}

.page-about__feature-card .page-about__card-title {
  color: #11A84E; /* Main color for card titles */
  font-size: 1.6rem;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-about__feature-card .page-about__card-description {
  font-size: 1rem;
  color: #333333;
}

.page-about__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__game-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
}

.page-about__game-list li {
  margin-bottom: 5px;
}

.page-about__game-list a {
  color: #11A84E;
  text-decoration: none;
}

.page-about__game-list a:hover {
  text-decoration: underline;
}

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

.page-about__commitment-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-about__commitment-description {
  font-size: 1rem;
  color: #A7D9B8;
}

.page-about__commitment-description a {
  color: #2AD16F;
  text-decoration: none;
}

.page-about__commitment-description a:hover {
  text-decoration: underline;
}

.page-about__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  justify-items: center;
}

.page-about__partner-item {
  text-align: center;
  background-color: #F2FFF6; /* Light background for partner logos */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333; /* Dark text for partner names */
}

.page-about__partner-logo {
  width: 150px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-about__partner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333333;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding: 60px 20px;
  }
  .page-about__hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__subsection-title {
    font-size: 1.5rem;
  }
  .page-about__intro-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__achievements-partners,
  .page-about__conclusion-cta {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 40px 15px;
  }
  .page-about__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-about__hero-description {
    font-size: 1rem;
  }
  .page-about__cta-button {
    width: 100%;
    max-width: 300px; /* Limit width for single button */
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-about__subsection-title {
    font-size: 1.3rem;
  }
  .page-about__intro-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__achievements-partners,
  .page-about__conclusion-cta {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__values-grid,
  .page-about__feature-grid,
  .page-about__commitment-list,
  .page-about__partners-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }
  .page-about__feature-card,
  .page-about__value-item,
  .page-about__commitment-item,
  .page-about__partner-item {
    padding: 20px;
  }

  /* Force responsive image/button/video styles */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }
  .page-about__feature-image {
    height: 200px; /* Adjust feature image height for mobile */
  }
  .page-about__value-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__partner-logo {
    width: 120px;
    max-height: 60px;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__intro-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__achievements-partners,
  .page-about__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button specific mobile rules */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
}

/* Ensure link colors are visible on dark/light backgrounds */
.page-about a {
  color: #2AD16F; /* A vibrant green for links */
  text-decoration: none;
}
.page-about a:hover {
  text-decoration: underline;
}
.page-about__text-contrast-fix a { /* For links within light sections */
  color: #13994A;
}
.page-about__text-contrast-fix a:hover {
  text-decoration: underline;
}