/* style/about.css */
.page-about {
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #1E90FF, #0028ff); /* Using secondary color for gradient */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Primary color for title */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-about__hero-image-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
}

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

.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary color */
  color: #121212; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary color */
  text-align: center;
  margin-bottom: 50px;
  padding-top: 40px;
}

.page-about__mission-vision-section,
.page-about__values-section,
.page-about__responsible-gaming-section,
.page-about__cta-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__mission-vision-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__mission-vision-grid .page-about__text-content {
  flex: 1;
}

.page-about__mission-vision-grid .page-about__image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-about__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__value-card {
  background-color: rgba(30, 144, 255, 0.1); /* Secondary color with transparency */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #1E90FF;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Primary color */
  margin-bottom: 15px;
}

.page-about__image-wrapper--center {
  text-align: center;
}

.page-about__image-wrapper--center .page-about__image {
  max-width: 100%;
  display: inline-block;
}

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

.page-about__responsible-gaming-content .page-about__image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-about__responsible-gaming-content .page-about__text-content {
  flex: 1;
}

.page-about__link {
  color: #FFD700; /* Primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-about__cta-container {
  text-align: center;
  background-color: rgba(255, 215, 0, 0.1); /* Primary color with transparency */
  padding: 50px;
  border-radius: 10px;
  border: 1px solid #FFD700;
}

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

.page-about__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-about__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

  .page-about__mission-vision-grid,
  .page-about__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }
  
  .page-about__mission-vision-grid .page-about__image-wrapper,
  .page-about__responsible-gaming-content .page-about__image-wrapper {
    order: -1; /* Image appears above text on mobile */
  }

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }
  .page-about__hero-title {
    font-size: 2em;
  }

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

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

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

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

  .page-about__container {
    padding: 0 15px;
  }

  /* Mobile content area images must not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure content area does not cause horizontal scroll */
  .page-about {
    overflow-x: hidden;
  }
}