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

.page-about__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-about__hero-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, color 0.3s ease;
}

.page-about__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-about__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

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

.page-about__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__story-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__image {
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-about__image--story {
  width: 800px;
  height: 600px;
}

.page-about__mission-section {
  padding: 60px 0;
}

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

.page-about__value-card {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-about__value-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 100px; /* Ensure min size for icons in cards */
  min-height: 100px;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-about__responsible-gaming-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-about__container--responsive {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-about__responsible-gaming-section .page-about__section-title {
  color: #FCBC45;
  text-align: left;
}

.page-about__responsible-gaming-section .page-about__paragraph {
  color: #E0E0E0;
  text-align: left;
}

.page-about__responsible-gaming-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image--responsible-gaming {
  width: 800px;
  height: 600px;
}

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-about__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__button--learn-more:hover {
  background-color: #E0A83A;
}

.page-about__cta-section {
  background-color: #F8F8F8;
  padding: 80px 0;
  text-align: center;
}

.page-about__container--cta {
  max-width: 800px;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 40px;
}

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

.page-about__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__button--primary:hover {
  background-color: #E0A83A;
}

.page-about__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-about__button--secondary:hover {
  background-color: #333333;
}

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
    padding-bottom: 40px;
  }

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

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

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

  .page-about__hero-button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-about__section-title,
  .page-about__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__paragraph {
    font-size: 0.95em;
  }

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

  .page-about__container--responsive {
    flex-direction: column;
    text-align: center;
  }

  .page-about__responsible-gaming-section .page-about__section-title {
    text-align: center;
  }

  .page-about__responsible-gaming-section .page-about__paragraph {
    text-align: center;
  }

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

  .page-about__button {
    width: 80%;
    margin: 10px auto;
  }

  /* Mobile content area images must be constrained */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile if image is meant for content */
    min-height: 200px;
  }

  .page-about__value-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
  }
}

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

  .page-about__section-title,
  .page-about__cta-title {
    font-size: 1.5em;
  }

  .page-about__hero-button,
  .page-about__button {
    font-size: 0.9em;
    padding: 12px 20px;
    width: 90%;
  }

  .page-about__value-title {
    font-size: 1.3em;
  }
}