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

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

.page-about-us__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 0;
  text-align: center;
}

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

.page-about-us__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-about-us__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-about-us__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, transform 0.3s ease;
  margin: 0 10px;
}

.page-about-us__hero-button--register {
  background-color: #FCBC45; /* Login color for Register */
  color: #000000; /* Dark text for light background */
}

.page-about-us__hero-button--register:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

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

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

.page-about-us__mission-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-about-us__mission-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-about-us__mission-text {
  flex: 1;
  font-size: 1.1em;
  color: #333333;
}

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

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

.page-about-us__value-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-about-us__value-icon {
  width: 100%; /* Ensure image is responsive within its container */
  max-width: 250px; /* Example max-width for content image, must be >= 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

.page-about-us__responsible-gaming-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-about-us__responsible-gaming-text {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #333333;
}

.page-about-us__responsible-gaming-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about-us__responsible-gaming-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-about-us__cta-section {
  padding: 80px 0;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  text-align: center;
}

.page-about-us__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-about-us__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

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

.page-about-us__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about-us__cta-button--register {
  background-color: #FCBC45; /* Login color for Register */
  color: #000000; /* Dark text for light background */
}

.page-about-us__cta-button--register:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-about-us__cta-button--login {
  background-color: #FFFFFF; /* White for Login */
  color: #000000; /* Dark text for light background */
  border: 2px solid #FCBC45;
}

.page-about-us__cta-button--login:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__hero-title {
    font-size: 2.8em;
  }
  .page-about-us__section-title {
    font-size: 2em;
  }
  .page-about-us__mission-content {
    flex-direction: column;
    text-align: center;
  }
  .page-about-us__mission-image {
    max-width: 80%;
  }
  .page-about-us__value-icon {
    max-width: 200px; /* Ensure content images are not too small */
  }
}

@media (max-width: 768px) {
  .page-about-us__hero-title {
    font-size: 2.2em;
  }
  .page-about-us__hero-description {
    font-size: 1em;
  }
  .page-about-us__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about-us__section-title {
    font-size: 1.8em;
  }
  .page-about-us__mission-image, .page-about-us__value-icon {
    max-width: 100%; /* Max-width must be 100% for mobile images */
    height: auto; /* Ensure aspect ratio is maintained */
  }
  .page-about-us__value-card {
    padding: 20px;
  }
  .page-about-us__value-title {
    font-size: 1.3em;
  }
  .page-about-us__cta-title {
    font-size: 2em;
  }
  .page-about-us__cta-description {
    font-size: 1em;
  }
  .page-about-us__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about-us__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about-us__hero-section .page-about-us__hero-image,
  .page-about-us__mission-section .page-about-us__mission-image,
  .page-about-us__values-section .page-about-us__value-icon {
    max-width: 100%;
    height: auto;
  }
  .page-about-us * {
    -webkit-overflow-scrolling: touch;
  }
  .page-about-us {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-about-us__hero-title {
    font-size: 1.8em;
  }
  .page-about-us__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-about-us__section-title {
    font-size: 1.5em;
  }
  .page-about-us__cta-title {
    font-size: 1.8em;
  }
}