.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  overflow: hidden;
  color: #ffffff; /* Light text for dark background */
  background: linear-gradient(135deg, #007bff, #0056b3); /* Primary color gradient */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Accent color for title */
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Subtle filter to make text stand out */
}

.page-about__section {
  padding: 80px 20px;
  color: #ffffff; /* Default light text for dark sections */
}

.page-about__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffc107; /* Accent color for section titles */
}

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

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

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__light-bg .page-about__card {
  background: #ffffff; /* White background for light sections */
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffc107; /* Accent color */
}

.page-about__light-bg .page-about__card-title {
  color: #007bff; /* Primary color */
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #007bff; /* Primary color background for icons */
  padding: 10px;
}

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

.page-about__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
}

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

.page-about__responsible-gaming .page-about__text-block {
  flex: 1;
  color: #333333;
}

.page-about__responsible-gaming .page-about__text-block p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05em;
  color: #333333;
}

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

.page-about__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__video-section {
  text-align: center;
  background-color: #0d0d0d; /* Darker background for video section */
  color: #ffffff;
}

.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 40px;
  border-radius: 10px;
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%;
}

.page-about__video-cta {
  margin-top: 20px;
}

.page-about__faq-section {
  background-color: #f8f9fa;
  color: #333333;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #007bff; /* Primary color for questions */
  transition: background-color 0.3s ease;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffc107; /* Accent color for toggle */
  transition: transform 0.3s ease;
}

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

.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 to show content */
  padding: 15px 25px 25px;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-about__cta-section {
  background: linear-gradient(45deg, #007bff, #0056b3); /* Primary color gradient */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffc107;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #ffc107; /* Accent color */
  color: #007bff; /* Primary color text */
  border: 2px solid #ffc107;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Accent color text */
  border: 2px solid #ffc107;
}

.page-about__btn-secondary:hover {
  background-color: #ffc107;
  color: #007bff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

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

  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
  }

  .page-about__responsible-gaming .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-about__responsible-gaming .page-about__text-block {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-about__hero-title {
    font-size: 2em;
  }

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__section {
    padding: 50px 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__cta-description {
    font-size: 1em;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .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__hero-image-wrapper,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-section,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-about__video-wrapper {
    padding-bottom: 56.25% !important; /* Keep aspect ratio */
    height: 0 !important;
  }

  .page-about__video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .page-about__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/* Global image rules for content area - minimum size */
.page-about__feature-icon,
.page-about__responsive-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter on images */
.page-about img {
  filter: none;
}

/* Color contrast safety for body background #121212 (dark) */
.page-about {
  color: #ffffff; /* Light text for dark body background */
}

.page-about__light-bg {
  color: #333333; /* Dark text for light background sections */
}

.page-about__light-bg h2,
.page-about__light-bg h3 {
  color: #007bff; /* Primary brand color for titles on light background */
}

.page-about__light-bg p,
.page-about__light-bg li {
  color: #555555; /* Slightly darker text for readability on light background */
}

.page-about__faq-question {
  color: #007bff; /* Primary brand color for FAQ questions */
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #007bff;
}

.page-about__faq-answer {
  color: #555555;
}