.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;
    box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding for visual separation, body handles header offset */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

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

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

.page-faq__btn-secondary:hover {
    background-color: #11A84E;
    color: #F2FFF6; /* Text Main */
    transform: translateY(-2px);
}

/* Intro Section */
.page-faq__intro-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
    text-align: center;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1200px;
}

.page-faq__intro-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    margin-top: 30px;
}

.page-faq__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 25px;
    font-weight: 600;
}

.page-faq__section-description {
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ List Section */
.page-faq__faq-list-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-faq__faq-accordion {
    margin-top: 40px;
}

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

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    font-weight: 600;
    font-size: 1.15rem;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-faq__faq-question:hover {
    background-color: #1E3A2A; /* Divider */
}

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

.page-faq__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
    max-height: 1000px; /* Arbitrary large value to allow content to show */
    padding-top: 15px;
}

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

.page-faq__faq-answer ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

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

.page-faq__faq-answer .page-faq__btn-primary,
.page-faq__faq-answer .page-faq__btn-secondary {
    margin-top: 15px;
    font-size: 0.95rem;
    padding: 10px 20px;
}

/* Games Showcase Section */
.page-faq__games-showcase {
    text-align: center;
    margin: 60px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.page-faq__games-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Contact Section */
.page-faq__contact-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    margin: 40px auto 80px;
    max-width: 1200px;
}

.page-faq__contact-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-faq__hero-image {
        margin-bottom: 20px;
    }
    .page-faq__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-faq__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-faq__container {
        padding: 0 15px;
    }

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

    .page-faq__hero-content {
        padding: 0 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-faq__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    
    .page-faq__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-faq__intro-section,
    .page-faq__faq-list-section,
    .page-faq__contact-section {
        padding: 40px 0;
    }

    .page-faq__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .page-faq__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

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

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

    .page-faq__hero-section,
    .page-faq__intro-section,
    .page-faq__faq-list-section,
    .page-faq__contact-section,
    .page-faq__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Override for specific sections that have their own internal padding */
    .page-faq__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-faq__intro-image,
    .page-faq__games-image,
    .page-faq__contact-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-faq__games-showcase {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsive (if any, though not in this page content) */
    .page-faq video,
    .page-faq__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}

/* Ensure images don't have filter property */
.page-faq img {
    filter: none;
}