/* style/promotions-daily-bonuses.css */
.page-promotions-daily-bonuses {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--secondary-color); /* Matches shared.css body background */
}

.page-promotions-daily-bonuses__dark-bg {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-promotions-daily-bonuses__light-bg {
    background-color: var(--secondary-color);
    color: #333333;
}

.page-promotions-daily-bonuses__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-promotions-daily-bonuses__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-daily-bonuses__section-title,
.page-promotions-daily-bonuses__cta-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section */
}

.page-promotions-daily-bonuses__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-bonuses__highlight {
    color: #C30808;
    font-weight: bold;
}

/* Hero Section */
.page-promotions-daily-bonuses__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
}

.page-promotions-daily-bonuses__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-promotions-daily-bonuses__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-promotions-daily-bonuses__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-promotions-daily-bonuses__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    margin-top: -100px; /* Overlap image slightly */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 8px;
}

.page-promotions-daily-bonuses__hero-title {
    font-size: 48px;
    margin-bottom: 15px;
    color: #FFFF00; /* Register/Login font color */
    font-weight: 900;
}

.page-promotions-daily-bonuses__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-bonuses__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-daily-bonuses__cta-button:hover {
    background: #a30606;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-bonuses__cta-button--large {
    padding: 20px 50px;
    font-size: 22px;
}

/* Grid for Cards */
.page-promotions-daily-bonuses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions-daily-bonuses__card {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-bonuses__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-bonuses__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-promotions-daily-bonuses__card-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-promotions-daily-bonuses__card-description {
    font-size: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions-daily-bonuses__btn-primary,
.page-promotions-daily-bonuses__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-daily-bonuses__btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.page-promotions-daily-bonuses__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-promotions-daily-bonuses__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    margin-left: 15px;
}

.page-promotions-daily-bonuses__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-promotions-daily-bonuses__button-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Lists */
.page-promotions-daily-bonuses__ordered-list,
.page-promotions-daily-bonuses__unordered-list {
    list-style-position: inside;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 17px;
    line-height: 1.8;
    padding-left: 20px;
}

.page-promotions-daily-bonuses__ordered-list li,
.page-promotions-daily-bonuses__unordered-list li {
    margin-bottom: 10px;
}

.page-promotions-daily-bonuses__link {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-daily-bonuses__link:hover {
    color: #005a2e;
}

/* FAQ Section */
.page-promotions-daily-bonuses__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-promotions-daily-bonuses__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-daily-bonuses__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-promotions-daily-bonuses__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-promotions-daily-bonuses__faq-question:active {
    background: #eeeeee;
}

.page-promotions-daily-bonuses__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-promotions-daily-bonuses__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-promotions-daily-bonuses__faq-item.active .page-promotions-daily-bonuses__faq-toggle {
    transform: rotate(45deg); /* Changed to rotate for a plus/minus effect */
    color: #C30808;
}

.page-promotions-daily-bonuses__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.page-promotions-daily-bonuses__faq-item.active .page-promotions-daily-bonuses__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
}

.page-promotions-daily-bonuses__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-daily-bonuses__hero-title {
        font-size: 40px;
    }
    .page-promotions-daily-bonuses__hero-description {
        font-size: 18px;
    }
    .page-promotions-daily-bonuses__section-title,
    .page-promotions-daily-bonuses__cta-title {
        font-size: 30px;
    }
    .page-promotions-daily-bonuses__text-block {
        font-size: 17px;
    }
    .page-promotions-daily-bonuses__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-bonuses__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions-daily-bonuses__hero-title {
        font-size: 32px;
    }
    .page-promotions-daily-bonuses__hero-description {
        font-size: 16px;
    }
    .page-promotions-daily-bonuses__hero-content {
        margin-top: -50px; /* Adjust overlap for mobile */
        padding: 15px;
    }
    .page-promotions-daily-bonuses__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions-daily-bonuses__cta-button--large {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-promotions-daily-bonuses__section {
        padding: 40px 0;
    }
    .page-promotions-daily-bonuses__section-title,
    .page-promotions-daily-bonuses__cta-title {
        font-size: 24px;
    }
    .page-promotions-daily-bonuses__text-block,
    .page-promotions-daily-bonuses__ordered-list,
    .page-promotions-daily-bonuses__unordered-list,
    .page-promotions-daily-bonuses__faq-answer p {
        font-size: 15px;
        text-align: left;
    }
    .page-promotions-daily-bonuses__card {
        padding: 20px;
    }
    .page-promotions-daily-bonuses__card-title {
        font-size: 20px;
    }
    .page-promotions-daily-bonuses__card-description {
        font-size: 15px;
    }
    .page-promotions-daily-bonuses__btn-primary,
    .page-promotions-daily-bonuses__btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
        margin-left: 0; /* Remove margin for stacked buttons */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions-daily-bonuses__button-group {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions-daily-bonuses__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions-daily-bonuses__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-promotions-daily-bonuses__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 22px;
    }
    .page-promotions-daily-bonuses__faq-answer {
        padding: 0 15px;
    }
    .page-promotions-daily-bonuses__faq-item.active .page-promotions-daily-bonuses__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images are responsive and don't overflow */
    .page-promotions-daily-bonuses img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions-daily-bonuses__section,
    .page-promotions-daily-bonuses__card,
    .page-promotions-daily-bonuses__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions-daily-bonuses__hero-title {
        font-size: 28px;
    }
    .page-promotions-daily-bonuses__hero-description {
        font-size: 15px;
    }
    .page-promotions-daily-bonuses__section-title,
    .page-promotions-daily-bonuses__cta-title {
        font-size: 22px;
    }
    .page-promotions-daily-bonuses__cta-button--large {
        font-size: 16px;
        padding: 12px 25px;
    }
    .page-promotions-daily-bonuses__card-image {
        height: 180px;
    }
    .page-promotions-daily-bonuses__faq-question h3 {
        font-size: 15px;
    }
}