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

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

.page-about__section-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-about__section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #555555;
  margin-bottom: 40px;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-about__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #000000;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-about__hero-button--register {
  background-color: #FCBC45;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-about__hero-button--register:hover {
  background-color: #e0a539;
  border-color: #e0a539;
}

.page-about__hero-button--login {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-about__hero-button--login:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
}

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

/* Story Section */
.page-about__story-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-about__story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__story-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #444444;
}

.page-about__story-image-wrapper {
  text-align: center;
}

.page-about__story-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__section--dark .page-about__section-title {
  color: #FFFFFF;
}

.page-about__section--dark .page-about__section-title::after {
  background-color: #FCBC45;
}

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

.page-about__mission-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__mission-card p {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #E0E0E0;
}

.page-about__banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-about__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__feature-icon {
  width: 200px; /* Enforcing minimum size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block; /* Ensure it takes full width of its container */
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__feature-card p {
  line-height: 1.6;
  color: #555555;
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-about__cta-bottom p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FCBC45;
}

.page-about__cta-button:hover {
  background-color: #e0a539;
  color: #FFFFFF;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__value-item .page-about__value-title {
  font-size: 1.7rem;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-about__value-item p {
  line-height: 1.7;
  color: #E0E0E0;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-about__responsible-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__responsible-image-wrapper {
  text-align: center;
}

.page-about__responsible-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__responsible-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #444444;
}

.page-about__responsible-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #444444;
}

.page-about__responsible-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-about__responsible-content a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__responsible-content a:hover {
  color: #e0a539;
  text-decoration: underline;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

.page-about__cta-section .page-about__section-title::after {
  background-color: #FCBC45;
}

.page-about__cta-section .page-about__section-subtitle {
  color: #E0E0E0;
}

.page-about__cta-actions {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}

.page-about__cta-button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__cta-button--primary:hover {
  background-color: #e0a539;
  color: #FFFFFF;
}

.page-about__cta-button--secondary {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-about__cta-button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__story-grid,
  .page-about__mission-grid,
  .page-about__responsible-grid {
    grid-template-columns: 1fr;
  }

  .page-about__story-image-wrapper,
  .page-about__responsible-image-wrapper {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-title {
    font-size: 2.5rem;
  }

  .page-about__hero-description {
    font-size: 1.1rem;
  }

  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__hero-button {
    width: 100%;
    max-width: 300px;
  }

  .page-about__section-title {
    font-size: 2rem;
  }

  .page-about__section-subtitle {
    font-size: 1rem;
  }

  .page-about__feature-icon,
  .page-about__story-image,
  .page-about__banner-image,
  .page-about__responsible-image {
    max-width: 100%;
    height: auto;
  }

  .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__cta-button {
    width: 100%;
    max-width: 300px;
  }

  /* Ensure all content images are not too small on mobile */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2rem;
  }

  .page-about__section-title {
    font-size: 1.8rem;
  }

  .page-about__hero-section,
  .page-about__story-section,
  .page-about__mission-section,
  .page-about__why-choose-section,
  .page-about__values-section,
  .page-about__responsible-gaming-section,
  .page-about__cta-section {
    padding: 40px 0;
  }
}