.page-about {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #0D0E12;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  object-fit: cover;
  display: block; /* Ensure it behaves as a block element */
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #FFB04D, #FF8C1A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

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

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  background: linear-gradient(90deg, #FFB04D, #FF8C1A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

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

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

.page-about__mission-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-about__values-section {
  padding: 60px 0;
  background-color: #17191F;
}

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

.page-about__value-card {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 176, 77, 0.3);
}

.page-about__value-icon {
  width: 100%; /* Allows it to scale up to container width */
  max-width: 400px; /* Use the width from HTML attribute or a suitable max */
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum display size */
  min-height: 200px; /* Enforce minimum display size */
  border-radius: 10px;
  object-fit: cover;
}

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

.page-about__value-text {
  font-size: 1em;
  color: #FFF3E6;
}

.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-about__feature-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 176, 77, 0.3);
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFA53A;
}

.page-about__feature-text {
  font-size: 1em;
  color: #FFF3E6;
}

.page-about__contact-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-about__responsible-gaming-section {
  padding: 60px 0;
  background-color: #17191F;
  text-align: center;
}

.page-about__read-more-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__read-more-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    padding-top: 40px;
  }

  .page-about__section-description {
    font-size: 0.95em;
  }

  .page-about__values-grid, .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__hero-button, .page-about__contact-button, .page-about__read-more-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  /* Mobile image constraint */
  .page-about__hero-image, 
  .page-about__mission-image, 
  .page-about__value-icon {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images are not too small */
  .page-about img {
    min-width: 200px; /* Apply to all content images */
    min-height: 200px;
  }

  /* Ensure specific image types also respect min-width/height */
  .page-about__value-icon {
    max-width: 100%; /* Override the fixed max-width for mobile responsiveness */
    width: 100%; /* Make it take full width of its container */
  }
}