/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text for dark body background */
  background-color: #000000; /* Ensure body background is respected */
}

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

.page-about__hero-section {
  position: relative;
  padding: 120px 0 80px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin: 0 10px;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  margin: 0 10px;
}

.page-about__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

/* Intro Section */
.page-about__intro-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background for content */
  color: #333333; /* Dark text for light background */
}

.page-about__intro-section .page-about__section-title,
.page-about__intro-section .page-about__section-description {
  color: #000000; /* Ensure dark text on light background */
}

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

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

.page-about__text-block p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

.page-about__image-block {
  flex: 1;
  text-align: center;
}

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

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__values-section .page-about__section-title,
.page-about__values-section .page-about__section-description {
  color: #FFFFFF;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFFFFF;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-about__value-card .page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-about__value-card p {
  font-size: 1em;
  color: #f0f0f0;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__commitment-section .page-about__section-title,
.page-about__commitment-section .page-about__section-description {
  color: #000000;
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-about__list-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__list-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #26A9E0;
  font-weight: bold;
}

.page-about__list-item p {
  font-size: 1.05em;
  color: #555555;
}

.page-about__cta-block {
  text-align: center;
  margin-top: 60px;
}

.page-about__cta-block p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333;
}

/* Games Overview Section */
.page-about__games-overview {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__games-overview .page-about__section-title,
.page-about__games-overview .page-about__section-description {
  color: #FFFFFF;
}

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

.page-about__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFFFFF;
}

.page-about__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-about__game-card .page-about__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__game-card .page-about__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__game-card .page-about__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__game-card .page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__game-card p {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__faq-section .page-about__section-title {
  color: #000000;
}

.page-about__faq-list {
  margin-top: 50px;
}

.page-about__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-question h3 {
  margin: 0;
  color: #333333;
}

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

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

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
  padding-top: 0;
}

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

/* Final CTA Section */
.page-about__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
  color: #FFFFFF;
}

.page-about__cta-final-section .page-about__section-title,
.page-about__cta-final-section .page-about__section-description {
  color: #FFFFFF;
}

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

/* Dark background text color */
.page-about__dark-bg {
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__section-description {
  color: #ffffff;
}

/* Light background text color */
.page-about__light-bg {
  color: #333333;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__section-description {
  color: #000000;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-wrapper {
    flex-direction: column;
  }
  .page-about__text-block, .page-about__image-block {
    flex: none;
    width: 100%;
  }
  .page-about__values-grid, .page-about__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 80px 0 60px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-description {
    font-size: 0.95em;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__intro-section,
  .page-about__values-section,
  .page-about__commitment-section,
  .page-about__games-overview,
  .page-about__faq-section,
  .page-about__cta-final-section {
    padding: 50px 0;
  }
  .page-about__value-card, .page-about__game-card {
    padding: 20px;
  }
  .page-about__faq-question {
    padding: 15px;
    font-size: 1em;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
  .page-about p,
  .page-about li {
    font-size: 15px;
  }
  .page-about__list-title {
    font-size: 1.5em;
  }
  .page-about__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__values-grid,
  .page-about__games-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__game-card .page-about__image {
    height: 150px;
  }
}

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