/* style/promotions-daily-bonus.css */
/* Custom Colors */
:root {
    --page-promotions-daily-bonus-primary-color: #11A84E;
    --page-promotions-daily-bonus-secondary-color: #22C768;
    --page-promotions-daily-bonus-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-promotions-daily-bonus-card-bg: #11271B;
    --page-promotions-daily-bonus-background: #08160F;
    --page-promotions-daily-bonus-text-main: #F2FFF6;
    --page-promotions-daily-bonus-text-secondary: #A7D9B8;
    --page-promotions-daily-bonus-border: #2E7A4E;
    --page-promotions-daily-bonus-glow: #57E38D;
    --page-promotions-daily-bonus-gold: #F2C14E;
    --page-promotions-daily-bonus-divider: #1E3A2A;
    --page-promotions-daily-bonus-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-promotions-daily-bonus {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-promotions-daily-bonus-text-main); /* Default text color for dark background */
    background-color: var(--page-promotions-daily-bonus-background); /* Overall dark background */
}

/* Section styling */
.page-promotions-daily-bonus__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.page-promotions-daily-bonus__dark-section {
    background-color: var(--page-promotions-daily-bonus-background);
    color: var(--page-promotions-daily-bonus-text-main);
}

.page-promotions-daily-bonus__light-bg {
    background-color: #f8f8f8; /* A light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions-daily-bonus__light-bg .page-promotions-daily-bonus__section-title,
.page-promotions-daily-bonus__light-bg .page-promotions-daily-bonus__sub-title,
.page-promotions-daily-bonus__light-bg .page-promotions-daily-bonus__card-title,
.page-promotions-daily-bonus__light-bg .page-promotions-daily-bonus__link-title {
    color: #000000; /* Ensure dark titles on light background */
}

.page-promotions-daily-bonus__light-bg p,
.page-promotions-daily-bonus__light-bg li,
.page-promotions-daily-bonus__light-bg .page-promotions-daily-bonus__card-text,
.page-promotions-daily-bonus__light-bg .page-promotions-daily-bonus__link-description {
    color: #333333; /* Ensure dark text on light background */
}

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

/* Hero Section */
.page-promotions-daily-bonus__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-daily-bonus__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions-daily-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions-daily-bonus__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    z-index: 1; /* Ensure content is above any potential background layers */
    color: var(--page-promotions-daily-bonus-text-main);
    background-color: var(--page-promotions-daily-bonus-deep-green); /* Dark background for text for contrast */
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly with the image for visual flow */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-bonus__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--page-promotions-daily-bonus-text-main);
    line-height: 1.2;
}

.page-promotions-daily-bonus__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--page-promotions-daily-bonus-text-secondary);
}

/* Buttons */
.page-promotions-daily-bonus__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.page-promotions-daily-bonus__btn-primary,
.page-promotions-daily-bonus__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-promotions-daily-bonus__btn-primary {
    background: var(--page-promotions-daily-bonus-button-gradient);
    color: var(--page-promotions-daily-bonus-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-bonus__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-daily-bonus__btn-secondary:hover {
    background-color: var(--page-promotions-daily-bonus-primary-color);
    color: var(--page-promotions-daily-bonus-text-main);
    transform: translateY(-2px);
}

/* Titles */
.page-promotions-daily-bonus__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    color: var(--page-promotions-daily-bonus-text-main); /* Default for dark sections */
}

.page-promotions-daily-bonus__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--page-promotions-daily-bonus-primary-color);
}

/* Text blocks */
.page-promotions-daily-bonus__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-promotions-daily-bonus-text-secondary);
}

/* Image with text layout */
.page-promotions-daily-bonus__image-text-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-promotions-daily-bonus__image-wrapper {
    width: 100%;
    max-width: 600px;
}

.page-promotions-daily-bonus__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-promotions-daily-bonus__text-content {
    text-align: left;
    max-width: 600px;
}

/* Lists */
.page-promotions-daily-bonus__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.page-promotions-daily-bonus__list-item {
    font-size: 1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--page-promotions-daily-bonus-text-secondary);
}

.page-promotions-daily-bonus__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--page-promotions-daily-bonus-primary-color);
}

/* Feature cards */
.page-promotions-daily-bonus__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-bonus__feature-card {
    background-color: var(--page-promotions-daily-bonus-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid var(--page-promotions-daily-bonus-border);
    color: var(--page-promotions-daily-bonus-text-main);
}

.page-promotions-daily-bonus__card-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-promotions-daily-bonus-gold);
}

.page-promotions-daily-bonus__card-text {
    font-size: 0.95em;
    color: var(--page-promotions-daily-bonus-text-secondary);
}

/* CTA center */
.page-promotions-daily-bonus__cta-center {
    margin-top: 40px;
}

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

