.page-about {
  color: #ffffff; /* Text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  text-align: center;
  padding: 0;
  overflow: hidden;
  background-color: #1A202C;
}

.page-about__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-about__hero-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  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;
}

.page-about__hero-button:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-about__section {
  padding: 60px 20px;
  background-color: #1A202C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__section-title {
  font-size: 2.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-about__story-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-about__story-text {
  flex: 1;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__story-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px #FFD700);
}

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

.page-about__value-description {
  font-size: 1em;
  color: #cccccc;
}

.page-about__responsible-gaming-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-about__responsible-gaming-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-about__responsible-gaming-text-area {
  flex: 1;
}

.page-about__responsible-gaming-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-about__responsible-gaming-button:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-about__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A202C, #0d1117);
}

.page-about__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-about__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 180px;
}

.page-about__cta-button:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-about__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-about__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__story-content,
  .page-about__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }
  .page-about__story-image,
  .page-about__responsible-gaming-image {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-about__values-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__story-text,
  .page-about__responsible-gaming-description {
    font-size: 1em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-about__story-image, .page-about__responsible-gaming-image, .page-about__value-icon, .page-about__hero-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content area images are not smaller than 200px and are responsive */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
    object-fit: cover;
  }
  .page-about__value-icon {
    min-width: 100px; /* Icons can be smaller if they are not content images */
    min-height: 100px;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
}