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

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

.page-about__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Use var(--header-offset) for top padding if shared.css doesn't handle body padding */
  background: #000000; /* Dark background for hero */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-about__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

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

.page-about__mission-vision {
  padding: 80px 0;
  background: #0d0d0d;
  color: #ffffff;
}

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

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

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

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  background: rgba(38, 169, 224, 0.1);
}

.page-about__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-about__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__responsible-gambling {
  padding: 80px 0;
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

.page-about__cta-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #26A9E0, #1a7fb2); /* Brand color gradient */
  color: #ffffff;
  text-align: center;
}

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

.page-about__cta-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* Buttons */
.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;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

/* Card styles */
.page-about__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about__card-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background: #1a1a1a;
  color: #ffffff;
}

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

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

.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: rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-about__faq-title {
  margin: 0;
  color: #26A9E0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffffff;
  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: #f0f0f0;
}

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

/* Dark/Light Background Classes for Contrast */
.page-about__dark-section {
  background: #000000;
  color: #ffffff;
}

.page-about__light-bg {
  background: #1a1a1a;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: var(--header-offset, 120px) 20px 60px;
    min-height: 500px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__mission-vision-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__hero-cta-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    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;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__feature-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__faq-question,
  .page-about__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__feature-title {
    font-size: 1.4em;
  }
}