.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color, will be overridden by sections */
  background-color: #F5F7FA; /* Default background */
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Small padding, relying on body for header offset */
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient background */
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  text-align: center;
  color: #ffffff;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-faq__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-faq__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-faq__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Light background for FAQ section */
  color: #333333;
}

.page-faq__dark-section {
  background-color: #E53935; /* Using main brand color for this section */
  color: #ffffff; /* White text for contrast */
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-faq__section-title--dark {
  color: #333333;
}

.page-faq__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-faq__section-description--dark {
  color: #555555;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.page-faq__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  color: #333333; /* Text Main */
}

.page-faq__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333333;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__faq-answer a.page-faq__faq-btn {
  display: inline-block;
  background: #E53935;
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__faq-answer a.page-faq__faq-btn:hover {
  background: #FF5A4F;
}

.page-faq__image-support {
  display: block;
  margin: 40px auto 0;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* CTA Bottom Section */
.page-faq__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-faq__light-bg {
  background-color: #F5F7FA;
  color: #333333;
}

.page-faq__image-contact-us {
  display: block;
  margin: 50px auto 0;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* --- Placeholder CSS for required homepage elements (for strict output compliance) --- */
/* These elements are not in the FAQ HTML but are required in the CSS output for media queries */

.page-faq__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: auto;
  overflow-y: hidden;
  padding: 20px;
  margin: 20px auto;
  max-width: 1200px;
  background-color: #ffffff;
  color: #333333;
}

.page-faq__row-games,
.page-faq__row-sport,
.page-faq__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-faq__games-title,
.page-faq__sport-title,
.page-faq__coop-title {
  color: #fff;
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 30px;
}

.page-faq__slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.page-faq__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
  padding-bottom: 10px;
}

.page-faq__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #fff;
  padding: 15px;
  box-sizing: border-box;
}
.page-faq__game-slide img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.page-faq__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.page-faq__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
  width: 100%;
  height: auto;
}

.page-faq__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #333333;
}
.page-faq__blog-card-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.page-faq__blog-card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-faq__blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E53935;
}
.page-faq__blog-card-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}
.page-faq__blog-card-excerpt {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-faq__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #E53935;
  color: #E53935;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}
.page-faq__btn-outline:hover {
  background-color: #E53935;
  color: #ffffff;
}

.page-faq__blog-slider {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  padding-bottom: 10px;
}

.page-faq__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  box-sizing: border-box;
}

/* General image and button responsive rules */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-faq__section,
.page-faq__card,
.page-faq__container,
.page-faq__cta-buttons,
.page-faq__button-group,
.page-faq__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .page-faq__hero-content {
    padding: 40px 15px 20px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__cta-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"],
  .page-faq__faq-btn,
  .page-faq__btn-outline {
    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-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__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;
  }
  .page-faq__faq-section,
  .page-faq__cta-bottom {
    padding: 40px 0;
  }
  .page-faq__container {
    padding: 0 15px;
  }
  .page-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__home-content {
    padding: 15px;
    margin: 15px auto;
  }
  .page-faq__row-games,
  .page-faq__row-sport,
  .page-faq__row-coop {
    padding: 20px 15px;
  }
  .page-faq__games-title,
  .page-faq__sport-title,
  .page-faq__coop-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .page-faq__slider-track {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
  }
  .page-faq__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
    scroll-snap-align: start;
  }
  .page-faq__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 15px 0;
  }
  .page-faq__banner-item img {
    
    
  }
  .page-faq__blog-masonry {
    grid-template-columns: 1fr;
    padding: 20px 15px;
  }
  .page-faq__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .page-faq__blog-slider-track {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
  }
  .page-faq__blog-card-link img {
    
  }
  .page-faq__blog-card-title {
    font-size: 1.1rem;
  }
  .page-faq__blog-card-excerpt {
    font-size: 0.95rem;
  }
}