.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 */
  background-color: #FFFFFF; /* Ensure page background is white */
}

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

.page-about__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark hero background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

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

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

.page-about__tagline {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

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

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-about__btn--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

.page-about__btn--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-about__btn--explore,
.page-about__btn--join,
.page-about__btn--download,
.page-about__btn--support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-about__btn--explore:hover,
.page-about__btn--join:hover,
.page-about__btn--download:hover,
.page-about__btn--support:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

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

.page-about__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-about__vision-mission-section,
.page-about__difference-section,
.page-about__journey-section,
.page-about__responsible-gaming-section,
.page-about__community-section,
.page-about__future-section,
.page-about__contact-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for content sections */
}

.page-about__vision-mission-section {
  background-color: #f8f8f8;
}

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

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

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

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

.page-about__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1em;
  color: #555555;
}

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

.page-about__feature-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
}

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

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

.page-about__feature-text {
  font-size: 0.95em;
  color: #666666;
}

.page-about__feature-text a {
  color: #FCBC45;
  text-decoration: none;
}

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

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

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

.page-about__milestone-card:hover {
  transform: translateY(-5px);
}

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

.page-about__milestone-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__milestone-text {
  font-size: 1em;
  color: #555555;
}

.page-about__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 3em;
  }
  .page-about__tagline {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__card-title,
  .page-about__milestone-title {
    font-size: 1.6em;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header if needed, but default should be fine */
  }
  .page-about__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-about__hero-content {
    padding: 0 10px;
  }
  .page-about__main-title {
    font-size: 2.5em;
  }
  .page-about__tagline {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn {
    width: 100%;
    padding: 12px 20px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-about__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-about__grid,
  .page-about__features-grid,
  .page-about__milestones-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__card,
  .page-about__feature-item,
  .page-about__milestone-card {
    padding: 20px;
  }
  .page-about__card-image,
  .page-about__feature-image,
  .page-about__milestone-image {
    height: 200px; /* Ensure images are not too small, min 200px */
  }

  /* IMPORTANT: Mobile content area image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__card-title,
  .page-about__milestone-title {
    font-size: 1.4em;
  }
  .page-about__feature-title {
    font-size: 1.2em;
  }
}