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

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

.page-about__section {
  padding: 60px 0;
}

.page-about__section--dark {
  background-color: #f8f8f8; /* Slightly off-white for contrast */
  color: #333333;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__section-intro {
  font-size: 1.2em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Fallback gradient */
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

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

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-about__button--learn-more,
.page-about__button--responsible-gaming,
.page-about__button--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__button--learn-more:hover,
.page-about__button--responsible-gaming:hover,
.page-about__button--download:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__text-block {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__image {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-about__image--right {
  flex-shrink: 0;
  width: 500px;
  height: auto;
}

.page-about__image--center {
  margin: 40px auto 0;
  max-width: 800px;
  height: auto;
}

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

.page-about__value-card,
.page-about__feature-card,
.page-about__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-left: 5px solid #FCBC45;
}

.page-about__section--dark .page-about__value-card,
.page-about__section--dark .page-about__feature-item {
  background-color: #ffffff;
  color: #333333;
}

.page-about__value-card:hover,
.page-about__feature-card:hover,
.page-about__feature-item:hover {
  transform: translateY(-5px);
}

.page-about__card-title,
.page-about__item-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-card p,
.page-about__feature-card p,
.page-about__feature-item p {
  font-size: 1em;
  color: #555555;
}

.page-about__cta-content {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  border-radius: 15px;
  margin-top: 60px;
}

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

.page-about__cta-content .page-about__section-intro {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__image--right {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px);
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__hero-section {
    min-height: 450px;
    padding: 30px 15px;
  }
  .page-about__hero-content {
    padding: 20px;
  }
  .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%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__gaming-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__image--right,
  .page-about__image--center {
    width: 100%;
    max-width: none;
  }
  .page-about__container img {
    max-width: 100%;
    height: auto;
  }
}

/* Critical: Ensure all content images within .page-about are not smaller than 200px on mobile */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-about__image--center {
    min-width: 200px; /* Specific override for center images */
    min-height: 200px;
  }
  .page-about__image--right {
    min-width: 200px;
    min-height: 200px;
  }
  /* Ensure no horizontal scroll */
  .page-about {
    overflow-x: hidden;
  }
}