.page-about {
  color: #333333; /* Dark text for light body background */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-about__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  z-index: 1;
}

.page-about__hero-content {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for text readability */
  padding: 30px;
  border-radius: 8px;
  color: #FFFFFF; /* White text on dark overlay */
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

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

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

.page-about__button--register:hover {
  background-color: #e0a53b;
}

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

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

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

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

.page-about__button--secondary {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
}

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

.page-about__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-about__section--dark {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__section--dark .page-about__section-title,
.page-about__section--dark .page-about__sub-title {
  color: #FFFFFF;
}

.page-about__story-section {
  padding: 80px 0;
}

.page-about__story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-about__story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-about__story-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05em;
}

.page-about__story-image-wrapper {
  text-align: center;
}

.page-about__story-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
}

.page-about__mission-values-section {
  padding: 80px 0;
}

.page-about__mission-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .page-about__mission-content {
    grid-template-columns: 1fr 1fr;
  }
}

.page-about__mission-text p {
  line-height: 1.8;
  font-size: 1.05em;
}

.page-about__mission-image-wrapper {
  text-align: center;
}

.page-about__mission-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(252, 188, 69, 0.3);
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background-color: rgba(252, 188, 69, 0.1);
}

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

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

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-about__why-choose-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  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__why-choose-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-about__why-choose-icon {
  width: 100%; /* Occupy card width */
  height: auto;
  max-width: 400px; /* Max width for icon */
  margin-bottom: 25px;
  border-radius: 4px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
  object-fit: cover;
}

.page-about__why-choose-item .page-about__sub-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__why-choose-item p {
  line-height: 1.7;
  font-size: 0.98em;
  color: #555555;
}

.page-about__cta-section {
  padding: 100px 0;
  text-align: center;
}

.page-about__cta-container {
  background: linear-gradient(135deg, #000000, #333333);
  padding: 60px 40px;
  border-radius: 12px;
  color: #FFFFFF;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.page-about__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-container .page-about__button {
  margin: 0 10px;
}

.page-about__responsible-gaming-section {
  padding: 80px 0;
}

.page-about__responsible-gaming-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-about__responsible-gaming-content {
    grid-template-columns: 1fr 1fr;
  }
}

.page-about__responsible-gaming-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05em;
}

.page-about__responsible-gaming-image-wrapper {
  text-align: center;
}

.page-about__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px; /* Ensure image is not too small */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 400px;
  }
  .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: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__values-grid,
  .page-about__why-choose-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1.1em;
  }
  /* Ensure all images within .page-about are responsive */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-image {
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
  }
  .page-about__story-image {
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
  }
  .page-about__mission-image {
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
  }
  .page-about__why-choose-icon {
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
  }
  .page-about__responsible-gaming-image {
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px; /* Ensure image is not too small */
  }
}

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