.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

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

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

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

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-about__section-title--white {
  color: #FFFFFF;
}

.page-about__section-title--white::after {
  background-color: #FFFFFF;
}

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

.page-about__section-description--white {
  color: #F0F0F0;
}

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

.page-about__vision-mission-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl; /* For visual reversal */
}

.page-about__content-grid--reverse > div {
  direction: ltr; /* Reset direction for content */
}

.page-about__text-block {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.page-about__text-block-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

.page-about__why-image, .page-about__security-image, .page-about__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about__features-list {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-about__feature-item {
  background-color: #f0faff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid #26A9E0;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-about__our-games-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-about__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-about__game-card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-about__security-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-about__cta-section {
  padding: 100px 20px;
  background-color: #26A9E0;
  text-align: center;
  color: #ffffff;
}

.page-about__cta-section .page-about__container {
  padding: 0;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  color: #333333;
  font-weight: bold;
  background-color: #f0faff;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-about__faq-title {
  margin: 0;
  color: #26A9E0;
  font-size: 1.1em;
}

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

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

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

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-about__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .page-about__content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    height: 500px;
  }
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-about__container {
    padding: 30px 15px;
  }
  .page-about__vision-mission-section, .page-about__why-choose-us-section, .page-about__our-games-section, .page-about__security-section, .page-about__faq-section {
    padding: 50px 0;
  }

  /* Mobile responsive images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__image-wrapper, .page-about__game-card, .page-about__content-wrapper, .page-about__game-categories, .page-about__faq-list, .page-about__cta-section .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile responsive buttons */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .page-about__cta-buttons, .page-about__button-group, .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__text-block-title {
    font-size: 1.5em;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__game-card-title {
    font-size: 1.4em;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }
}