.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-about__dark-section {
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Main brand color */
  background-image: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.9));
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Register/Login font color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  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, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom Register/Login button color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #ff3333;
  border-color: #ff3333;
}

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Main brand color */
  border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-about__introduction-section,
.page-about__game-ecosystem-section,
.page-about__customer-experience-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Ensure dark background for light text */
  color: #ffffff;
}

.page-about__security-section,
.page-about__opportunities-section {
  padding: 80px 0;
}

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

.page-about__content-grid--reversed {
  grid-template-columns: 1fr 1fr;
}

.page-about__content-grid--reversed .page-about__image-wrapper {
  order: 2;
}

.page-about__content-grid--reversed .page-about__text-block {
  order: 1;
}

.page-about__text-block h3 {
  font-size: 2em;
  color: #FFFF00; /* Emphasize headings */
  margin-bottom: 15px;
}

.page-about__text-block p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-about__text-block a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-about__text-block a:hover {
  color: #ffffff;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

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

.page-about__feature-card,
.page-about__experience-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-about__feature-icon,
.page-about__experience-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page-about__feature-title,
.page-about__experience-item h3 {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-about__feature-card p,
.page-about__experience-item p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__feature-card a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-about__feature-card a:hover {
  color: #ffffff;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Ensure dark background for light text */
  color: #ffffff;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

.page-about__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid--reversed .page-about__image-wrapper {
    order: 1;
  }
  .page-about__content-grid--reversed .page-about__text-block {
    order: 2;
  }
  .page-about__hero-buttons {
    flex-direction: column;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__why-choose-section,
  .page-about__game-ecosystem-section,
  .page-about__security-section,
  .page-about__customer-experience-section,
  .page-about__opportunities-section,
  .page-about__faq-section {
    padding: 60px 0;
  }
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure fixed header offset on mobile */
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-subtitle {
    font-size: 1em;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__image-wrapper,
  .page-about__hero-buttons,
  .page-about__features-grid,
  .page-about__experience-grid,
  .page-about__faq-list,
  .page-about__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-about__text-block h3 {
    font-size: 1.5em;
  }
  .page-about__text-block p {
    font-size: 1em;
  }
  .page-about__feature-icon,
  .page-about__experience-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__feature-title,
  .page-about__experience-item h3 {
    font-size: 1.3em;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
  }
  .page-about__text-block h3 {
    font-size: 1.3em;
  }
  .page-about__text-block p {
    font-size: 0.95em;
  }
  .page-about__feature-title,
  .page-about__experience-item h3 {
    font-size: 1.1em;
  }
  .page-about__faq-question {
    font-size: 0.95em;
  }
}