:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-bg: #C30808;
    --login-button-bg: #C30808;
    --button-text-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-resources-qq88-app-latest-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light);
}

.page-resources-qq88-app-latest-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-qq88-app-latest-features__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__hero-image {
    display: block;
    margin: 40px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-resources-qq88-app-latest-features__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-resources-qq88-app-latest-features__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

/* Features Section */
.page-resources-qq88-app-latest-features__features-section,
.page-resources-qq88-app-latest-features__download-guide-section,
.page-resources-qq88-app-latest-features__faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-resources-qq88-app-latest-features__dark-bg .page-resources-qq88-app-latest-features__section-title,
.page-resources-qq88-app-latest-features__dark-bg .page-resources-qq88-app-latest-features__section-description {
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-qq88-app-latest-features__feature-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-resources-qq88-app-latest-features__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-qq88-app-latest-features__feature-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-qq88-app-latest-features__feature-card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-qq88-app-latest-features__feature-card-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Benefits Section */
.page-resources-qq88-app-latest-features__benefits-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-resources-qq88-app-latest-features__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__benefit-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-qq88-app-latest-features__benefit-text {
    font-size: 1em;
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__benefits-image {
    display: block;
    margin: 60px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Download Guide Section */
.page-resources-qq88-app-latest-features__guide-item {
    margin-bottom: 60px;
}

.page-resources-qq88-app-latest-features__guide-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.page-resources-qq88-app-latest-features__guide-steps {
    list-style-type: decimal;
    padding-left: 30px;
    font-size: 1.05em;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-resources-qq88-app-latest-features__guide-steps li {
    margin-bottom: 15px;
}

.page-resources-qq88-app-latest-features__guide-steps strong {
    color: var(--primary-color);
}

.page-resources-qq88-app-latest-features__guide-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-qq88-app-latest-features__video-wrapper {
    margin-top: 60px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources-qq88-app-latest-features__video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-qq88-app-latest-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

.page-resources-qq88-app-latest-features__video-caption {
    margin-top: 15px;
    font-style: italic;
    color: var(--text-dark);
}

/* Security Section */
.page-resources-qq88-app-latest-features__security-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__security-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-resources-qq88-app-latest-features__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__security-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-qq88-app-latest-features__security-text {
    font-size: 1em;
    color: var(--text-light);
}

.page-resources-qq88-app-latest-features__security-image {
    display: block;
    margin: 60px auto 0;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-qq88-app-latest-features__security-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-qq88-app-latest-features__security-text a:hover {
    color: #e0e0e0;
}

/* FAQ Section */
.page-resources-qq88-app-latest-features__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-qq88-app-latest-features__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-resources-qq88-app-latest-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease;
}

.page-resources-qq88-app-latest-features__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-qq88-app-latest-features__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-qq88-app-latest-features__faq-item[open] .page-resources-qq88-app-latest-features__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-qq88-app-latest-features__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-dark);
    border-top: 1px solid var(--border-light);
    background-color: var(--secondary-color);
}

.page-resources-qq88-app-latest-features__faq-answer p {
    margin: 0;
}

.page-resources-qq88-app-latest-features__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-qq88-app-latest-features__faq-answer a:hover {
    color: #005f2e;
}

/* Call to Action Bottom Section */
.page-resources-qq88-app-latest-features__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Buttons */
.page-resources-qq88-app-latest-features__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-qq88-app-latest-features__btn-primary,
.page-resources-qq88-app-latest-features__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-qq88-app-latest-features__btn-primary {
    background-color: var(--register-button-bg); /* Custom color for register/login */
    color: var(--button-text-color); /* Custom text color for register/login */
    border: 2px solid var(--register-button-bg);
}

.page-resources-qq88-app-latest-features__btn-primary:hover {
    background-color: darken(var(--register-button-bg), 10%); /* Placeholder for darken */
    border-color: darken(var(--register-button-bg), 10%); /* Placeholder for darken */
}

.page-resources-qq88-app-latest-features__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-qq88-app-latest-features__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-qq88-app-latest-features__hero-title {
        font-size: 2.5em;
    }
    .page-resources-qq88-app-latest-features__section-title {
        font-size: 2em;
    }
    .page-resources-qq88-app-latest-features__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-resources-qq88-app-latest-features__benefits-list,
    .page-resources-qq88-app-latest-features__security-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-qq88-app-latest-features {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-qq88-app-latest-features__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-resources-qq88-app-latest-features__hero-title {
        font-size: 2em;
    }
    .page-resources-qq88-app-latest-features__hero-description {
        font-size: 1em;
    }
    .page-resources-qq88-app-latest-features__section-title {
        font-size: 1.8em;
    }
    .page-resources-qq88-app-latest-features__section-description {
        font-size: 0.95em;
    }
    .page-resources-qq88-app-latest-features__features-section,
    .page-resources-qq88-app-latest-features__benefits-section,
    .page-resources-qq88-app-latest-features__download-guide-section,
    .page-resources-qq88-app-latest-features__security-section,
    .page-resources-qq88-app-latest-features__faq-section,
    .page-resources-qq88-app-latest-features__cta-bottom-section {
        padding: 40px 0;
    }
    .page-resources-qq88-app-latest-features__container {
        padding: 0 15px;
    }

    /* Image, Video, Button Responsive Overrides */
    .page-resources-qq88-app-latest-features img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-qq88-app-latest-features video,
    .page-resources-qq88-app-latest-features__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-qq88-app-latest-features__feature-card,
    .page-resources-qq88-app-latest-features__benefit-item,
    .page-resources-qq88-app-latest-features__security-item,
    .page-resources-qq88-app-latest-features__guide-item,
    .page-resources-qq88-app-latest-features__faq-item,
    .page-resources-qq88-app-latest-features__video-wrapper,
    .page-resources-qq88-app-latest-features__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-qq88-app-latest-features__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-resources-qq88-app-latest-features__btn-primary,
    .page-resources-qq88-app-latest-features__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources-qq88-app-latest-features__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-resources-qq88-app-latest-features__faq-answer {
        padding: 15px 20px;
    }
    .page-resources-qq88-app-latest-features__guide-steps {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-qq88-app-latest-features__hero-title {
        font-size: 1.8em;
    }
    .page-resources-qq88-app-latest-features__section-title {
        font-size: 1.6em;
    }
    .page-resources-qq88-app-latest-features__feature-card-title,
    .page-resources-qq88-app-latest-features__benefit-title,
    .page-resources-qq88-app-latest-features__security-title {
        font-size: 1.4em;
    }
    .page-resources-qq88-app-latest-features__guide-title {
        font-size: 1.6em;
    }
}