.page-about {
  color: #ffffff; /* Body background is dark, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.page-about__btn-primary {
  background: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: 2px solid #26A9E0;
}

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

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

.page-about__section-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Main brand color */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__section-subtitle {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-about__card {
  background: rgba(255, 255, 255, 0.08); /* Translucent white background for dark body */
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-about__card-title {
  font-size: 1.8em;
  color: #26A9E0; /* Main brand color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

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

.page-about__dark-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  padding: 60px 20px;
}

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

.page-about__value-item {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__value-title {
  font-size: 1.5em;
  color: #26A9E0; /* Main brand color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__value-text {
  font-size: 0.95em;
  color: #cccccc;
}

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

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

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

.page-about__feature-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-about__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__responsible-image {
  flex: 1 1 400px;
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__responsible-text-block {
  flex: 1 1 400px;
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-about__responsible-text-block p {
  margin-bottom: 20px;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0; /* Main brand color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: 2px solid #26A9E0;
}

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

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

.page-about__benefit-item {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-about__benefit-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-about__faq-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Darker background for FAQ section */
}

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

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Question text in brand color */
}

.page-about__faq-qtext a {
  color: #26A9E0; /* Links inside FAQ questions */
  text-decoration: underline;
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.7;
}

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

.page-about__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.text-highlight {
  color: #EA7C07; /* Highlight color for important keywords */
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-about__hero-image,
  .page-about__responsible-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__content-area,
  .page-about__dark-section,
  .page-about__faq-section {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__description {
    font-size: 1em;
  }

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

  .page-about__section-subtitle {
    font-size: 1em;
  }

  .page-about__grid-container,
  .page-about__values-grid,
  .page-about__feature-grid,
  .page-about__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__responsible-content {
    flex-direction: column;
  }

  .page-about__responsible-image,
  .page-about__responsible-text-block {
    flex: 1 1 100%;
    width: 100%;
  }

  .page-about__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px;
  }

  .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: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px; /* Add margin for stacked buttons */
  }

  .page-about__cta-bottom .page-about__btn-primary {
    margin-bottom: 0; /* Last button in a group */
  }

  .page-about__hero-content .page-about__btn-primary {
    margin-bottom: 0; /* Hero button */
  }

  .page-about__responsible-text-block .page-about__btn-secondary {
    margin-bottom: 0; /* Responsible gaming button */
  }

  .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-section,
  .page-about__mission-vision,
  .page-about__core-values,
  .page-about__security-fairness,
  .page-about__responsible-gaming,
  .page-about__why-choose-us,
  .page-about__faq-section,
  .page-about__grid-container,
  .page-about__values-grid,
  .page-about__feature-grid,
  .page-about__benefits-grid,
  .page-about__faq-list,
  .page-about__cta-bottom,
  .page-about__responsible-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-about__value-item,
  .page-about__feature-item,
  .page-about__benefit-item {
    padding: 20px;
  }

  .page-about__card-image {
    max-height: 200px;
  }

  .page-about__feature-image {
    max-height: 150px;
  }

  .page-about__responsible-image {
    max-height: 300px;
  }
}

/* Ensure min-size for images in content area, not affecting logo/icons */
.page-about__content-area img,
.page-about__card img,
.page-about__feature-item img,
.page-about__responsible-gaming img,
.page-about__why-choose-us img {
  min-width: 200px;
  min-height: 200px;
}

/* Text colors for contrast */
.page-about__light-bg {
  color: #333333; /* Darker text on light background */
  background: #ffffff;
}

.page-about__dark-bg {
  color: #ffffff; /* Light text on dark background */
  background: #26A9E0;
}

/* Default text color for page-about main content */
.page-about p, .page-about li {
  color: #e0e0e0; /* Slightly off-white for better readability on dark background */
}

.page-about h1, .page-about h2, .page-about h3, .page-about h4, .page-about h5, .page-about h6 {
  color: #FFFFFF; /* Default headings to white on dark body */
}

.page-about__section-title {
  color: #26A9E0; /* Specific titles in brand color */
}

.page-about__card-title,
.page-about__value-title,
.page-about__feature-title,
.page-about__benefit-title {
  color: #26A9E0; /* Specific card/feature titles in brand color */
}