/* style/index-w88-app-download-install.css */
.page-index-w88-app-download-install {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark gray for readability on light backgrounds */
    background-color: #f8f8f8; /* Light background */
}

.page-index-w88-app-download-install__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index-w88-app-download-install__hero {
    background: linear-gradient(135deg, #CC0000 0%, #FFCC00 100%); /* Red to Gold gradient */
    color: #FFFFFF; /* White text for contrast on dark gradient */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-w88-app-download-install__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF; /* White for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-w88-app-download-install__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for subtle contrast */
}

.page-index-w88-app-download-install__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-index-w88-app-download-install__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.page-index-w88-app-download-install__btn--primary {
    background-color: #FFCC00; /* Auxiliary color */
    color: #CC0000; /* Main color for text on yellow background */
    border: 2px solid #FFCC00;
}

.page-index-w88-app-download-install__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-index-w88-app-download-install__btn--secondary {
    background-color: transparent;
    color: #FFFFFF; /* White text on dark gradient */
    border: 2px solid #FFFFFF;
}

.page-index-w88-app-download-install__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.page-index-w88-app-download-install__hero-image-wrapper {
    margin-top: 40px;
    text-align: center;
}

.page-index-w88-app-download-install__hero-image {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-index-w88-app-download-install__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-w88-app-download-install__section--dark {
    background-color: #333333; /* Dark background */
    color: #FFFFFF; /* White text for contrast */
}

.page-index-w88-app-download-install__section--dark .page-index-w88-app-download-install__section-title,
.page-index-w88-app-download-install__section--dark .page-index-w88-app-download-install__download-title,
.page-index-w88-app-download-install__section--dark .page-index-w88-app-download-install__text-block,
.page-index-w88-app-download-install__section--dark .page-index-w88-app-download-install__step-list li {
    color: #FFFFFF; /* Ensure white text on dark background */
}

.page-index-w88-app-download-install__section--alt {
    background-color: #eeeeee; /* Light gray for alternating sections */
}

.page-index-w88-app-download-install__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #CC0000; /* Main brand color */
}

.page-index-w88-app-download-install__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-index-w88-app-download-install__section--dark .page-index-w88-app-download-install__text-block {
    color: #e0e0e0; /* Lighter text on dark background */
}

.page-index-w88-app-download-install__keyword {
    font-weight: bold;
    color: #CC0000; /* Highlight keywords with main brand color */
}

.page-index-w88-app-download-install__section--dark .page-index-w88-app-download-install__keyword {
    color: #FFCC00; /* Highlight keywords with auxiliary color on dark background */
}

/* Feature Grid */
.page-index-w88-app-download-install__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-w88-app-download-install__feature-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-index-w88-app-download-install__feature-item:hover {
    transform: translateY(-5px);
}

.page-index-w88-app-download-install__feature-title {
    font-size: 1.4em;
    color: #CC0000;
    margin-bottom: 15px;
}

.page-index-w88-app-download-install__feature-item p {
    color: #555555;
}

.page-index-w88-app-download-install__image-full {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Download Guide */
.page-index-w88-app-download-install__download-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.page-index-w88-app-download-install__download-item {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    background-color: #444444; /* Darker background for items in dark section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-index-w88-app-download-install__download-title {
    font-size: 1.8em;
    color: #FFCC00; /* Auxiliary color for titles on dark background */
    margin-bottom: 20px;
}

.page-index-w88-app-download-install__qr-code {
    margin: 20px 0;
}

.page-index-w88-app-download-install__qr-image {
    max-width: 200px;
    height: auto;
    border: 5px solid #FFCC00;
    border-radius: 5px;
}

.page-index-w88-app-download-install__step-list {
    list-style-type: decimal;
    text-align: left;
    padding-left: 20px;
    margin-top: 20px;
    color: #e0e0e0;
}

.page-index-w88-app-download-install__step-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Installation Guide */
.page-index-w88-app-download-install__installation-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.page-index-w88-app-download-install__guide-item {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-index-w88-app-download-install__guide-title {
    font-size: 1.8em;
    color: #CC0000;
    margin-bottom: 20px;
}

.page-index-w88-app-download-install__image-inline {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* App Features List */
.page-index-w88-app-download-install__feature-list {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-w88-app-download-install__feature-list ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-index-w88-app-download-install__feature-list li {
    background-color: #FFFFFF;
    padding: 20px;
    border-left: 5px solid #CC0000;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.page-index-w88-app-download-install__feature-list li:hover {
    transform: translateX(5px);
}

.page-index-w88-app-download-install__feature-list strong {
    color: #CC0000;
    font-size: 1.1em;
}

/* FAQ Section */
.page-index-w88-app-download-install__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-index-w88-app-download-install__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-index-w88-app-download-install__faq-question {
    padding: 18px 25px;
    margin: 0;
    font-size: 1.2em;
    color: #CC0000;
    background-color: #fefefe;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-index-w88-app-download-install__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #CC0000;
    transition: transform 0.3s ease;
}

.page-index-w88-app-download-install__faq-item.active .page-index-w88-app-download-install__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-w88-app-download-install__faq-question:hover {
    background-color: #f5f5f5;
}

.page-index-w88-app-download-install__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fff;
    color: #555555;
}

.page-index-w88-app-download-install__faq-item.active .page-index-w88-app-download-install__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 15px 25px 25px 25px;
}

.page-index-w88-app-download-install__faq-answer p {
    margin-bottom: 10px;
}


/* CTA Section */
.page-index-w88-app-download-install__cta-section {
    padding: 80px 0;
    background-color: #CC0000; /* Main brand color for CTA */
    color: #FFFFFF;
    text-align: center;
}

.page-index-w88-app-download-install__cta-title {
    font-size: 2.5em;
    color: #FFCC00; /* Auxiliary color for title on red background */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index-w88-app-download-install__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-index-w88-app-download-install__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-index-w88-app-download-install__cta-actions .page-index-w88-app-download-install__btn--primary {
    background-color: #FFCC00;
    color: #CC0000;
    border-color: #FFCC00;
}

.page-index-w88-app-download-install__cta-actions .page-index-w88-app-download-install__btn--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-w88-app-download-install__hero-title {
        font-size: 2.2em;
    }
    .page-index-w88-app-download-install__section-title {
        font-size: 1.8em;
    }
    .page-index-w88-app-download-install__download-item,
    .page-index-w88-app-download-install__guide-item {
        max-width: 80%;
    }
    .page-index-w88-app-download-install__feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-w88-app-download-install__hero {
        padding: 60px 0;
    }
    .page-index-w88-app-download-install__hero-title {
        font-size: 1.8em;
    }
    .page-index-w88-app-download-install__hero-description {
        font-size: 1em;
    }
    .page-index-w88-app-download-install__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-w88-app-download-install__btn {
        padding: 12px 25px;
        font-size: 1em;
        width: 80%;
        margin: 0 auto;
    }
    .page-index-w88-app-download-install__section {
        padding: 40px 0;
    }
    .page-index-w88-app-download-install__section-title {
        font-size: 1.6em;
    }
    .page-index-w88-app-download-install__text-block {
        font-size: 0.95em;
    }
    .page-index-w88-app-download-install__download-item,
    .page-index-w88-app-download-install__guide-item {
        max-width: 100%;
    }
    .page-index-w88-app-download-install__cta-title {
        font-size: 2em;
    }
    .page-index-w88-app-download-install__cta-description {
        font-size: 1em;
    }
    .page-index-w88-app-download-install__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-w88-app-download-install__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-index-w88-app-download-install__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-w88-app-download-install__hero-title {
        font-size: 1.5em;
    }
    .page-index-w88-app-download-install__hero-description {
        font-size: 0.9em;
    }
    .page-index-w88-app-download-install__btn {
        width: 90%;
    }
    .page-index-w88-app-download-install__download-title,
    .page-index-w88-app-download-install__guide-title {
        font-size: 1.5em;
    }
    .page-index-w88-app-download-install__qr-image {
        max-width: 150px;
    }
}