:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --button-primary-bg: var(--primary-color);
    --button-primary-text: var(--secondary-color);
    --button-secondary-bg: var(--secondary-color);
    --button-secondary-text: var(--primary-color);
    --dark-section-bg: #017439; /* Using brand color for dark sections */
    --light-section-bg: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body bg */
    --border-color: rgba(255, 255, 255, 0.2);
}

.page-resources-go88-download-faq {
    background-color: transparent; /* Body bg is handled by shared.css */
    color: var(--text-on-dark); /* Default text color for the page content, contrasting with body bg */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header offset for main content */
.page-resources-go88-download-faq__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

/* General container styles */
.page-resources-go88-download-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-resources-go88-download-faq__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #017439, #005f2e); /* Gradient using brand color */
    color: var(--text-on-dark);
}

.page-resources-go88-download-faq__hero-content {
    padding: 40px 20px;
    max-width: 800px;
}

.page-resources-go88-download-faq__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-on-dark);
    line-height: 1.2;
}

.page-resources-go88-download-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-resources-go88-download-faq__hero-image-wrapper {
    width: 100%;
    max-width: 1000px; /* Adjust max-width as needed */
    margin-top: 20px;
}

.page-resources-go88-download-faq__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-go88-download-faq__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-on-dark); /* Ensure contrast */
}

.page-resources-go88-download-faq__paragraph {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-on-dark); /* Ensure contrast */
}

.page-resources-go88-download-faq__keyword {
    font-weight: bold;
    color: var(--secondary-color); /* Highlight keywords */
}

.page-resources-go88-download-faq__introduction-section,
.page-resources-go88-download-faq__guide-section,
.page-resources-go88-download-faq__faq-section {
    padding: 60px 0;
    background-color: var(--dark-section-bg);
    color: var(--text-on-dark);
}

.page-resources-go88-download-faq__problems-section,
.page-resources-go88-download-faq__tips-section,
.page-resources-go88-download-faq__conclusion-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast with body */
    color: var(--text-on-dark);
}

/* Problem items */
.page-resources-go88-download-faq__problem-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-go88-download-faq__problem-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-resources-go88-download-faq__solution-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-on-dark);
}

.page-resources-go88-download-faq__solution-list li {
    margin-bottom: 8px;
}

.page-resources-go88-download-faq__problem-image,
.page-resources-go88-download-faq__step-image,
.page-resources-go88-download-faq__tips-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    display: block;
}

/* Guide steps */
.page-resources-go88-download-faq__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-go88-download-faq__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-go88-download-faq__step-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Tips list */
.page-resources-go88-download-faq__tips-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.page-resources-go88-download-faq__tips-list li {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--text-on-dark);
}

/* FAQ section */
.page-resources-go88-download-faq__faq-list {
    margin-top: 40px;
}

.page-resources-go88-download-faq__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-go88-download-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-resources-go88-download-faq__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-go88-download-faq__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.page-resources-go88-download-faq__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-resources-go88-download-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-go88-download-faq__faq-answer .page-resources-go88-download-faq__paragraph {
    padding-bottom: 15px;
    color: var(--text-on-dark);
}

.page-resources-go88-download-faq__faq-item.active .page-resources-go88-download-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px;
}

.page-resources-go88-download-faq__faq-item.active .page-resources-go88-download-faq__faq-toggle {
    transform: rotate(45deg); /* Change + to X (or rotate to -) */
}


/* Call to action buttons */
.page-resources-go88-download-faq__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-resources-go88-download-faq__btn-primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: 2px solid var(--button-primary-bg);
}

.page-resources-go88-download-faq__btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-resources-go88-download-faq__btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border: 2px solid var(--button-secondary-text);
}

.page-resources-go88-download-faq__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Links within text */
.page-resources-go88-download-faq a {
    color: var(--secondary-color); /* Lighter color for links on dark background */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-go88-download-faq a:hover {
    color: #e0e0e0; /* Slightly lighter on hover */
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-resources-go88-download-faq__hero-title {
        font-size: 2.4em;
    }
    .page-resources-go88-download-faq__section-title {
        font-size: 1.8em;
    }
    .page-resources-go88-download-faq__problem-title {
        font-size: 1.5em;
    }
    .page-resources-go88-download-faq__step-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-resources-go88-download-faq__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
    }
    .page-resources-go88-download-faq__hero-title {
        font-size: 2em;
    }
    .page-resources-go88-download-faq__hero-description {
        font-size: 1em;
    }
    .page-resources-go88-download-faq__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-resources-go88-download-faq__paragraph {
        font-size: 0.95em;
    }
    .page-resources-go88-download-faq__problem-item,
    .page-resources-go88-download-faq__step-item,
    .page-resources-go88-download-faq__faq-item {
        padding: 20px;
    }
    .page-resources-go88-download-faq__faq-question {
        padding: 15px 20px;
    }
    .page-resources-go88-download-faq__faq-answer {
        padding: 0 20px;
    }
    .page-resources-go88-download-faq__faq-item.active .page-resources-go88-download-faq__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsive adaptation */
    .page-resources-go88-download-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
    }
    
    /* Ensure content containers are responsive */
    .page-resources-go88-download-faq__container,
    .page-resources-go88-download-faq__hero-content,
    .page-resources-go88-download-faq__problem-content,
    .page-resources-go88-download-faq__guide-steps,
    .page-resources-go88-download-faq__tips-list,
    .page-resources-go88-download-faq__faq-list,
    .page-resources-go88-download-faq__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    /* Mobile button responsive adaptation */
    .page-resources-go88-download-faq__cta-button,
    .page-resources-go88-download-faq__btn-primary,
    .page-resources-go88-download-faq__btn-secondary,
    .page-resources-go88-download-faq a[class*="button"],
    .page-resources-go88-download-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important; /* Make buttons full width */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* For multiple buttons in a group, stack them vertically */
    .page-resources-go88-download-faq__button-group { /* if such a class exists */
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

/* Ensure content area images are not smaller than 200px (desktop) */
.page-resources-go88-download-faq__problem-image,
.page-resources-go88-download-faq__step-image,
.page-resources-go88-download-faq__tips-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter on images */
.page-resources-go88-download-faq img {
    filter: none;
}