/* style/promotions-daily-weekly-bonuses.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a; /* Assuming a dark body background from shared.css */
    --login-color: #EA7C07;
}

.page-promotions-daily-weekly-bonuses {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text for potentially dark body background */
    background-color: var(--bg-dark); /* Ensure consistency with expected shared.css body background */
}

.page-promotions-daily-weekly-bonuses__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-promotions-daily-weekly-bonuses__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

.page-promotions-daily-weekly-bonuses__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--text-light);
}

.page-promotions-daily-weekly-bonuses__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-promotions-daily-weekly-bonuses__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-promotions-daily-weekly-bonuses__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions-daily-weekly-bonuses__btn-primary,
.page-promotions-daily-weekly-bonuses__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-promotions-daily-weekly-bonuses__btn-primary {
    background-color: var(--login-color); /* Custom color for login/register */
    color: var(--text-light);
    border: 2px solid var(--login-color);
}

.page-promotions-daily-weekly-bonuses__btn-primary:hover {
    background-color: darken(var(--login-color), 10%);
    border-color: darken(var(--login-color), 10%);
}

.page-promotions-daily-weekly-bonuses__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

.page-promotions-daily-weekly-bonuses__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-weekly-bonuses__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-promotions-daily-weekly-bonuses__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-promotions-daily-weekly-bonuses__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions-daily-weekly-bonuses__card {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.page-promotions-daily-weekly-bonuses__card:hover {
    transform: translateY(-5px);
}

.page-promotions-daily-weekly-bonuses__card-image {
    width: 100%; /* Ensure large image for card */
    height: auto;
    max-width: 400px; /* Example display size */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-promotions-daily-weekly-bonuses__card-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-promotions-daily-weekly-bonuses__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions-daily-weekly-bonuses__feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
}

.page-promotions-daily-weekly-bonuses__feature-icon {
    width: 100%; /* Ensure large image for feature */
    height: auto;
    max-width: 300px; /* Example display size */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-promotions-daily-weekly-bonuses__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions-daily-weekly-bonuses__feature-text {
    font-size: 0.95em;
    line-height: 1.6;
}

.page-promotions-daily-weekly-bonuses__rebate-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions-daily-weekly-bonuses__rebate-card {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.page-promotions-daily-weekly-bonuses__rebate-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-daily-weekly-bonuses__rebate-description {
    font-size: 1.05em;
    line-height: 1.7;
}

.page-promotions-daily-weekly-bonuses__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-promotions-daily-weekly-bonuses__list-item {
    background-color: #f2faff;
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-promotions-daily-weekly-bonuses__list-item strong {
    color: var(--primary-color);
}

.page-promotions-daily-weekly-bonuses__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-daily-weekly-bonuses__list-item a:hover {
    color: darken(var(--primary-color), 10%);
}

.page-promotions-daily-weekly-bonuses__terms-list {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.page-promotions-daily-weekly-bonuses__terms-list .page-promotions-daily-weekly-bonuses__list-item {
    background-color: transparent;
    border-left: none;
    padding: 5px 0;
    margin-bottom: 10px;
    font-size: 1em;
}

.page-promotions-daily-weekly-bonuses__terms-list .page-promotions-daily-weekly-bonuses__list-item a {
    color: var(--primary-color);
}

.page-promotions-daily-weekly-bonuses__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions-daily-weekly-bonuses__benefit-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.page-promotions-daily-weekly-bonuses__benefit-icon {
    width: 100%; /* Ensure large image for benefit */
    height: auto;
    max-width: 300px; /* Example display size */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-promotions-daily-weekly-bonuses__benefit-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-daily-weekly-bonuses__benefit-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-promotions-daily-weekly-bonuses__faq-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions-daily-weekly-bonuses__faq-item {
    background-color: #f2faff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-promotions-daily-weekly-bonuses__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--secondary-color);
    border-bottom: 1px solid #e0e0e0;
}

.page-promotions-daily-weekly-bonuses__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
}

.page-promotions-daily-weekly-bonuses__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions-daily-weekly-bonuses__faq-answer {
    max-height: 0; /* Initial state: collapsed */
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promotions-daily-weekly-bonuses__faq-item.active .page-promotions-daily-weekly-bonuses__faq-answer {
    max-height: 1000px !important; /* Expanded state */
    padding: 20px;
}

.page-promotions-daily-weekly-bonuses__faq-item.active .page-promotions-daily-weekly-bonuses__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-daily-weekly-bonuses__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-promotions-daily-weekly-bonuses__cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-weekly-bonuses__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-promotions-daily-weekly-bonuses__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-daily-weekly-bonuses__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-daily-weekly-bonuses__section-title {
        font-size: 2em;
    }
    .page-promotions-daily-weekly-bonuses__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-weekly-bonuses {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-daily-weekly-bonuses__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile */
    }

    .page-promotions-daily-weekly-bonuses__hero-title {
        font-size: 2.2em;
    }

    .page-promotions-daily-weekly-bonuses__hero-description {
        font-size: 1em;
    }

    .page-promotions-daily-weekly-bonuses__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-promotions-daily-weekly-bonuses__btn-primary,
    .page-promotions-daily-weekly-bonuses__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promotions-daily-weekly-bonuses__content-area,
    .page-promotions-daily-weekly-bonuses__cta-section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-daily-weekly-bonuses__section-title {
        font-size: 1.8em;
    }

    .page-promotions-daily-weekly-bonuses__text-block {
        font-size: 0.95em;
    }

    .page-promotions-daily-weekly-bonuses__card-grid,
    .page-promotions-daily-weekly-bonuses__feature-list,
    .page-promotions-daily-weekly-bonuses__rebate-types,
    .page-promotions-daily-weekly-bonuses__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-daily-weekly-bonuses__card,
    .page-promotions-daily-weekly-bonuses__feature-item,
    .page-promotions-daily-weekly-bonuses__rebate-card,
    .page-promotions-daily-weekly-bonuses__benefit-card {
        padding: 20px;
    }

    .page-promotions-daily-weekly-bonuses__card-image,
    .page-promotions-daily-weekly-bonuses__feature-icon,
    .page-promotions-daily-weekly-bonuses__benefit-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-daily-weekly-bonuses__cta-title {
        font-size: 2em;
    }

    .page-promotions-daily-weekly-bonuses__cta-description {
        font-size: 1em;
    }

    .page-promotions-daily-weekly-bonuses__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-promotions-daily-weekly-bonuses__faq-answer {
        padding: 0 15px;
    }

    .page-promotions-daily-weekly-bonuses__faq-item.active .page-promotions-daily-weekly-bonuses__faq-answer {
        padding: 15px;
    }
    
    /* Ensure content area images (img within .page-promotions-daily-weekly-bonuses) are responsive */
    .page-promotions-daily-weekly-bonuses img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers that might hold images or other content */
    .page-promotions-daily-weekly-bonuses__section,
    .page-promotions-daily-weekly-bonuses__card,
    .page-promotions-daily-weekly-bonuses__container,
    .page-promotions-daily-weekly-bonuses__hero-section,
    .page-promotions-daily-weekly-bonuses__content-area,
    .page-promotions-daily-weekly-bonuses__cta-section,
    .page-promotions-daily-weekly-bonuses__card-grid,
    .page-promotions-daily-weekly-bonuses__feature-list,
    .page-promotions-daily-weekly-bonuses__rebate-types,
    .page-promotions-daily-weekly-bonuses__benefits-grid,
    .page-promotions-daily-weekly-bonuses__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Specific padding for content sections to prevent edge-to-edge content */
    .page-promotions-daily-weekly-bonuses__content-area,
    .page-promotions-daily-weekly-bonuses__cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Color Contrast Safeguards */
.page-promotions-daily-weekly-bonuses__dark-bg {
  color: var(--text-light); /* Deep background, light text */
  background: var(--primary-color);
}

.page-promotions-daily-weekly-bonuses__light-bg {
  color: var(--text-dark); /* Light background, dark text */
  background: var(--bg-light);
}

/* Ensure text in primary color has enough contrast on light backgrounds */
.page-promotions-daily-weekly-bonuses__section-title,
.page-promotions-daily-weekly-bonuses__card-title,
.page-promotions-daily-weekly-bonuses__feature-title,
.page-promotions-daily-weekly-bonuses__faq-question h3,
.page-promotions-daily-weekly-bonuses__list-item strong,
.page-promotions-daily-weekly-bonuses__list-item a {
    color: var(--primary-color);
}

/* Buttons contrast */
.page-promotions-daily-weekly-bonuses__btn-primary {
  background: var(--login-color);
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-promotions-daily-weekly-bonuses__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions-daily-weekly-bonuses__rebate-card {
  background-color: var(--primary-color);
  color: var(--text-light);
}