/* style/promotions-first-deposit-bonus.css */
.page-promotions-first-deposit-bonus {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Explicitly set for clarity and contrast calculation */
}

.page-promotions-first-deposit-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-promotions-first-deposit-bonus__hero-section {
    position: relative;
    padding: 100px 20px 60px;
    text-align: center;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-promotions-first-deposit-bonus__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions-first-deposit-bonus__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-promotions-first-deposit-bonus__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions-first-deposit-bonus__cta-buttons--centered {
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__btn-primary,
.page-promotions-first-deposit-bonus__btn-secondary,
.page-promotions-first-deposit-bonus a[class*="button"],
.page-promotions-first-deposit-bonus a[class*="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, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-first-deposit-bonus__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions-first-deposit-bonus__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-promotions-first-deposit-bonus__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions-first-deposit-bonus__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

/* Specific button for 'Nạp tiền ngay' (login color) */
.page-promotions-first-deposit-bonus__btn-primary[style*="background-color: #EA7C07"] {
    background-color: #EA7C07;
    border-color: #EA7C07;
}

.page-promotions-first-deposit-bonus__btn-primary[style*="background-color: #EA7C07"]:hover {
    background-color: #c96706;
    border-color: #c96706;
}

.page-promotions-first-deposit-bonus__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff; /* Default for dark sections */
}

.page-promotions-first-deposit-bonus__intro-section,
.page-promotions-first-deposit-bonus__terms-section,
.page-promotions-first-deposit-bonus__cta-final-section {
    padding: 60px 20px;
    background-color: #1a1a2e; /* Dark background from body */
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__how-to-claim-section {
    padding: 60px 20px;
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__why-choose-section {
    padding: 60px 20px;
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-promotions-first-deposit-bonus__why-choose-section .page-promotions-first-deposit-bonus__section-title {
    color: #26A9E0; /* Brand color for title on light background */
}

.page-promotions-first-deposit-bonus__why-choose-section .page-promotions-first-deposit-bonus__text {
    color: #333333;
}

.page-promotions-first-deposit-bonus__why-choose-section .page-promotions-first-deposit-bonus__advantage-card {
    background-color: #f8f8f8;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-promotions-first-deposit-bonus__why-choose-section .page-promotions-first-deposit-bonus__advantage-title {
    color: #26A9E0;
}

.page-promotions-first-deposit-bonus__why-choose-section .page-promotions-first-deposit-bonus__advantage-description {
    color: #555555;
}

.page-promotions-first-deposit-bonus__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-promotions-first-deposit-bonus__text p {
    margin-bottom: 15px;
}

.page-promotions-first-deposit-bonus__subsection-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for sub-titles */
    text-align: center;
}

.page-promotions-first-deposit-bonus__list {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 30px;
    color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-promotions-first-deposit-bonus__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-promotions-first-deposit-bonus__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* How to Claim Section */
.page-promotions-first-deposit-bonus__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__step-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-promotions-first-deposit-bonus__step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Terms and Conditions Section */
.page-promotions-first-deposit-bonus__terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__term-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__term-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color */
}

.page-promotions-first-deposit-bonus__term-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Why Choose Section */
.page-promotions-first-deposit-bonus__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__advantage-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-promotions-first-deposit-bonus__advantage-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-promotions-first-deposit-bonus__advantage-description {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-promotions-first-deposit-bonus__faq-section {
    padding: 60px 20px;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__faq-list {
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-promotions-first-deposit-bonus__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions-first-deposit-bonus__faq-item[open] .page-promotions-first-deposit-bonus__faq-question {
    background-color: #26A9E0;
}

.page-promotions-first-deposit-bonus__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #ffffff;
}

.page-promotions-first-deposit-bonus__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions-first-deposit-bonus__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

/* Details element specific styling for FAQ */
.page-promotions-first-deposit-bonus__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-promotions-first-deposit-bonus__faq-item summary::-webkit-details-marker,
.page-promotions-first-deposit-bonus__faq-item summary::marker {
    display: none; /* Hide custom marker for webkit and standard */
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-promotions-first-deposit-bonus__hero-title {
        font-size: 2em;
    }

    .page-promotions-first-deposit-bonus__hero-description {
        font-size: 1em;
    }

    .page-promotions-first-deposit-bonus__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-promotions-first-deposit-bonus__btn-primary,
    .page-promotions-first-deposit-bonus__btn-secondary,
    .page-promotions-first-deposit-bonus a[class*="button"],
    .page-promotions-first-deposit-bonus 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-promotions-first-deposit-bonus__section-title {
        font-size: 1.8em;
    }

    .page-promotions-first-deposit-bonus__subsection-title {
        font-size: 1.5em;
    }

    .page-promotions-first-deposit-bonus__text,
    .page-promotions-first-deposit-bonus__list-item,
    .page-promotions-first-deposit-bonus__step-description,
    .page-promotions-first-deposit-bonus__term-description,
    .page-promotions-first-deposit-bonus__advantage-description,
    .page-promotions-first-deposit-bonus__faq-qtext,
    .page-promotions-first-deposit-bonus__faq-answer p {
        font-size: 0.95em;
    }

    .page-promotions-first-deposit-bonus__steps-grid,
    .page-promotions-first-deposit-bonus__terms-grid,
    .page-promotions-first-deposit-bonus__advantages-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile image and video responsive adaptation */
    .page-promotions-first-deposit-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-first-deposit-bonus video,
    .page-promotions-first-deposit-bonus__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-first-deposit-bonus__section,
    .page-promotions-first-deposit-bonus__card,
    .page-promotions-first-deposit-bonus__container,
    .page-promotions-first-deposit-bonus__video-section,
    .page-promotions-first-deposit-bonus__video-container,
    .page-promotions-first-deposit-bonus__video-wrapper,
    .page-promotions-first-deposit-bonus__cta-buttons,
    .page-promotions-first-deposit-bonus__button-group,
    .page-promotions-first-deposit-bonus__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-promotions-first-deposit-bonus__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-promotions-first-deposit-bonus__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-promotions-first-deposit-bonus__faq-answer {
        padding: 15px 20px;
    }
}