.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Main text color for dark background */
    background-color: #08160F; /* Body background color */
}

/* Ensure all images are responsive by default */
.page-faq img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Soften edges */
    margin-bottom: 20px;
}

.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    box-sizing: border-box;
}

.page-faq__hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    gap: 30px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto; /* Ensure aspect ratio */
    object-fit: cover;
    border-radius: 12px;
}

.page-faq__hero-text-container {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

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

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Button text color */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-faq__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-faq__cta-button.page-faq__btn-secondary {
    background: none;
    border: 2px solid #2E7A4E; /* Border color */
    color: #F2FFF6; /* Main text color */
    box-shadow: none;
}

.page-faq__cta-button.page-faq__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2); /* Slight background on hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(46, 122, 78, 0.4);
}

.page-faq__content-section {
    padding: 50px 20px;
    box-sizing: border-box;
}

.page-faq__content-section.page-faq__dark-bg {
    background-color: #08160F; /* Primary dark background */
    color: #F2FFF6;
}

.page-faq__content-section.page-faq__light-bg {
    background-color: #11271B; /* Card BG color, acts as lighter section here */
    color: #F2FFF6;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px; /* Inner padding for content sections */
}

.page-faq__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #F2FFF6; /* Main text color */
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.page-faq__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
    margin: 10px auto 0;
    border-radius: 2px;
}

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

.page-faq__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    color: #F2FFF6; /* Main text color */
    transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
    background-color: #0A4B2C; /* Deep Green for open state */
    border-color: #57E38D; /* Glow color for open state */
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
    background-color: #0A4B2C; /* Deep Green for open question header */
}

.page-faq__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.3); /* Slight hover effect */
}

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

.page-faq__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #57E38D; /* Glow color */
    font-weight: 300;
}

.page-faq__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
}

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

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

.page-faq__faq-answer li {
    margin-bottom: 8px;
    color: #A7D9B8; /* Secondary text color */
}

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

.page-faq__faq-answer a:hover {
    color: #F2C14E; /* Gold color on hover */
    text-decoration: underline;
}

.page-faq__inline-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

.page-faq__game-list {
    margin-top: 15px;
}

.page-faq__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6;
    box-sizing: border-box;
}

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

.page-faq__cta-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.1rem;
    color: #A7D9B8;
    margin-bottom: 40px;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-faq__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-faq__content-section {
        padding: 40px 15px;
    }
    .page-faq__container {
        padding: 0 15px;
    }
    .page-faq__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-faq__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    .page-faq__faq-question {
        font-size: 1.1rem;
        padding: 18px 20px;
    }
    .page-faq__faq-answer {
        padding: 0 20px 18px 20px;
    }
    .page-faq__cta-section {
        padding: 60px 15px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 30px 15px;
        padding-top: 10px;
    }
    .page-faq__hero-content-wrapper {
        gap: 20px;
    }
    .page-faq__hero-text-container {
        padding: 0 10px;
    }
    .page-faq__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-faq__intro-text {
        font-size: 1rem;
    }
    .page-faq__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-faq__content-section {
        padding: 30px 15px;
    }
    .page-faq__container {
        padding: 0 15px;
    }
    .page-faq__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-faq__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-faq__faq-question {
        font-size: 1rem;
        padding: 15px 18px;
    }
    .page-faq__faq-answer {
        padding: 0 18px 15px 18px;
        font-size: 0.95rem;
    }
    .page-faq__cta-section {
        padding: 40px 15px;
    }
    .page-faq__cta-title {
        font-size: clamp(1.8rem, 5.5vw, 2.5rem);
    }
    .page-faq__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    /* Mobile forced responsive styles */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__hero-content-wrapper,
    .page-faq__cta-content,
    .page-faq__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }
    .page-faq__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-faq__cta-button,
    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to buttons themselves */
        padding-right: 15px;
    }
}

/* Ensure minimum image size for content images */
.page-faq__faq-image {
    min-width: 200px;
    min-height: 150px; /* Adjust min-height as needed, but at least 200px width */
    object-fit: cover;
}

/* Specific details/summary styling for marker */
.page-faq__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-faq__faq-item summary {
    list-style: none;
}