/* style/promotions-daily-check-in.css */

/* Base styles for the page content */
.page-promotions-daily-check-in {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark body background */
    background-color: var(--black-color); /* Inherited from shared, assuming it's dark */
}

/* Container for consistent content width */
.page-promotions-daily-check-in__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions-daily-check-in__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #26A9E0; /* Brand primary color for hero */
    color: #FFFFFF;
}

.page-promotions-daily-check-in__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-promotions-daily-check-in__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-promotions-daily-check-in__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Section titles */
.page-promotions-daily-check-in__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: #26A9E0; /* Brand primary color for titles */
}

/* Text blocks */
.page-promotions-daily-check-in__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
    text-align: justify;
}

/* Buttons */
.page-promotions-daily-check-in__btn-primary,
.page-promotions-daily-check-in__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;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-daily-check-in__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    margin: 10px;
}

.page-promotions-daily-check-in__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-promotions-daily-check-in__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color for text */
    border: 2px solid #26A9E0;
    margin: 10px;
}

.page-promotions-daily-check-in__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1e87b7;
    border-color: #1e87b7;
}

/* General Section Styling */
.page-promotions-daily-check-in__introduction-section,
.page-promotions-daily-check-in__rewards-section,
.page-promotions-daily-check-in__faq-section,
.page-promotions-daily-check-in__video-section {
    padding: 60px 0;
    background-color: var(--black-color); /* Ensure consistent dark background */
    color: #f0f0f0;
}

.page-promotions-daily-check-in__how-to-participate-section,
.page-promotions-daily-check-in__tips-section,
.page-promotions-daily-check-in__cta-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand primary color for contrast sections */
    color: #FFFFFF;
}

.page-promotions-daily-check-in__how-to-participate-section .page-promotions-daily-check-in__section-title,
.page-promotions-daily-check-in__tips-section .page-promotions-daily-check-in__section-title,
.page-promotions-daily-check-in__cta-section .page-promotions-daily-check-in__section-title {
    color: #FFFFFF; /* White titles on primary background */
}

.page-promotions-daily-check-in__how-to-participate-section .page-promotions-daily-check-in__text-block,
.page-promotions-daily-check-in__tips-section .page-promotions-daily-check-in__text-block,
.page-promotions-daily-check-in__cta-section .page-promotions-daily-check-in__text-block {
    color: #f0f0f0;
}

/* Image wrapper for content images */
.page-promotions-daily-check-in__image-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

.page-promotions-daily-check-in__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Steps Grid */
.page-promotions-daily-check-in__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-promotions-daily-check-in__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-promotions-daily-check-in__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-promotions-daily-check-in__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-promotions-daily-check-in__rules-list {
    list-style-type: disc;
    text-align: left;
    margin-left: 20px;
    color: #f0f0f0;
}

.page-promotions-daily-check-in__rules-list li {
    margin-bottom: 10px;
}

/* Rewards Grid */
.page-promotions-daily-check-in__rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-promotions-daily-check-in__reward-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-promotions-daily-check-in__reward-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand primary for titles */
}

.page-promotions-daily-check-in__reward-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Tips List */
.page-promotions-daily-check-in__tips-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-promotions-daily-check-in__tips-list li {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    color: #FFFFFF;
}

.page-promotions-daily-check-in__tips-list li strong {
    color: #FFFFFF; /* Ensure strong text is visible */
}

/* Video Section */
.page-promotions-daily-check-in__video-section {
    padding: 60px 0;
    background-color: var(--black-color);
    color: #f0f0f0;
    text-align: center;
}

.page-promotions-daily-check-in__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-check-in__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer; /* Indicate clickable */
}

/* FAQ Section */
.page-promotions-daily-check-in__faq-section {
    padding: 60px 0;
    background-color: var(--black-color);
    color: #f0f0f0;
}

.page-promotions-daily-check-in__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions-daily-check-in__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-check-in__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-promotions-daily-check-in__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-daily-check-in__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #FFFFFF;
}

.page-promotions-daily-check-in__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-promotions-daily-check-in__faq-item.active .page-promotions-daily-check-in__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-promotions-daily-check-in__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
    color: #f0f0f0;
}

.page-promotions-daily-check-in__faq-item.active .page-promotions-daily-check-in__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px;
}

.page-promotions-daily-check-in__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
}

/* CTA Section */
.page-promotions-daily-check-in__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
}

.page-promotions-daily-check-in__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-promotions-daily-check-in__hero-title {
        font-size: 3em;
    }
    .page-promotions-daily-check-in__section-title {
        font-size: 2em;
    }
}

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

    .page-promotions-daily-check-in__container {
        padding: 0 15px;
    }

    .page-promotions-daily-check-in__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-promotions-daily-check-in__hero-title {
        font-size: 2.2em;
    }

    .page-promotions-daily-check-in__hero-description {
        font-size: 1em;
    }

    .page-promotions-daily-check-in__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions-daily-check-in__text-block {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-promotions-daily-check-in img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-promotions-daily-check-in__introduction-section,
    .page-promotions-daily-check-in__how-to-participate-section,
    .page-promotions-daily-check-in__rewards-section,
    .page-promotions-daily-check-in__tips-section,
    .page-promotions-daily-check-in__video-section,
    .page-promotions-daily-check-in__faq-section,
    .page-promotions-daily-check-in__cta-section,
    .page-promotions-daily-check-in__container,
    .page-promotions-daily-check-in__image-wrapper,
    .page-promotions-daily-check-in__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    /* Video responsiveness */
    .page-promotions-daily-check-in video,
    .page-promotions-daily-check-in__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-daily-check-in__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .page-promotions-daily-check-in__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }

    /* Button responsiveness */
    .page-promotions-daily-check-in__btn-primary,
    .page-promotions-daily-check-in__btn-secondary,
    .page-promotions-daily-check-in a[class*="button"],
    .page-promotions-daily-check-in a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-promotions-daily-check-in__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px;
    }

    .page-promotions-daily-check-in__steps-grid,
    .page-promotions-daily-check-in__rewards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-daily-check-in__faq-item {
        margin-bottom: 10px;
    }

    .page-promotions-daily-check-in__faq-question {
        padding: 15px;
    }

    .page-promotions-daily-check-in__faq-question h3 {
        font-size: 1.1em;
    }

    .page-promotions-daily-check-in__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions-daily-check-in__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-daily-check-in__section-title {
        font-size: 1.5em;
    }
    .page-promotions-daily-check-in__btn-primary,
    .page-promotions-daily-check-in__btn-secondary {
        padding: 12px 20px;
    }
}