.page-about {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Default text color on dark background */
  background-color: #08160F; /* Main background color */
}

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

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

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #A7D9B8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-about a {
  color: #2AD16F;
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-about__btn--secondary:hover {
  background-color: #2AD16F;
  color: #08160F;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Space below content */
  background-color: #0A4B2C; /* Deep Green */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Layouts */
.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
}

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

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a row have equal height */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-about__card-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__card-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-about__card-title a:hover {
  color: #2AD16F;
  text-decoration: underline;
}

.page-about__card p {
  font-size: 0.95em;
  color: #A7D9B8;
  flex-grow: 1; /* Allow paragraph to take available space */
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  text-align: left;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
  list-style: none;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
}

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

/* Call to Action Section */
.page-about__section--call-to-action {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-about__section--call-to-action .page-about__section-title {
  color: #F2FFF6;
}

.page-about__section--call-to-action .page-about__section-description {
  color: #A7D9B8;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 3em);
  }

  .page-about__intro-text {
    font-size: 1.1em;
  }

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

  .page-about__content-wrapper:nth-child(even) {
    flex-direction: column;
  }

  .page-about__text-block,
  .page-about__image-block {
    min-width: unset;
    width: 100%;
  }
}

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

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

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

  .page-about p {
    font-size: 0.95em;
  }

  .page-about__hero-content {
    padding: 0 10px;
  }

  .page-about__main-title {
    font-size: clamp(1.5em, 8vw, 2.5em) !important;
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important;
  }

  .page-about__card-image {
    height: 180px;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__card,
  .page-about__container,
  .page-about__section,
  .page-about__cta-group,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }
}