.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: var(--background-color, #0A0A0A); /* Background */
}

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

.page-about__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-top: var(--header-offset, 120px); /* Desktop: Ensure content is below fixed header */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #111111; /* Dark text for light gradient background */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content-wrapper {
  max-width: 800px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111111; /* Dark text for light gradient background */
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333333; /* Darker text for readability on light background */
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 2px solid #F2C14E;
}

.page-about__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
  line-height: 1.3;
}

.page-about__story-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #FFF6D6; /* Text Main */
}

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

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__mission-vision-section {
  padding: 80px 0;
}

.page-about__dark-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

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

.page-about__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF6D6; /* Text Main */
}

.page-about__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Primary color for titles */
}

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-about__feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
}

.page-about__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px #FFD36B); /* Glow */
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Primary color for titles */
}

.page-about__feature-item p {
  color: #FFF6D6; /* Text Main */
}

.page-about__cta-center {
  text-align: center;
}

.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

.page-about__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-about__responsible-gaming-section .page-about__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__responsible-gaming-section p {
  flex: 1;
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

.page-about__responsible-gaming-section a {
  color: #F2C14E;
  text-decoration: none;
}

.page-about__responsible-gaming-section a:hover {
  text-decoration: underline;
}

.page-about__responsible-gaming-section .page-about__content-image {
  flex: 1;
  max-width: 50%;
}

.page-about__partners-section {
  padding: 80px 0;
}

.page-about__partners-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
}

.page-about__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.page-about__partner-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.8) drop-shadow(0 0 5px rgba(255, 211, 107, 0.3)); /* Subtle glow */
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-about__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #FFF6D6; /* Text Main */
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-question h3 {
  margin: 0;
  color: #F2C14E; /* Primary color for FAQ questions */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E;
  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: #FFF6D6; /* Text Main */
}

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

.page-about__faq-answer p {
  margin-bottom: 10px;
  color: #FFF6D6; /* Text Main */
}

.page-about__faq-answer a {
  color: #FFD36B;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-description {
  font-size: 1.15em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__content-grid,
  .page-about__responsible-gaming-section .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-about__responsible-gaming-section .page-about__content-image {
    max-width: 80%;
    margin-top: 30px;
  }
}

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

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: Ensure content is below fixed header */
    padding-bottom: 40px;
  }

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

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-about__story-section,
  .page-about__mission-vision-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__partners-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__content-grid,
  .page-about__mission-grid,
  .page-about__features-grid {
    gap: 25px;
  }

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

  .page-about__feature-item,
  .page-about__card {
    padding: 25px;
  }

  .page-about__feature-icon {
    width: 150px;
    height: 150px;
  }

  .page-about__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    padding: 0 10px;
  }

  .page-about__partner-item {
    height: 90px;
    padding: 10px;
  }

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

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

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

  /* Force images to be responsive and prevent overflow */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__content-wrapper,
  .page-about__image-block,
  .page-about__text-block,
  .page-about__feature-item,
  .page-about__partner-item,
  .page-about__faq-item,
  .page-about__faq-question,
  .page-about__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Adding horizontal padding to container-like elements for mobile */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__faq-list {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__responsible-gaming-section .page-about__content-image {
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-about__hero-image {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

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

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

  .page-about__feature-icon {
    width: 120px;
    height: 120px;
  }

  .page-about__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-about__partner-item {
    width: 100%;
  }
}