.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-about__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

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

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

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

.page-about__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-about__button--register {
  background-color: #FFFFFF; /* White for Register */
  color: #000000; /* Black text */
  border: 2px solid #FFFFFF;
}

.page-about__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-about__button--login {
  background-color: #FCBC45; /* Yellow for Login */
  color: #000000; /* Black text */
  border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

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

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

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-about__story-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__paragraph {
  flex: 1;
  min-width: 300px;
  font-size: 1.1em;
  color: #333333;
}

.page-about__image-inline {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  width: auto;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-about__mission-card, .page-about__vision-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.page-about__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.page-about__value-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-about__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-top: 40px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.page-about__responsible-gaming-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
}

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

.page-about__responsible-gaming-section .page-about__section-title::after {
  background-color: #FCBC45;
}

.page-about__responsible-gaming-section .page-about__paragraph {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 30px;
}

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

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

.page-about__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

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

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

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

.page-about__button--register-cta {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-about__button--register-cta:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-about__button--download-app {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--download-app:hover {
  background-color: #000000;
  border-color: #000000;
  color: #FFFFFF;
}

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-about__button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-block {
    padding: 40px 15px;
  }
  .page-about__story-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__image-inline {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page-about__card-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page-about__image-full-width {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all images within .page-about are not smaller than 200px, if not explicitly set larger */
  .page-about img:not(.shared-header__logo):not(.shared-footer__social-icon):not(.shared-footer__payment-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to scale with max-width */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__button {
    padding: 10px 20px;
    font-size: 1em;
  }
}