/* style/faq.css */
/* Body background from shared.css: var(--background-color) which is #08160F (dark) */
/* Therefore, text colors are light: #F2FFF6 (Text Main) and #A7D9B8 (Text Secondary) */

.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for the page */
  background-color: #08160F; /* Ensure consistency with body background if not set by shared.css */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background: linear-gradient(180deg, #08160F 0%, #11271B 100%); /* Dark gradient for hero */
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  order: 1; /* Image first */
}

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

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  order: 2; /* Content second */
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main for button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-faq__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #2AD16F; /* Brand color */
  border: 2px solid #2AD16F;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-faq__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
}

.page-faq__section {
  padding: 60px 20px;
  background-color: #08160F;
  position: relative;
  overflow: hidden;
}

.page-faq__section:nth-of-type(odd) {
  background-color: #11271B; /* Card BG for alternating sections */
}

.page-faq__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Ensure light text on dark background */
}

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

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

.page-faq__text-main {
  color: #F2FFF6;
}

.page-faq__text-secondary {
  color: #A7D9B8;
}

.page-faq__faq-list {
  display: grid;
  gap: 20px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  position: relative;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

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

.page-faq__faq-answer a {
  margin-top: 10px;
}

.page-faq__image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-faq__gaming-image-wrapper,
.page-faq__security-image-wrapper,
.page-faq__promo-image-wrapper,
.page-faq__support-image-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__gaming-image,
.page-faq__security-image,
.page-faq__promo-image,
.page-faq__support-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-faq__conclusion-section .page-faq__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-faq__section:nth-of-type(even) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
  }

  .page-faq__section:nth-of-type(odd):not(.page-faq__hero-section):not(.page-faq__conclusion-section) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .page-faq__section:nth-of-type(even) .page-faq__container,
  .page-faq__section:nth-of-type(odd):not(.page-faq__hero-section):not(.page-faq__conclusion-section) .page-faq__container {
    flex: 1;
  }

  .page-faq__section:nth-of-type(even) .page-faq__image-wrapper,
  .page-faq__section:nth-of-type(odd):not(.page-faq__hero-section):not(.page-faq__conclusion-section) .page-faq__image-wrapper {
    flex: 1;
    margin-top: 0;
  }
}

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

  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-faq__description {
    font-size: 1em;
  }

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

  .page-faq__hero-content .page-faq__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .page-faq__section {
    padding: 40px 15px;
  }

  .page-faq__container {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-faq__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }

  .page-faq__faq-answer {
    padding: 0 15px 15px 15px;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__image-wrapper,
  .page-faq__hero-image-wrapper,
  .page-faq__gaming-image-wrapper,
  .page-faq__security-image-wrapper,
  .page-faq__promo-image-wrapper,
  .page-faq__support-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-faq__conclusion-section .page-faq__description {
    padding: 0 15px;
  }
}