.page-da-ga {
    font-family: Arial, sans-serif;
    color: #FFF3E6; /* Text Main from custom colors */
    background-color: #0D0E12; /* Background from custom colors */
    line-height: 1.6;
    font-size: 16px;
}

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

.page-da-ga__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF3E6;
    position: relative;
    padding-bottom: 15px;
}

.page-da-ga__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFA53A 0%, #D96800 100%);
    border-radius: 2px;
}

/* Hero Section */
.page-da-ga__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding for mobile, assuming body padding from shared */
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-da-ga__hero-image-wrapper {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    overflow: hidden;
    position: relative;
}

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

.page-da-ga__hero-content {
    text-align: center;
    padding: 40px 20px;
    background: rgba(13, 14, 18, 0.8); /* Semi-transparent dark background */
    margin-top: -100px; /* Overlap image slightly */
    position: relative;
    z-index: 1;
}

.page-da-ga__hero-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: #FFF3E6;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-da-ga__hero-description {
    font-size: 1.1em;
    color: #FFF3E6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-da-ga__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-da-ga__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-da-ga__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-da-ga__btn-secondary {
    background: transparent;
    color: #FF8C1A; /* Main color */
    border: 2px solid #FF8C1A; /* Main color */
}

.page-da-ga__btn-secondary:hover {
    background: #FF8C1A; /* Main color */
    color: #ffffff;
    border-color: #FF8C1A; /* Main color */
}

.page-da-ga__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Intro Section */
.page-da-ga__intro-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG from custom colors */
    text-align: center;
}

.page-da-ga__intro-title {
    font-size: 2em;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-da-ga__intro-text {
    font-size: 1.1em;
    color: #FFF3E6;
    max-width: 900px;
    margin: 0 auto;
}

/* Advantages Section */
.page-da-ga__advantages-section {
    padding: 80px 0;
    background-color: #0D0E12;
}

.page-da-ga__advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-da-ga__advantage-card.page-da-ga__card {
    background-color: #17191F;
    border: 1px solid #A84F0C; /* Border from custom colors */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga__advantage-card.page-da-ga__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 140, 26, 0.2);
}

.page-da-ga__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-da-ga__card-title {
    font-size: 1.4em;
    color: #FFF3E6;
    margin-bottom: 10px;
}

.page-da-ga__card-description {
    font-size: 0.95em;
    color: #FFF3E6;
    opacity: 0.8;
}

/* How To Play Section */
.page-da-ga__how-to-play-section {
    padding: 80px 0;
    background-color: #17191F;
}

.page-da-ga__steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.page-da-ga__step-card.page-da-ga__card {
    background-color: #0D0E12;
    border: 1px solid #A84F0C;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.page-da-ga__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #0D0E12;
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-da-ga__step-title {
    font-size: 1.3em;
    color: #FFF3E6;
    margin-top: 30px; /* Space for number */
    margin-bottom: 15px;
}

.page-da-ga__step-description {
    font-size: 0.9em;
    color: #FFF3E6;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Tips Section */
.page-da-ga__tips-section {
    padding: 80px 0;
    background-color: #0D0E12;
}

.page-da-ga__tips-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-da-ga__tips-image-wrapper {
    flex: 1;
    min-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-da-ga__tips-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-da-ga__tips-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-da-ga__tip-item {
    background-color: #17191F;
    border-left: 5px solid #FF8C1A; /* Main color */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-da-ga__tip-item:last-child {
    margin-bottom: 0;
}

.page-da-ga__tip-title {
    font-size: 1.2em;
    color: #FFF3E6;
    margin-bottom: 10px;
}

.page-da-ga__tip-description {
    font-size: 0.9em;
    color: #FFF3E6;
    opacity: 0.8;
}

/* Promotions Section */
.page-da-ga__promotions-section {
    padding: 80px 0;
    background-color: #17191F;
}

.page-da-ga__promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-da-ga__promo-card.page-da-ga__card {
    background-color: #0D0E12;
    border: 1px solid #A84F0C;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga__promo-card.page-da-ga__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 140, 26, 0.2);
}

/* FAQ Section */
.page-da-ga__faq-section {
    padding: 80px 0;
    background-color: #0D0E12;
}

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

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

.page-da-ga__faq-item[open] .page-da-ga__faq-question {
    background-color: rgba(255, 140, 26, 0.1); /* Lighter background when open */
    border-bottom: 1px solid #A84F0C;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-da-ga__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: #FFF3E6;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-da-ga__faq-question:hover {
    background-color: rgba(255, 140, 26, 0.05);
}

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

.page-da-ga__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FF8C1A; /* Main color */
    transition: transform 0.3s ease;
}

.page-da-ga__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF3E6;
    opacity: 0.8;
}

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

/* CTA Section */
.page-da-ga__cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(13, 14, 18, 0.9), rgba(13, 14, 18, 0.9)), url('[GALLERY:bg_cta:1920x400:cockfighting,audience,excitement,kingbet86,call to action]'); /* Background image for CTA */
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-da-ga__cta-description {
    font-size: 1.2em;
    color: #FFF3E6;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

/* General image styling for content areas */
.page-da-ga img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Dark background color for text safety */
.page-da-ga__dark-section {
    color: #FFF3E6; /* Text Main */
}

.page-da-ga__dark-section .page-da-ga__section-title,
.page-da-ga__dark-section .page-da-ga__intro-title,
.page-da-ga__dark-section .page-da-ga__intro-text {
    color: #FFF3E6; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-da-ga__container {
        padding: 15px;
    }

    .page-da-ga__advantages-grid,
    .page-da-ga__steps-grid,
    .page-da-ga__promotions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-da-ga__tips-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-da-ga__tips-image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .page-da-ga__hero-image-wrapper {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .page-da-ga__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-da-ga__hero-image-wrapper {
        height: 300px !important; /* Smaller height for mobile hero */
    }

    .page-da-ga__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjust overlap */
    }

    .page-da-ga__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 size for mobile */
    }

    .page-da-ga__hero-description {
        font-size: 1em;
    }

    .page-da-ga__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-da-ga__btn-primary,
    .page-da-ga__btn-secondary,
    .page-da-ga a[class*="button"],
    .page-da-ga 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-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; /* Stack buttons vertically on mobile */
    }

    .page-da-ga__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-da-ga__section-title::after {
        width: 60px;
    }

    .page-da-ga__intro-section,
    .page-da-ga__advantages-section,
    .page-da-ga__how-to-play-section,
    .page-da-ga__tips-section,
    .page-da-ga__promotions-section,
    .page-da-ga__faq-section,
    .page-da-ga__cta-section {
        padding: 40px 0;
    }

    .page-da-ga__advantages-grid,
    .page-da-ga__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-da-ga__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-da-ga__card-image {
        height: 180px;
    }

    .page-da-ga__tips-image-wrapper {
        border-radius: 5px;
    }

    .page-da-ga__tips-list {
        padding: 0 15px;
    }

    .page-da-ga__tip-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .page-da-ga__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-da-ga__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image adaptation */
    .page-da-ga img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-da-ga__section,
    .page-da-ga__card,
    .page-da-ga__container,
    .page-da-ga__hero-image-wrapper,
    .page-da-ga__tips-image-wrapper,
    .page-da-ga__promo-card,
    .page-da-ga__advantage-card,
    .page-da-ga__step-card,
    .page-da-ga__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 549px) {
    .page-da-ga__advantages-grid,
    .page-da-ga__promotions-grid {
        grid-template-columns: 1fr;
    }
}