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

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

.page-about__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  color: #F2C14E; /* Main color */
  margin-bottom: 40px;
  padding-top: 20px;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* For fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%); /* Dark gradient */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content-wrapper {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
  margin-bottom: 40px; /* Space between text and image */
}

.page-about__hero-title {
  font-weight: 800;
  color: #F2C14E; /* Main color */
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive font size */
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Dark Section Styling */
.page-about__dark-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

.page-about__dark-section--gradient {
  background: linear-gradient(135deg, #111111 0%, #0A0A0A 100%);
  padding: 60px 0;
}

/* Story Section */
.page-about__story-section .page-about__section-title {
  color: #FFD36B;
}

.page-about__story-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.page-about__story-content .page-about__text-block {
  flex: 1;
  min-width: 300px;
}

.page-about__story-content p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

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

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

.page-about__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-about__feature-item p {
  color: #FFF6D6;
}

/* Games Section */
.page-about__games-section .page-about__section-title {
  color: #F2C14E;
}

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

.page-about__game-category-card {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__category-icon {
  width: 30px; /* Allowed small size */
  height: 30px; /* Allowed small size */
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(242, 193, 78, 0.5));
}

.page-about__category-title {
  font-size: 1.4em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-about__game-category-card p {
  color: #FFF6D6;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-about__content-wrapper--split .page-about__text-block {
  flex: 2;
  min-width: 300px;
}

.page-about__content-wrapper--split .page-about__image-block {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-about__link {
  color: #F2C14E; /* Main color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #FFD36B; /* Auxiliary color on hover */
}

/* Partners & Tech Section */
.page-about__partners-tech-section .page-about__section-title {
  color: #FFD36B;
}

.page-about__partners-tech-section .page-about__content-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.page-about__partners-tech-section .page-about__text-block {
  flex: 2;
  min-width: 300px;
}

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

.page-about__partner-logo {
  width: 167px; /* Fixed size */
  height: 127px; /* Fixed size */
  object-fit: contain;
  filter: grayscale(100%) brightness(150%); /* Allowed stylistic filter for logos */
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.page-about__partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(100%);
}

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

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

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

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Auxiliary color */
  border: 2px solid #FFD36B; /* Border color */
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 211, 107, 0.1);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.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.2);
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color */
  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: #FFF6D6;
  background-color: #111111;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
}

@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: controlled by shared */
    padding-bottom: 40px;
  }

  .page-about__hero-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

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

  .page-about__hero-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-about__container {
    padding: 15px;
  }

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

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__story-content,
  .page-about__content-wrapper--split,
  .page-about__partners-tech-section .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__partners-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-about__feature-grid,
  .page-about__game-categories {
    grid-template-columns: 1fr;
  }

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

  /* Image responsiveness */
  .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__feature-item,
  .page-about__game-category-card,
  .page-about__content-wrapper,
  .page-about__content-wrapper--split,
  .page-about__partners-logo-grid,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button responsiveness */
  .page-about__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}