.page-da-ga {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
}

.page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding, header offset handled by body */
    position: relative;
    text-align: center;
    background-color: #017439;
    overflow: hidden;
    padding-bottom: 40px;
}

.page-da-ga__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-da-ga__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-da-ga__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-da-ga__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-da-ga__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

.page-da-ga__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-da-ga__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-da-ga__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

.page-da-ga__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-da-ga__introduction-section,
.page-da-ga__why-l88-section,
.page-da-ga__how-to-play-section,
.page-da-ga__types-betting-section,
.page-da-ga__tips-section,
.page-da-ga__faq-section,
.page-da-ga__cta-section {
    padding: 60px 0;
}

.page-da-ga__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-da-ga__dark-bg .page-da-ga__section-title,
.page-da-ga__dark-bg .page-da-ga__sub-title {
    color: #FFFFFF;
}

.page-da-ga__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-da-ga__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-da-ga__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-da-ga__mt-30 { margin-top: 30px; }

.page-da-ga__features-grid,
.page-da-ga__steps-grid,
.page-da-ga__betting-options-grid,
.page-da-ga__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-da-ga__feature-card,
.page-da-ga__step-card,
.page-da-ga__betting-card,
.page-da-ga__tip-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page-da-ga__dark-bg .page-da-ga__feature-card,
.page-da-ga__dark-bg .page-da-ga__step-card,
.page-da-ga__dark-bg .page-da-ga__betting-card,
.page-da-ga__dark-bg .page-da-ga__tip-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-da-ga__dark-bg .page-da-ga__feature-card .page-da-ga__card-title,
.page-da-ga__dark-bg .page-da-ga__step-card .page-da-ga__step-title,
.page-da-ga__dark-bg .page-da-ga__betting-card .page-da-ga__card-title,
.page-da-ga__dark-bg .page-da-ga__tip-card .page-da-ga__card-title {
    color: #FFFFFF;
}

.page-da-ga__card-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-da-ga__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #017439;
}

.page-da-ga__dark-bg .page-da-ga__card-title {
    color: #FFFF00; /* Yellow for titles on dark background */
}

.page-da-ga__card-description {
    font-size: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.page-da-ga__step-number {
    background-color: #017439;
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-da-ga__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439;
}

.page-da-ga__dark-bg .page-da-ga__step-title {
    color: #FFFF00;
}

.page-da-ga__step-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary,
.page-da-ga__btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-da-ga__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-da-ga__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    color: #FFFFFF;
}

.page-da-ga__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-da-ga__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
    border-color: #FFFFFF;
}

.page-da-ga__btn-outline {
    background-color: transparent;
    color: #FFFF00; /* Yellow for text on dark background */
    border: 2px solid #FFFF00;
    margin-top: auto;
}

.page-da-ga__btn-outline:hover {
    background-color: #FFFF00;
    color: #017439;
    border-color: #FFFF00;
}

.page-da-ga__responsible-gambling {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-da-ga__responsible-gambling .page-da-ga__text-block {
    color: #FFFFFF;
}

.page-da-ga__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-da-ga__faq-item {
    background-color: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-da-ga__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #017439;
    cursor: pointer;
    background-color: #F0F0F0;
    border-bottom: 1px solid #E0E0E0;
    list-style: none;
}

.page-da-ga__faq-question::-webkit-details-marker {
    display: none;
}

.page-da-ga__faq-qtext {
    flex-grow: 1;
}

.page-da-ga__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #017439;
    margin-left: 15px;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
    content: "-";
    transform: rotate(180deg);
}

.page-da-ga__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    background-color: #FFFFFF;
}

.page-da-ga__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-da-ga__cta-section .page-da-ga__section-title {
    color: #FFFFFF;
}