.page-promotions-daily-bonus__faq-item {
    background-color: var(--page-promotions-daily-bonus-card-bg);
    border: 1px solid var(--page-promotions-daily-bonus-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-promotions-daily-bonus-text-main);
}

.page-promotions-daily-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--page-promotions-daily-bonus-deep-green);
    color: var(--page-promotions-daily-bonus-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-promotions-daily-bonus__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-promotions-daily-bonus__faq-question:hover {
    background-color: var(--page-promotions-daily-bonus-primary-color);
}

.page-promotions-daily-bonus__faq-qtext {
    flex-grow: 1;
    color: var(--page-promotions-daily-bonus-text-main);
}

.page-promotions-daily-bonus__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-promotions-daily-bonus-gold);
}

.page-promotions-daily-bonus__faq-answer {
    padding: 15px 25px;
    font-size: 0.95em;
    color: var(--page-promotions-daily-bonus-text-secondary);
    background-color: var(--page-promotions-daily-bonus-card-bg);
}

.page-promotions-daily-bonus__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section with image */
.page-promotions-daily-bonus__cta-section .page-promotions-daily-bonus__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.page-promotions-daily-bonus__cta-content {
    max-width: 700px;
}

.page-promotions-daily-bonus__cta-image-wrapper {
    width: 100%;
    max-width: 600px;
}

/* Related Links */
.page-promotions-daily-bonus__related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions-daily-bonus__link-card {
    display: block;
    background-color: var(--page-promotions-daily-bonus-card-bg);
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--page-promotions-daily-bonus-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-promotions-daily-bonus-border);
}

.page-promotions-daily-bonus__link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-bonus__link-title {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-promotions-daily-bonus-gold);
}

.page-promotions-daily-bonus__link-description {
    font-size: 0.9em;
    color: var(--page-promotions-daily-bonus-text-secondary);
}

/* Global link styling for light background sections */
.page-promotions-daily-bonus__light-bg a {
    color: var(--page-promotions-daily-bonus-primary-color);
    text-decoration: underline;
}

.page-promotions-daily-bonus__light-bg a:hover {
    color: var(--page-promotions-daily-bonus-deep-green);
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-promotions-daily-bonus__image-text-layout {
        flex-direction: row;
        text-align: left;
    }
    .page-promotions-daily-bonus__image-text-layout:nth-of-type(even) {
        flex-direction: row-reverse;
    }
    .page-promotions-daily-bonus__image-wrapper,
    .page-promotions-daily-bonus__text-content {
        flex: 1;
    }
    .page-promotions-daily-bonus__cta-section .page-promotions-daily-bonus__container {
        flex-direction: row;
        text-align: left;
    }
    .page-promotions-daily-bonus__cta-section .page-promotions-daily-bonus__cta-image-wrapper {
        order: 2; /* Image on right */
    }
    .page-promotions-daily-bonus__cta-section .page-promotions-daily-bonus__cta-content {
        order: 1; /* Content on left */
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-bonus__section {
        padding: 40px 15px;
    }

    .page-promotions-daily-bonus__hero-content {
        margin-top: -40px; /* Less overlap on mobile */
        padding: 25px 15px;
    }

    .page-promotions-daily-bonus__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-promotions-daily-bonus__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions-daily-bonus__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-promotions-daily-bonus__btn-primary,
    .page-promotions-daily-bonus__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions-daily-bonus__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-promotions-daily-bonus__sub-title {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    .page-promotions-daily-bonus__image-text-layout {
        flex-direction: column;
    }

    .page-promotions-daily-bonus__text-content {
        text-align: center;
    }

    .page-promotions-daily-bonus__list {
        text-align: left; /* Keep list left aligned */
        padding-left: 15px; /* Adjust padding for mobile */
    }

    .page-promotions-daily-bonus__list-item {
        padding-left: 25px;
    }

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

    .page-promotions-daily-bonus__faq-toggle {
        font-size: 1.3em;
    }

    .page-promotions-daily-bonus__faq-answer {
        padding: 10px 20px;
    }

    /* Mobile image adaptation */
    .page-promotions-daily-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }
    
    .page-promotions-daily-bonus__section,
    .page-promotions-daily-bonus__card,
    .page-promotions-daily-bonus__container,
    .page-promotions-daily-bonus__hero-section,
    .page-promotions-daily-bonus__hero-content,
    .page-promotions-daily-bonus__image-wrapper,
    .page-promotions-daily-bonus__text-content,
    .page-promotions-daily-bonus__cta-section .page-promotions-daily-bonus__container,
    .page-promotions-daily-bonus__cta-content,
    .page-promotions-daily-bonus__cta-image-wrapper,
    .page-promotions-daily-bonus__related-links,
    .page-promotions-daily-bonus__link-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-daily-bonus__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Ensure link cards wrap and maintain padding */
    .page-promotions-daily-bonus__related-links {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-daily-bonus__link-card {
        padding: 20px 15px;
    }
}