.page-about-us {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-about-us__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background: linear-gradient(135deg, #26A9E0 0%, #007bff 100%); /* Brand color gradient */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.page-about-us__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-about-us__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about-us__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-about-us__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

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

.page-about-us__btn-primary,
.page-about-us__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box;
  text-align: center;
}

.page-about-us__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about-us__btn-primary:hover {
  background: #d46a00;
  border-color: #d46a00;
}

.page-about-us__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-about-us__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-about-us__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about-us__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about-us__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

.page-about-us__light-bg {
  background-color: #f8f9fa;
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-about-us__vision-mission .page-about-us__section-title {
  color: #333333;
}

.page-about-us__vision-mission .page-about-us__section-subtitle {
  color: #555555;
}

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

.page-about-us__grid-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-about-us__grid-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about-us__grid-text {
  font-size: 1em;
  color: #555555;
}

.page-about-us__why-choose .page-about-us__section-title,
.page-about-us__why-choose .page-about-us__section-subtitle {
  color: #ffffff;
}

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

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

.page-about-us__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-about-us__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust for better icon appearance */
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-about-us__feature-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-about-us__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-about-us__our-games .page-about-us__section-title,
.page-about-us__our-games .page-about-us__section-subtitle {
  color: #333333;
}

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

.page-about-us__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about-us__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-about-us__game-title {
  font-size: 1.5em;
  padding: 15px 20px 5px;
}

.page-about-us__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-about-us__game-description {
  font-size: 0.9em;
  padding: 0 20px 20px;
  color: #555555;
}

.page-about-us__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-about-us__responsible-gaming .page-about-us__section-title,
.page-about-us__responsible-gaming .page-about-us__section-subtitle {
  color: #ffffff;
}

.page-about-us__responsible-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about-us__responsible-text {
  flex: 1;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about-us__responsible-text p {
  margin-bottom: 20px;
}

.page-about-us__responsible-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about-us__responsible-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-about-us__faq-section .page-about-us__section-title,
.page-about-us__faq-section .page-about-us__section-subtitle {
  color: #333333;
}

.page-about-us__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about-us__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

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

.page-about-us__faq-question:hover {
  background-color: #f0f0f0;
}

.page-about-us__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-about-us__faq-item.active .page-about-us__faq-toggle {
  transform: rotate(45deg); /* Plus becomes an X-like shape */
}

.page-about-us__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
}

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

.page-about-us__contact-cta .page-about-us__section-title,
.page-about-us__contact-cta .page-about-us__section-subtitle {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about-us__hero-title {
    font-size: 2.8em;
  }
  .page-about-us__section-title {
    font-size: 2em;
  }
  .page-about-us__hero-description {
    font-size: 1.1em;
  }
  .page-about-us__responsible-content {
    flex-direction: column;
    text-align: center;
  }
  .page-about-us__responsible-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about-us__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space below fixed header on mobile */
  }
  .page-about-us__hero-title {
    font-size: 2.2em;
  }
  .page-about-us__hero-description {
    font-size: 1em;
  }
  .page-about-us__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about-us__btn-primary,
  .page-about-us__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about-us__container {
    padding: 30px 15px;
  }
  .page-about-us__section-title {
    font-size: 1.8em;
  }
  .page-about-us__section-subtitle {
    font-size: 0.95em;
  }
  .page-about-us__grid-item, .page-about-us__feature-card, .page-about-us__game-card {
    padding: 20px;
  }
  .page-about-us__feature-icon {
    max-width: 120px;
  }
  .page-about-us__feature-title {
    font-size: 1.4em;
  }
  .page-about-us__game-title {
    font-size: 1.3em;
  }
  .page-about-us__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-about-us__faq-answer {
    padding: 0 15px;
  }
  .page-about-us__faq-item.active .page-about-us__faq-answer {
    padding: 10px 15px 15px;
  }

  /* Mobile image responsiveness */
  .page-about-us img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about-us__hero-image-wrapper,
  .page-about-us__responsible-image-wrapper,
  .page-about-us__feature-card,
  .page-about-us__game-card,
  .page-about-us__grid-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about-us__cta-buttons,
  .page-about-us__button-group,
  .page-about-us__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;
  }
  .page-about-us__cta-buttons {
    flex-direction: column;
  }
  .page-about-us__responsible-image {
    padding: 0 15px;
  }
}