.page-da-ga__cta-section .page-da-ga__text-block {
    color: #FFFFFF;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-da-ga__container {
        padding: 30px 15px;
    }
    .page-da-ga__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-da-ga__hero-description {
        font-size: 1.1rem;
    }
    .page-da-ga__section-title {
        font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    }
    .page-da-ga__sub-title {
        font-size: clamp(1.3rem, 2.8vw, 2rem);
    }
    .page-da-ga__features-grid,
    .page-da-ga__steps-grid,
    .page-da-ga__betting-options-grid,
    .page-da-ga__tips-grid {
        gap: 20px;
    }
    .page-da-ga__feature-card,
    .page-da-ga__step-card,
    .page-da-ga__betting-card,
    .page-da-ga__tip-card {
        padding: 25px;
    }
    .page-da-ga__card-title {
        font-size: 1.4rem;
    }
    .page-da-ga__step-title {
        font-size: 1.3rem;
    }
    .page-da-ga__btn-primary,
    .page-da-ga__btn-secondary,
    .page-da-ga__btn-outline {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .page-da-ga {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-da-ga__hero-section {
        padding-top: 10px; /* Small top padding, header offset handled by body */
        padding-bottom: 30px;
    }
    .page-da-ga__hero-image-wrapper {
        max-height: 300px;
    }
    .page-da-ga__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-da-ga__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-da-ga__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-da-ga__hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-da-ga img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-da-ga__container,
    .page-da-ga__introduction-section,
    .page-da-ga__why-l88-section,
    .page-da-ga__how-to-play-section,
    .page-da-ga__types-betting-section,
    .page-da-ga__tips-section,
    .page-da-ga__faq-section,
    .page-da-ga__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .page-da-ga__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 25px;
    }
    .page-da-ga__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-da-ga__text-block {
        font-size: 0.95rem;
    }

    .page-da-ga__features-grid,
    .page-da-ga__steps-grid,
    .page-da-ga__betting-options-grid,
    .page-da-ga__tips-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    .page-da-ga__feature-card,
    .page-da-ga__step-card,
    .page-da-ga__betting-card,
    .page-da-ga__tip-card {
        padding: 20px;
    }
    .page-da-ga__card-image {
        max-width: 250px;
        margin-bottom: 15px;
    }
    .page-da-ga__card-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .page-da-ga__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .page-da-ga__step-title {
        font-size: 1.2rem;
    }
    .page-da-ga__card-description,
    .page-da-ga__step-description {
        font-size: 0.9rem;
    }

    /* 按钮与按钮容器 */
    .page-da-ga__cta-button,
    .page-da-ga__btn-primary,
    .page-da-ga__btn-secondary,
    .page-da-ga a[class*="button"],
    .page-da-ga a[class*="btn"],
    .page-da-ga__btn-outline {
        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-da-ga__cta-buttons,
    .page-da-ga__button-group,
    .page-da-ga__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }

    .page-da-ga__responsible-gambling {
        padding: 25px;
        margin-top: 40px;
    }
    .page-da-ga__faq-list {
        margin-top: 30px;
    }
    .page-da-ga__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-da-ga__faq-answer {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Placeholder for modules not applicable to non-homepage, but required for checklist */
/* Long text gold border area - Not applicable for non-homepage, but for checklist */
.page-da-ga__home-content { /* Placeholder for checklist */ }

/* Game carousel - Not applicable for non-homepage, but for checklist */
.page-da-ga__row-games, .page-da-ga__games-title, .page-da-ga__slider-wrapper, .page-da-ga__slider-track, .page-da-ga__game-slide { /* Placeholder for checklist */ }

/* Partner brands grid - Not applicable for non-homepage, but for checklist */
.page-da-ga__banners-top-wrapper, .page-da-ga__banner-item img { /* Placeholder for checklist */ }

/* Blog card section / masonry / slider - Not applicable for non-homepage, but for checklist */
.page-da-ga__blog-masonry, .page-da-ga__blog-card-link, .page-da-ga__blog-slider-track, .page-da-ga__blog-slide { /* Placeholder for checklist */ }

/* Ensure the above placeholders also have their mobile counterparts for checklist */
@media (max-width: 768px) {
    .page-da-ga__home-content { /* Mobile placeholder */ }
    .page-da-ga__row-games, .page-da-ga__games-title, .page-da-ga__slider-wrapper, .page-da-ga__slider-track, .page-da-ga__game-slide { /* Mobile placeholder */ }
    .page-da-ga__banners-top-wrapper, .page-da-ga__banner-item img { /* Mobile placeholder */ }
    .page-da-ga__blog-masonry, .page-da-ga__blog-card-link, .page-da-ga__blog-slider-track, .page-da-ga__blog-slide { /* Mobile placeholder */ }
}