.page-faq {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-faq__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for readability */
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 80%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

.page-faq__button--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-faq__button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-faq__button--secondary:hover {
  background-color: #6a0000;
  color: #e6c200;
  border-color: #e6c200;
}

.page-faq__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  margin-top: 15px;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content area */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly distinct background for each FAQ item */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-faq__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-faq__faq-answer {
  padding: 20px 25px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-faq__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #e6c200;
}

.page-faq__game-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.page-faq__game-img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-faq__game-img:hover {
  transform: translateY(-5px);
}

.page-faq__security-image {
  width: 800px;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-section {
  background-color: #8B0000;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-faq__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }

  .page-faq__hero-description {
    font-size: 1.1em;
  }

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

  .page-faq__faq-question {
    font-size: 1.2em;
  }

  .page-faq__faq-answer {
    font-size: 1em;
  }

  .page-faq__cta-title {
    font-size: 2.4em;
  }

  .page-faq__cta-description {
    font-size: 1.2em;
  }

  .page-faq__game-img, .page-faq__security-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Constrain max width for larger screens */
  }
}

@media (max-width: 768px) {
  .page-faq__hero-content {
    padding: 20px 30px;
    max-width: 90%;
  }

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

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

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__button {
    width: 100%;
    max-width: 300px;
  }

  .page-faq__content-area {
    margin: 30px auto;
    padding: 25px 15px;
  }

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

  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-faq__faq-question::after {
    right: 20px;
    font-size: 1.3em;
  }

  .page-faq__faq-answer {
    padding: 15px 20px 20px;
    font-size: 0.95em;
  }

  .page-faq__game-images {
    flex-direction: column;
    align-items: center;
  }

  .page-faq__game-img, .page-faq__security-image {
    max-width: 100%; /* Important for mobile overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  .page-faq__cta-section {
    padding: 40px 15px;
  }

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

  .page-faq__cta-description {
    font-size: 1.1em;
  }

  .page-faq__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all images within .page-faq do not cause horizontal scroll */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-faq__hero-description {
    font-size: 0.9em;
  }

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

  .page-faq__faq-question {
    font-size: 1em;
  }

  .page-faq__faq-answer {
    font-size: 0.9em;
  }

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

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