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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #FFFFFF;
  padding-bottom: 40px; /* Space below hero content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

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

.page-about__button--secondary {
  background-color: transparent;
  color: #FCBC45; /* Login color */
  border: 2px solid #FCBC45;
}

.page-about__button--secondary:hover {
  background-color: rgba(252, 188, 69, 0.2);
  transform: translateY(-2px);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 60px;
  color: #FCBC45;
  font-weight: bold;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-about__mission-card, .page-about__vision-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  max-width: 400px; /* Constrain image size within card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

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

.page-about__card-text {
  font-size: 1.1em;
  color: #e0e0e0;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-icon {
  width: 100%;
  max-width: 300px; /* Constrain image size within feature item */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-about__responsible-gaming-text {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: #e0e0e0;
}

/* Call to Action Section */
.page-about__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #FFFFFF;
  text-align: center;
}

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

.page-about__cta-text {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .page-about__button {
    min-width: 180px;
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Ensure mobile padding-top */
  }
  .page-about__hero-content {
    width: 95%;
  }
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-text {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile image scaling for content area */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not too small in mobile */
  .page-about__mission-card .page-about__card-image,
  .page-about__vision-card .page-about__card-image,
  .page-about__feature-item .page-about__feature-icon {
    max-width: 100%; /* Override specific max-widths for full responsiveness */
    min-width: 200px; /* Enforce minimum size for content images */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__feature-title {
    font-size: 1.4em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
}