.page-faq-hi8-android {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main for general content, assuming dark body background */
    background-color: var(--bg-color, #B71C1C); /* Fallback to Deep Red if --bg-color is not set */
}

/* HERO Section */
.page-faq-hi8-android__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 */
    background: linear-gradient(135deg, #C91F17, #E53935); /* Use primary and secondary colors */
    color: #FFF5E1;
}

.page-faq-hi8-android__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width on desktop */
}

.page-faq-hi8-android__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-faq-hi8-android__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid #F2B544; /* Border color */
}

.page-faq-hi8-android__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-faq-hi8-android__hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Use clamp for H1 size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-hi8-android__hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF5E1; /* Text Main */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button - Primary Style */
.page-faq-hi8-android__cta-button.page-faq-hi8-android__btn-primary,
.page-faq-hi8-android__cta-button { /* General CTA button uses primary style by default */
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red for text on gold button for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq-hi8-android__cta-button.page-faq-hi8-android__btn-primary:hover,
.page-faq-hi8-android__cta-button:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Secondary CTA Button Style */
.page-faq-hi8-android__cta-button.page-faq-hi8-android__btn-secondary {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border color */
}

.page-faq-hi8-android__cta-button.page-faq-hi8-android__btn-secondary:hover {
    background: #C91F17; /* Primary color */
    border-color: #FFD86A; /* Lighter gold hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Small button style */
.page-faq-hi8-android__btn-small {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(180deg, #F4D34D 0%, #E6B800 100%); /* Gold */
    color: #7A0E0E; /* Deep Red */
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}
.page-faq-hi8-android__btn-small:hover {
    background: linear-gradient(180deg, #E6B800 0%, #F4D34D 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


/* General Content Sections */
.page-faq-hi8-android__intro-section,
.page-faq-hi8-android__faq-section,
.page-faq-hi8-android__cta-bottom-section {
    padding: 40px 0;
    background-color: var(--bg-color, #B71C1C); /* Background color */
    color: #FFF5E1; /* Text Main */
}

.page-faq-hi8-android__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq-hi8-android__intro-section h2,
.page-faq-hi8-android__faq-section h2,
.page-faq-hi8-android__cta-bottom-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #F4D34D; /* Gold for section titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-faq-hi8-android__intro-section p,
.page-faq-hi8-android__faq-section p,
.page-faq-hi8-android__cta-bottom-section p {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section Styling */
details.page-faq-hi8-android__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #F2B544; /* Border color */
    overflow: hidden;
    background: #D32F2F; /* Card BG */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-faq-hi8-android__faq-item summary.page-faq-hi8-android__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, border-color 0.3s ease;
    color: #FFF5E1; /* Text Main */
    font-weight: bold;
    font-size: 1.1rem;
}
details.page-faq-hi8-android__faq-item summary.page-faq-hi8-android__faq-question::-webkit-details-marker {
    display: none;
}
details.page-faq-hi8-android__faq-item summary.page-faq-hi8-android__faq-question:hover {
    background: #C91F17; /* Primary color on hover */
    border-color: #FFCC66; /* Glow color */
}
.page-faq-hi8-android__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF5E1; /* Text Main */
}
.page-faq-hi8-android__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #F4D34D; /* Gold color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-faq-hi8-android__faq-item[open] summary.page-faq-hi8-android__faq-question .page-faq-hi8-android__faq-toggle {
    color: #FFCC66; /* Glow color when open */
}
details.page-faq-hi8-android__faq-item .page-faq-hi8-android__faq-answer {
    padding: 0 25px 25px;
    background: rgba(0, 0, 0, 0.2); /* Slightly darker background for answer */
    border-radius: 0 0 10px 10px;
    color: #FFF5E1; /* Text Main */
    font-size: 1rem;
}

/* Game Showcase in FAQ Answer */
.page-faq-hi8-android__game-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.page-faq-hi8-android__game-showcase img {
    max-width: 100%;
    width: calc(33% - 10px); /* Three images per row on desktop */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #F2B544; /* Border color */
    min-width: 200px; /* Enforce min size */
}

/* Bottom CTA Section */
.page-faq-hi8-android__cta-bottom-section {
    text-align: center;
    background: linear-gradient(45deg, #E53935, #C91F17); /* Secondary and Primary colors */
    padding: 60px 20px;
    border-top: 3px solid #F4D34D; /* Gold border */
}

.page-faq-hi8-android__cta-bottom-section h2 {
    color: #FFF5E1; /* Text Main */
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.page-faq-hi8-android__cta-bottom-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #FFF5E1; /* Text Main */
}

.page-faq-hi8-android__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq-hi8-android__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-faq-hi8-android__hero-content h1 {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-faq-hi8-android__hero-content p {
        font-size: 1rem;
    }
    .page-faq-hi8-android__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-faq-hi8-android__intro-section h2,
    .page-faq-hi8-android__faq-section h2,
    .page-faq-hi8-android__cta-bottom-section h2 {
        font-size: 2rem;
    }
    details.page-faq-hi8-android__faq-item summary.page-faq-hi8-android__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-faq-hi8-android__faq-qtext {
        font-size: 1rem;
    }
    .page-faq-hi8-android__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-faq-hi8-android__faq-item .page-faq-hi8-android__faq-answer {
        padding: 0 20px 20px;
    }
    .page-faq-hi8-android__game-showcase img {
        width: calc(50% - 10px); /* Two images per row */
    }
}

@media (max-width: 768px) {
    .page-faq-hi8-android {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-faq-hi8-android__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq-hi8-android__hero-image img {
        border-radius: 8px;
    }
    .page-faq-hi8-android__hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-faq-hi8-android__hero-content p {
        font-size: 0.95rem;
    }
    .page-faq-hi8-android__cta-button,
    .page-faq-hi8-android__btn-primary,
    .page-faq-hi8-android__btn-secondary,
    .page-faq-hi8-android a[class*="button"],
    .page-faq-hi8-android 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;
        padding-right: 15px;
    }
    .page-faq-hi8-android__cta-buttons,
    .page-faq-hi8-android__button-group,
    .page-faq-hi8-android__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-faq-hi8-android__intro-section,
    .page-faq-hi8-android__faq-section,
    .page-faq-hi8-android__cta-bottom-section {
        padding: 30px 0;
    }
    .page-faq-hi8-android__container {
        padding: 0 15px;
    }
    .page-faq-hi8-android__intro-section h2,
    .page-faq-hi8-android__faq-section h2,
    .page-faq-hi8-android__cta-bottom-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    details.page-faq-hi8-android__faq-item summary.page-faq-hi8-android__faq-question {
        padding: 15px;
    }
    .page-faq-hi8-android__faq-qtext {
        font-size: 0.95rem;
    }
    .page-faq-hi8-android__faq-toggle {
        font-size: 20px;
        width: 20px;
    }
    details.page-faq-hi8-android__faq-item .page-faq-hi8-android__faq-answer {
        padding: 0 15px 15px;
    }
    .page-faq-hi8-android__game-showcase img {
        width: 100%; /* Single image per row */
        min-width: 200px !important; /* Enforce min size even on mobile */
        max-width: 100% !important;
        height: auto !important;
    }
    .page-faq-hi8-android img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-faq-hi8-android__section,
    .page-faq-hi8-android__card,
    .page-faq-hi8-android__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure content area images are not too small */
.page-faq-hi8-android__game-showcase img {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast fix if needed (example, not applied by default) */
.page-faq-hi8-android__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-faq-hi8-android__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}