.page-about {
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-about__section {
  padding: 80px 20px;
  text-align: center;
}

.page-about__section--dark {
  background-color: #8B0000; /* Auxiliary color */
  color: #ffffff;
}

.page-about__section--gradient {
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Red gradient */
  color: #ffffff;
}

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

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-about__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #8B0000;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.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: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

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

.page-about__button--secondary {
  background-color: transparent;
  color: #8B0000; /* Dark Red */
  border: 2px solid #8B0000;
}

.page-about__button--secondary:hover {
  background-color: #8B0000;
  color: #FFD700;
  transform: translateY(-3px);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1400px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #8B0000;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__section-title--light {
  color: #FFD700;
}

.page-about__story-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
  font-size: 1.1em;
  color: #555555;
}

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

.page-about__section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-about__mission-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__mission-subtitle--light {
  color: #FFD700;
}

.page-about__mission-text--light {
  color: #f0f0f0;
}

.page-about__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-about__why-choose-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-about__why-choose-subtitle {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__responsible-gaming-text {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__responsible-gaming-text--light {
  color: #f0f0f0;
}

.page-about__button--light {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-about__button--light:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-about__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-about__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__cta-description--light {
  color: #f0f0f0;
}

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

.page-about__button--primary-light {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-about__button--primary-light:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-about__button--secondary-light:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-3px);
}

.page-about__cta-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

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

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

  .page-about__section-title {
    font-size: 2.5em;
  }

  .page-about__mission-subtitle,
  .page-about__why-choose-subtitle {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-about__section,
  .page-about__hero-section {
    padding: 60px 15px;
  }

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

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

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

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

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

  .page-about__story-content,
  .page-about__mission-text--light,
  .page-about__responsible-gaming-text,
  .page-about__cta-description {
    font-size: 1em;
  }

  .page-about__mission-grid {
    grid-template-columns: 1fr;
  }

  .page-about__why-choose-grid {
    grid-template-columns: 1fr;
  }

  .page-about__section-image,
  .page-about__hero-image,
  .page-about__cta-image {
    max-width: 100%;
    height: auto; /* Ensures images are responsive and don't overflow */
  }

  /* Ensure all content area images are at least 200px on mobile */
  .page-about__section-image, 
  .page-about__hero-image, 
  .page-about__cta-image, 
  .page-about__story-content img, 
  .page-about__mission-item img, 
  .page-about__why-choose-item img, 
  .page-about__responsible-gaming-section img, 
  .page-about__team-section img {
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}