.page-about {
  color: #ffffff; /* Body background is dark (#1a1a1a), so text should be light */
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 120px 0 60px; /* Default desktop padding, header offset handled by shared or here if needed */
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)); /* Overlay for image */
}

.page-about__hero-section .page-about__container {
  position: relative;
  z-index: 2;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Use bright color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFFF00; /* Use bright color for emphasis */
  font-weight: bold;
}

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

.page-about__intro-section, .page-about__responsible-gaming-section, .page-about__faq-section {
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Maintain dark background as per shared.css */
  color: #ffffff; /* Light text for dark background */
}

.page-about__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-about__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__image-block {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-about__image-full {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

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

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

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

.page-about__feature-title {
  font-size: 1.8em;
  color: #FFFF00; /* Highlight title */
  margin-bottom: 15px;
}

.page-about__feature-card p {
  color: #f0f0f0;
}

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

.page-about__btn-primary {
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Custom font color */
  border: 2px solid #FFFF00;
}

.page-about__btn-secondary:hover {
  background: #FFFF00;
  color: #017439;
}

.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.page-about__faq-item[open] > .page-about__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__faq-qtext {
  flex-grow: 1;
  color: #FFFF00;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #FFFF00;
}

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

.page-about__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)); /* Overlay for image */
}

.page-about__cta-section .page-about__container {
  position: relative;
  z-index: 2;
}

.page-about__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

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

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

  .page-about__image-block {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    padding-bottom: 40px;
  }

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

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__hero-buttons, .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary, .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-about__intro-section, .page-about__responsible-gaming-section, .page-about__faq-section, .page-about__dark-section, .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__text-block p {
    font-size: 1em;
  }

  .page-about__image, .page-about__image-full {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-about__feature-title {
    font-size: 1.5em;
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-about__faq-answer {
    font-size: 1em;
    padding: 15px;
  }
  
  .page-about__hero-section, .page-about__intro-section, .page-about__responsible-gaming-section, .page-about__faq-section, .page-about__dark-section, .page-about__cta-section, .page-about__hero-buttons, .page-about__cta-buttons, .page-about__content-grid, .page-about__image-block, .page-about__text-block, .page-about__features-grid, .page-about__feature-card, .page-about__faq-list, .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
}