/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(17, 39, 27, 0.7); /* Card B G with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-faq__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

/* Call to action button */
.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-faq__cta-button--small {
  padding: 12px 25px;
  font-size: 0.95rem;
}

.page-faq__cta-button--large {
  padding: 18px 35px;
  font-size: 1.1rem;
}

/* FAQ List Section */
.page-faq__section {
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__faq-category {
  margin-bottom: 40px;
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-faq__category-title {
  font-size: 2rem;
  color: #2AD16F; /* Main Green */
  margin-bottom: 25px;
  border-bottom: 2px solid #2E7A4E; /* Border */
  padding-bottom: 15px;
}

.page-faq__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #1E3A2A; /* Divider */
  padding-bottom: 15px;
}

.page-faq__faq-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  padding: 15px 0;
  transition: color 0.3s ease;
  list-style: none;
}

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

.page-faq__faq-question:hover {
  color: #2AD16F; /* Main Green */
}

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

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #2AD16F; /* Main Green */
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 10px 0 15px 0;
  line-height: 1.7;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Final CTA Section */
.page-faq__cta-final {
  text-align: center;
  padding: 50px 20px;
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-faq__cta-final-title {
  font-size: 2rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-faq__cta-final-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 30px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__category-title {
    font-size: 1.7rem;
  }
  .page-faq__faq-question {
    font-size: 1.15rem;
  }
  .page-faq__faq-answer {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-faq__hero-content {
    padding: 20px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-faq__intro-text {
    font-size: 1rem;
  }
  .page-faq__cta-button {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }
  .page-faq__section {
    padding: 40px 0;
  }
  .page-faq__container {
    padding: 0 15px;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
  }
  .page-faq__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-faq__faq-category {
    padding: 20px;
  }
  .page-faq__category-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .page-faq__faq-question {
    font-size: 1.05rem;
    padding: 12px 0;
  }
  .page-faq__faq-toggle {
    font-size: 1.5rem;
  }
  .page-faq__faq-answer {
    font-size: 0.95rem;
    padding: 8px 0 12px 0;
  }
  .page-faq__image-inline {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__cta-final {
    padding: 30px 15px;
  }
  .page-faq__cta-final-title {
    font-size: 1.6rem;
  }
  .page-faq__cta-final-text {
    font-size: 1rem;
  }
  .page-faq__cta-final .page-faq__cta-button--large {
    font-size: 1rem !important;
    padding: 15px 25px !important;
  }
  .page-faq__list-methods, .page-faq__list-timing, .page-faq__list-steps, .page-faq__list-games, .page-faq__list-promotions, .page-faq__list-terms, .page-faq__list-contact, .page-faq__list-responsible {
    margin-left: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-content {
    padding: 15px;
  }
  .page-faq__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-faq__intro-text {
    font-size: 0.9rem;
  }
  .page-faq__section-title {
    font-size: 1.5rem;
  }
  .page-faq__category-title {
    font-size: 1.3rem;
  }
  .page-faq__faq-question {
    font-size: 1rem;
  }
  .page-faq__faq-answer {
    font-size: 0.9rem;
  }
  .page-faq__cta-final-title {
    font-size: 1.4rem;
  }
  .page-faq__cta-final-text {
    font-size: 0.9rem;
  }
}