.page-about {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

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

.page-about__hero-content {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-about__hero-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

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

.page-about__story-section,
.page-about__why-choose-us,
.page-about__responsible-gaming,
.page-about__legal-info,
.page-about__contact-us {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-about__story-section {
  background-color: #f5f5f5;
}

.page-about__story-title,
.page-about__why-title,
.page-about__responsible-title,
.page-about__legal-title,
.page-about__contact-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__story-paragraph,
.page-about__why-description,
.page-about__responsible-paragraph,
.page-about__legal-paragraph,
.page-about__contact-paragraph {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-about__story-card-icon {
  width: 200px; /* Min display size */
  height: 200px; /* Min display size */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain; /* Ensure image fits without cropping if aspect ratio differs */
}

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

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

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

.page-about__feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

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

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

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

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

.page-about__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #000000;
  border-radius: 10px;
  color: #FFFFFF;
}

.page-about__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-about__cta-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-about__responsible-button,
.page-about__contact-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-about__responsible-button:hover,
.page-about__contact-button:hover {
  background-color: #333333;
}

.page-about__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__legal-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-about__legal-link:hover {
  color: #e0a53a;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-about__hero-section {
    min-height: 400px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-about__story-title,
  .page-about__why-title,
  .page-about__responsible-title,
  .page-about__legal-title,
  .page-about__contact-title {
    font-size: 2em;
  }
  .page-about__story-paragraph,
  .page-about__why-description,
  .page-about__responsible-paragraph,
  .page-about__legal-paragraph,
  .page-about__contact-paragraph {
    font-size: 0.95em;
  }
  .page-about__story-details,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-image {
    height: 200px; /* Adjust height for smaller screens, maintaining min 200px */
  }
  .page-about__story-card-icon {
    width: 200px; /* Maintain min size */
    height: 200px;
  }
  .page-about__cta-text {
    font-size: 1.3em;
  }
  .page-about__cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  .page-about__legal-links {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__story-title,
  .page-about__why-title,
  .page-about__responsible-title,
  .page-about__legal-title,
  .page-about__contact-title {
    font-size: 1.8em;
  }
  .page-about__cta-text {
    font-size: 1.1em;
  }
  .page-about__cta-button {
    padding: 10px 20px;
    font-size: 1.1em;
  }
}

/* General rule for all images within .page-about to enforce minimum display size */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural scaling */
  height: auto; /* Allow natural scaling */
  display: block; /* Prevent inline spacing issues */
  margin: 0 auto; /* Center block images */
}

/* Specific overrides to ensure images meet minimum display size and fit their containers */
.page-about__story-card-icon {
  width: 200px;
  height: 200px;
  object-fit: contain; /* Prevent cropping, fit within 200x200 */
}

.page-about__feature-image {
  width: 100%; /* Take full width of parent */
  height: 250px; /* Maintain fixed height, allowing object-fit to handle aspect */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}