.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__section-padding {
  padding: 60px 0;
}

.page-about__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-about__text-center {
  text-align: center;
}

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

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__section-description {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__section-description--light {
  color: #ffffff;
}

.page-about__sub-title {
  font-size: 24px;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

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

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

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

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-about__btn-link {
  background-color: #0A2463;
  color: #ffffff;
  border: 1px solid #0A2463;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

.page-about__btn-link:hover {
  background-color: #FFD700;
  color: #0A2463;
  border-color: #FFD700;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about__image--center {
  display: block;
  margin: 0 auto 30px auto;
}

.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: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
}

.page-about__card-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__value-card p {
  color: #f0f0f0;
}

.page-about__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #FFD700;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.page-about__timeline-item {
  padding: 10px 0;
  position: relative;
  width: 50%;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
  text-align: left;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: #0A2463;
  border: 2px solid #FFD700;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.page-about__timeline-item:nth-child(even)::after {
  left: -8px;
}

.page-about__timeline-year {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 5px;
}

.page-about__timeline-event {
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-about__team-member {
  background-color: #0A2463;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FFD700;
}

.page-about__member-name {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 15px;
  color: #cccccc;
}

.page-about__security-list,
.page-about__support-list,
.page-about__responsibility-list {
  list-style: none;
  padding: 0;
}

.page-about__security-list li,
.page-about__support-list li,
.page-about__responsibility-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__list-item-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-about__security-list li p,
.page-about__support-list li p {
  color: #f0f0f0;
}

.page-about__list--light li p {
  color: #f0f0f0;
}

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

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

.page-about__game-card:hover {
  transform: translateY(-10px);
}

.page-about__game-card p {
  color: #cccccc;
  margin-bottom: 15px;
}

.page-about__card-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
}

.page-about__card-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

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

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

.page-about__faq-item {
  background-color: #0A2463;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #0A2463;
  color: #FFD700;
  font-weight: bold;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question:hover {
  background-color: #1a3a7a;
}

.page-about__faq-title {
  margin: 0;
  color: #FFD700;
  font-size: 18px;
}

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

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

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

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

/* Responsive styles */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 40px;
  }

  .page-about__hero-description {
    font-size: 18px;
  }

  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid--reverse {
    flex-direction: column-reverse;
  }

  .page-about__timeline::before {
    left: 15px;
  }

  .page-about__timeline-item {
    width: 100%;
    padding-left: 40px;
    padding-right: 15px;
    text-align: left;
  }

  .page-about__timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 15px;
    text-align: left;
  }

  .page-about__timeline-item::after {
    left: 8px;
  }
}

@media (max-width: 768px) {
  .page-about__section-padding {
    padding: 40px 0;
  }

  .page-about__hero-section {
    min-height: 500px;
  }

  .page-about__hero-title {
    font-size: 32px;
  }

  .page-about__hero-description {
    font-size: 16px;
  }

  .page-about__section-title {
    font-size: 28px;
  }

  .page-about__section-description {
    font-size: 16px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-about__hero-cta,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .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__content-grid,
  .page-about__team-grid,
  .page-about__games-grid,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing if not handled by shared body */
  }

  .page-about__faq-question {
    font-size: 16px;
  }

  .page-about__faq-title {
    font-size: 16px;
  }

  .page-about__faq-answer {
    padding: 0 15px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
}