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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-about__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-about__hero-media {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-about__video {
  width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin: 10px;
}

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

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

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

/* Content Sections */
.page-about__mission-section,
.page-about__why-choose-us,
.page-about__game-variety,
.page-about__security-fairness,
.page-about__responsible-gambling,
.page-about__customer-support,
.page-about__future-vision,
.page-about__cta-section,
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__hero-title {
  color: #26A9E0;
}

.page-about__light-bg .page-about__section-description,
.page-about__light-bg p,
.page-about__light-bg li,
.page-about__light-bg .page-about__card-text {
  color: #333333;
}

.page-about__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than pure black for sections */
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title {
  color: #26A9E0;
}

.page-about__dark-bg .page-about__section-description,
.page-about__dark-bg p,
.page-about__dark-bg li,
.page-about__dark-bg .page-about__card-text {
  color: #f0f0f0;
}

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

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

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

.page-about__image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure images are not too small */
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Feature Grid */
.page-about__feature-grid,
.page-about__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about__feature-card,
.page-about__game-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for cards in dark sections */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-about__light-bg .page-about__feature-card,
.page-about__light-bg .page-about__game-card {
  background-color: #f8f8f8; /* Lighter background for cards in light sections */
  color: #333333;
}

.page-about__feature-card:hover,
.page-about__game-card:hover {
  transform: translateY(-5px);
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

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

.page-about__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__light-bg .page-about__card-text {
  color: #555555;
}

/* Support Channels */
.page-about__support-channels {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-about__support-item {
  flex-basis: calc(33.333% - 20px);
  max-width: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__support-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-about__support-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__mt-40 {
  margin-top: 40px;
}

/* CTA Buttons Group */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

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

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

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