.page-about {
  color: #333333; /* Dark text for default (white) 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__hero-section {
  background-color: #003366; /* Deep blue background for hero */
  color: #ffffff; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold for title accent */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

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

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

.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.2s ease;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #FFCC00; /* Gold button */
  color: #003366; /* Deep blue text */
  border: 2px solid #FFCC00;
}

.page-about__button--primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-about__button--secondary {
  background-color: transparent;
  color: #FFCC00; /* Gold text */
  border: 2px solid #FFCC00;
}

.page-about__button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-about__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #003366; /* Deep blue title */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-about__sub-title {
  font-size: 1.8em;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFCC00; /* Gold accent */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
}

.page-about__list-item strong {
  color: #003366;
}

.page-about__link {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #FFCC00;
  text-decoration: underline;
}

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

.page-about__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__game-card-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-about__game-card-title .page-about__link {
  color: #003366;
  text-decoration: none;
}

.page-about__game-card-title .page-about__link:hover {
  color: #FFCC00;
  text-decoration: underline;
}

.page-about__game-card-description {
  font-size: 1em;
  color: #555555;
}

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

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

  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__hero-section {
    padding: 60px 15px;
  }

  .page-about__content-area {
    padding: 40px 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__paragraph {
    font-size: 0.95em;
  }

  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-about__hero-buttons, .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__hero-image, .page-about__image {
    max-width: 100%;
    height: auto;
  }

  .page-about__game-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__hero-section {
    padding: 40px 10px;
  }

  .page-about__content-area {
    padding: 30px 10px;
  }

  .page-about__hero-buttons, .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-about__button {
    width: 100%;
    text-align: center;
  }
}

/* Ensure content area images are not too small on mobile */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}