.page-about {
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
  font-family: Arial, sans-serif;
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding-bottom: 40px;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 40px 20px;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-about__hero-cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-cta-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-about__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-about__story-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  gap: 40px;
}

.page-about__story-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

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

.page-about__story-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-about__story-cta-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__story-cta-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-about__image-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-about__story-image, .page-about__responsible-gaming-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-about__mission-values-section {
  background-color: #F8F8F8;
  padding: 60px 20px;
  text-align: center;
}

.page-about__mission-vision {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-about__mission-title, .page-about__values-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-about__mission-text {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.page-about__core-values {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

.page-about__value-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  display: block;
}

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

.page-about__value-description {
  font-size: 0.95em;
  line-height: 1.5;
}

.page-about__responsible-gaming-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  gap: 40px;
}

.page-about__responsible-gaming-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-about__responsible-gaming-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-about__responsible-gaming-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-about__responsible-gaming-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

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

.page-about__why-choose-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FCBC45;
}

.page-about__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-about__why-choose-item {
  background-color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
}

.page-about__why-choose-heading {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-about__why-choose-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #E0E0E0;
}

.page-about__cta-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 900px;
  margin: 60px auto;
}

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

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

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

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

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

.page-about__cta-register-button:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

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

.page-about__cta-login-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__story-section, .page-about__responsible-gaming-section {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-content, .page-about__responsible-gaming-content {
    order: 2;
  }
  .page-about__image-container {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section { 
    padding-top: var(--header-offset, 120px);
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__story-title, .page-about__mission-title, .page-about__values-title, .page-about__responsible-gaming-title, .page-about__why-choose-title, .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__values-grid, .page-about__why-choose-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-buttons {
    flex-direction: column;
  }
  /* Mobile content image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not smaller than 200px */
  .page-about__story-image, .page-about__responsible-gaming-image, .page-about__hero-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-cta-button, .page-about__story-cta-button, .page-about__cta-register-button, .page-about__cta-login-button {
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
}