/* General styles for page-faq */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Body background from shared */
  padding-bottom: 50px;
}

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

/* Hero Section */
.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  background-color: #08160F; /* Background color from custom palette */
  text-align: center;
}

.page-faq__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.page-faq__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
}

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

.page-faq__hero-text-block {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-faq__intro-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #11A84E; /* Primary color */
  border: 2px solid #11A84E; /* Primary color for border */
}

.page-faq__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  transform: translateY(-2px);
}

/* Content Section */
.page-faq__content-section {
  padding: 60px 0;
  background-color: #08160F; /* Background color */
}

.page-faq__dark-section {
    background-color: #08160F; /* Background color */
    color: #F2FFF6; /* Text Main */
}

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

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

/* FAQ List */
.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

details.page-faq__faq-item {
  margin-bottom: 0; /* Gap handled by flex gap */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border color */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  position: relative;
}

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

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #1e3a2a; /* Slightly darker Card BG on hover */
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-faq__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #57E38D; /* Glow color */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

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

.page-faq__inline-link {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
    color: #2AD16F;
    text-decoration: underline;
}

.page-faq__contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-faq__game-cta {
    margin-top: 20px;
    text-align: center;
}

/* CTA Bottom Section */
.page-faq__cta-bottom-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

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

/* Info Banner Section */
.page-faq__info-banner {
    padding: 60px 0;
    background-color: #08160F; /* Background color */
}

.page-faq__info-banner .page-faq__container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.page-faq__info-card {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-faq__info-image {
    width: 100%;
    max-width: 300px; /* Example size for content images */
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-faq__info-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-faq__info-card-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__hero-content-wrapper {
        gap: 20px;
    }
    .page-faq__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-faq__intro-description {
        font-size: 1rem;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-faq__faq-qtext {
        font-size: 1rem;
    }
    .page-faq__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
    }
    .page-faq__info-card {
        max-width: 320px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-faq {
        padding-bottom: 30px;
    }
    .page-faq__container {
        padding: 0 15px;
    }
    .page-faq__hero-section {
        padding-top: 10px; /* Small top padding, body handles header offset */
        padding-bottom: 30px;
    }
    .page-faq__hero-image img {
        object-fit: contain !important; /* Mobile: contain to avoid cropping */
        aspect-ratio: unset !important; /* Reset aspect ratio */
        border-radius: 5px;
    }
    .page-faq__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        text-align: center;
    }
    .page-faq__intro-description {
        font-size: 0.95rem;
        text-align: center;
    }
    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to container */
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-faq__content-section {
        padding: 40px 0;
    }
    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        text-align: center;
    }
    .page-faq__section-subtitle,
    .page-faq__cta-description {
        font-size: 0.9rem;
        text-align: center;
    }

    details.page-faq__faq-item summary.page-faq__faq-question {
        padding: 15px 18px;
    }
    .page-faq__faq-qtext {
        font-size: 0.95rem;
    }
    .page-faq__faq-toggle {
        font-size: 22px;
        margin-left: 10px;
        width: 25px;
    }
    details.page-faq__faq-item .page-faq__faq-answer {
        padding: 0 18px 18px;
    }
    .page-faq__faq-answer p,
    .page-faq__faq-answer ol,
    .page-faq__faq-answer ul,
    .page-faq__faq-answer li {
        font-size: 0.9rem;
    }
    .page-faq__contact-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to container */
    }

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

    .page-faq__info-banner {
        padding: 40px 0;
    }
    .page-faq__info-banner .page-faq__container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .page-faq__info-card {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        padding: 20px;
    }
    .page-faq__info-image {
        max-width: 250px;
    }
    .page-faq__info-card-title {
        font-size: 1.3rem;
    }
    .page-faq__info-card-text {
        font-size: 0.9rem;
    }

    /* Generic image and container responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__hero-content-wrapper,
    .page-faq__hero-text-block,
    .page-faq__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by specific elements or .page-faq__container */
    }
}