.page-about {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0A192F; /* Main brand color for about section background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
  overflow-x: hidden; /* Prevent mobile overflow */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

.page-about__container--centered {
  text-align: center;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold accent for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__section-intro,
.page-about__section-description,
.page-about__section-outro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px 20px;
  background: linear-gradient(135deg, #0A192F 0%, #050E1A 100%);
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.page-about__hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-image-wrapper {
  margin-top: 60px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 0;
}

.page-about__hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-about__button--primary {
  background-color: #FFD700;
  color: #0A192F;
}

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

.page-about__button--secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-about__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-about__button--text {
  color: #FFD700;
  border-bottom: 1px solid #FFD700;
  padding: 5px 0;
  margin: 0;
  font-size: 1em;
  background: none;
  display: inline;
  border-radius: 0;
}

.page-about__button--text:hover {
  color: #e6c200;
  border-color: #e6c200;
  transform: none;
}

.page-about__mission-vision-section,
.page-about__core-values-section,
.page-about__journey-section,
.page-about__why-choose-section,
.page-about__responsible-gaming-section,
.page-about__team-section,
.page-about__technology-section,
.page-about__join-community-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__text-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-about__image-wrapper--full-width {
  margin-top: 60px;
}

.page-about__image-wrapper--small .page-about__image {
    max-width: 800px;
    margin: 0 auto;
}

.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: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

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

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

.page-about__value-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.75);
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.07);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

.page-about__team-section p,
.page-about__technology-section p {
    text-align: left;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.page-about__team-section .page-about__image-wrapper,
.page-about__technology-section .page-about__image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-about__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-about__text-content {
    order: 2; /* Reverse order for mobile on reversed grid */
  }
  .page-about__image-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-about__hero-section {
    padding: 60px 15px 30px 15px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-about__section-intro,
  .page-about__section-description,
  .page-about__section-outro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-about__mission-vision-section,
  .page-about__core-values-section,
  .page-about__journey-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__team-section,
  .page-about__technology-section,
  .page-about__join-community-section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and prevent overflow */
  }
  .page-about__value-card,
  .page-about__feature-card {
    padding: 25px;
  }
  .page-about__value-icon {
      width: 80px;
      height: 80px;
      min-width: 200px;
      min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure content area images are never smaller than 200px */
.page-about img {
    min-width: 200px;
    min-height: 200px;
}

/* Specific overrides for smaller image representations if needed, but still > 200px */
/* Example: if you have a specific card icon that needs to be smaller, but still adheres to the 200px rule */
/* .page-about__value-icon { width: 250px; height: 250px; } */