.page-about {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  width: 90%;
  z-index: 10;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

.page-about__button--join, .page-about__button--learn-more, .page-about__button--contact {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
}

.page-about__button--join:hover, .page-about__button--learn-more:hover, .page-about__button--contact:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-about__story-section, .page-about__mission-values-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__contact-cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__story-section {
  background-color: #f9f9f9;
}

.page-about__mission-values-section {
  background-color: #FFFFFF;
}

.page-about__why-choose-us-section {
  background-color: #f9f9f9;
}

.page-about__responsible-gaming-section {
  background-color: #FFFFFF;
}

.page-about__contact-cta-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__contact-cta-section .page-about__heading,
.page-about__contact-cta-section .page-about__text {
  color: #FFFFFF;
}

.page-about__story-section .page-about__container,
.page-about__mission-values-section .page-about__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__story-section .page-about__story-content,
.page-about__mission-values-section .page-about__content {
  flex: 1;
}

.page-about__story-section .page-about__story-image-wrapper,
.page-about__mission-values-section .page-about__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__heading {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
  font-weight: bold;
}

.page-about__contact-cta-section .page-about__heading {
    color: #FCBC45;
}

.page-about__sub-heading {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000000;
}

.page-about__text {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

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

.page-about__link-text:hover {
  color: #e0a53b;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__value-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-about__value-item::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.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: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-about__feature-icon {
  width: 250px; /* Ensuring minimum 200px display size */
  height: 180px; /* Ensuring minimum 200px display size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-about__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-about__cta-section {
  margin-top: 60px;
  padding: 40px;
  background-color: #000000;
  border-radius: 10px;
  color: #FFFFFF;
}

.page-about__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.page-about__responsible-gaming-section .page-about__button {
  margin-top: 30px;
}

.page-about__contact-cta-section .page-about__text {
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__heading {
    font-size: 2em;
  }
  .page-about__story-section .page-about__container,
  .page-about__mission-values-section .page-about__container {
    flex-direction: column;
  }
  .page-about__story-section .page-about__story-image-wrapper,
  .page-about__mission-values-section .page-about__image-wrapper {
    order: -1; /* Image first on mobile */
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 80%;
  }
  .page-about__heading {
    font-size: 1.8em;
  }
  .page-about__sub-heading {
    font-size: 1.5em;
  }
  .page-about__text {
    font-size: 1em;
  }
  .page-about__feature-icon {
    width: 100%;
    height: auto;
    max-width: 300px; /* Ensure images are not too wide but still meet min size */
    max-height: 250px;
  }
  .page-about__feature-card {
    padding: 20px;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-text {
    font-size: 1.2em;
  }
  .page-about__container img {
    max-width: 100%;
    height: auto;
  }
  .page-about__story-section .page-about__story-content,
  .page-about__mission-values-section .page-about__content {
    padding: 0 10px;
  }
  .page-about__hero-section {
      padding-top: 0; /* Handled by main tag */
  }
  .page-about__container img, .page-about__image, .page-about__feature-icon {
      max-width: 100% !important;
      height: auto !important;
      min-width: 200px;
      min-height: 200px;
  }
  .page-about__hero-image {
      min-width: unset;
      min-height: unset;
  }
  .page-about {
      overflow-x: hidden;
  }
}