.page-about {
  color: #FFFFFF; /* Text color for dark background */
  background-color: var(--secondary-color); /* This will be the body background, shared.css defines it */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  background-color: #000000; /* Dark background for hero */
  padding: 60px 20px; /* Add padding for content inside hero */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.page-about__hero-content {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #FFFFFF;
}

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

.page-about__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;
  white-space: nowrap;
}

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

.page-about__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

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

.page-about__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-about__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #FCBC45; /* Highlight section titles */
}

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

.page-about__story-section {
  background-color: #000000; /* Dark background */
}

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

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

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

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-about__button--play-now:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-about__mission-vision-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-about__mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-about__mv-card {
  background-color: #0a0a0a;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-about__mv-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-about__mv-card p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-about__values-section {
  background-color: #000000;
}

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

.page-about__value-item {
  background-color: #0a0a0a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

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

.page-about__value-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-about__why-choose-us-section {
  background-color: #1a1a1a;
}

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

.page-about__why-item {
  background-color: #0a0a0a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-about__why-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within item */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__why-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-about__why-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-about__cta-buttons {
  text-align: center;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

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

.page-about__button--join-us:hover,
.page-about__button--download-app:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__story-grid {
    grid-template-columns: 1fr;
  }
  .page-about__story-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-about__mv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 450px;
    padding: 30px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-about__content-container {
    padding: 40px 15px;
  }
  .page-about__image,
  .page-about__why-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__story-grid {
    gap: 30px;
  }
  .page-about__mv-card,
  .page-about__value-item,
  .page-about__why-item {
    padding: 25px;
  }
  .page-about__mv-title,
  .page-about__value-title,
  .page-about__why-title {
    font-size: 1.4em;
  }
  /* Ensure all images within .page-about are responsive and meet min-size */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}