.page-about {
  color: #333333; /* Dark text for light background */
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero section */
  position: relative;
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
  min-height: 400px; /* Ensure minimum height for image */
}

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

.page-about__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 180px;
  text-align: center;
  font-size: 1em;
}

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

.page-about__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-about__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-about__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-about__story-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-about__story-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-about__story-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__story-text {
  flex: 2;
  min-width: 300px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-about__story-text p {
  margin-bottom: 20px;
}

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

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

.page-about__mission-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__mission-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

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

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

.page-about__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-about__feature-card p {
  font-size: 1em;
  line-height: 1.6;
}

.page-about__responsible-gaming-section {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* Light text */
  padding: 60px 0;
  text-align: center;
}

.page-about__responsible-gaming-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__responsible-gaming-text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about__button--tertiary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__button--tertiary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

.page-about__cta-section {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light background */
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-about__button {
    width: 100%;
    max-width: 280px;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__story-image, .page-about__story-text {
    min-width: unset;
    width: 100%;
  }
  .page-about__mission-grid, .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  /* Mobile content area image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no image falls below 200px display width */
  .page-about__mission-icon, .page-about__feature-icon {
    max-width: 100%;
    min-width: 200px; /* Maintain minimum display size for content images */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.5em;
  }
  .page-about__container {
    padding: 20px 15px;
  }
  .page-about__button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
}