/* style/resources-188bet-homepage-promotions.css */

/* Base styles for the page content, adapting to dark body background */
.page-resources-188bet-homepage-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Main content area typically transparent to show body background */
}

.page-resources-188bet-homepage-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section specific styles */
.page-resources-188bet-homepage-promotions__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 80px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-resources-188bet-homepage-promotions__dark-bg {
    background-color: #017439; /* Main brand color for dark sections */
    color: #ffffff; /* White text on dark green */
}

.page-resources-188bet-homepage-promotions__light-bg {
    background-color: #ffffff; /* White background for light sections */
    color: #333333; /* Dark text on white */
}

.page-resources-188bet-homepage-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Make background image subtle */
}

.page-resources-188bet-homepage-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for main title as per register/login font color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-resources-188bet-homepage-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-resources-188bet-homepage-promotions__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-188bet-homepage-promotions__btn-primary,
.page-resources-188bet-homepage-promotions__btn-secondary {
    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;
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.page-resources-188bet-homepage-promotions__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-188bet-homepage-promotions__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-188bet-homepage-promotions__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

.page-resources-188bet-homepage-promotions__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439;
}

.page-resources-188bet-homepage-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-resources-188bet-homepage-promotions__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-resources-188bet-homepage-promotions__promotions-overview,
.page-resources-188bet-homepage-promotions__how-to-participate,
.page-resources-188bet-homepage-promotions__platform-highlights,
.page-resources-188bet-homepage-promotions__video-section,
.page-resources-188bet-homepage-promotions__faq-section,
.page-resources-188bet-homepage-promotions__conclusion {
    padding: 80px 0;
}

/* Promo Grid */
.page-resources-188bet-homepage-promotions__promo-grid,
.page-resources-188bet-homepage-promotions__steps-grid,
.page-resources-188bet-homepage-promotions__highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-188bet-homepage-promotions__card {
    background-color: #f8f8f8; /* Light background for cards */
    color: #333333; /* Dark text for cards */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-resources-188bet-homepage-promotions__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-188bet-homepage-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-resources-188bet-homepage-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for card titles */
}

.page-resources-188bet-homepage-promotions__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-188bet-homepage-promotions__card-button {
    background-color: #017439;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-188bet-homepage-promotions__card-button:hover {
    background-color: #005a2e;
}

/* How to Participate Section */
.page-resources-188bet-homepage-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-resources-188bet-homepage-promotions__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for step titles */
}

.page-resources-188bet-homepage-promotions__step-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-188bet-homepage-promotions__important-notes {
    margin-top: 60px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    color: #ffffff;
}

.page-resources-188bet-homepage-promotions__notes-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #FFFF00;
    text-align: center;
}

.page-resources-188bet-homepage-promotions__important-notes ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-resources-188bet-homepage-promotions__important-notes li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1em;
}

.page-resources-188bet-homepage-promotions__important-notes li::before {
    content: "\2713"; /* Checkmark icon */
    color: #FFFF00;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-resources-188bet-homepage-promotions__faq-contact-button {
    background-color: #C30808;
    color: #FFFF00;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-188bet-homepage-promotions__faq-contact-button:hover {
    background-color: #a00606;
}

/* Platform Highlights Section */
.page-resources-188bet-homepage-promotions__highlight-item {
    background-color: #f0f0f0; /* Slightly darker light background for contrast */
    color: #333333;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources-188bet-homepage-promotions__highlight-item img {
    width: 250px; /* Ensure minimum 200px */
    height: 200px; /* Ensure minimum 200px */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-resources-188bet-homepage-promotions__highlight-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-resources-188bet-homepage-promotions__highlight-text {
    font-size: 1em;
}

/* Video Section */
.page-resources-188bet-homepage-promotions__video-section {
    text-align: center;
}

.page-resources-188bet-homepage-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 12px;
}

.page-resources-188bet-homepage-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.page-resources-188bet-homepage-promotions__video-caption {
    margin-top: 15px;
    font-style: italic;
    color: #f0f0f0;
}

.page-resources-188bet-homepage-promotions__video-cta {
    margin-top: 30px;
}

/* FAQ Section */
.page-resources-188bet-homepage-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-resources-188bet-homepage-promotions__faq-item {
    background-color: #f0f0f0; /* Light background for FAQ items */
    color: #333333; /* Dark text for FAQ items */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-resources-188bet-homepage-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-188bet-homepage-promotions__faq-question h3 {
    margin: 0;
    color: #017439;
}

.page-resources-188bet-homepage-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-resources-188bet-homepage-promotions__faq-item.active .page-resources-188bet-homepage-promotions__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes cross */
}

.page-resources-188bet-homepage-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fcfcfc;
}

.page-resources-188bet-homepage-promotions__faq-item.active .page-resources-188bet-homepage-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-resources-188bet-homepage-promotions__faq-answer p {
    margin-bottom: 15px;
    color: #333333;
}

/* Conclusion Section */
.page-resources-188bet-homepage-promotions__conclusion {
    text-align: center;
}

.page-resources-188bet-homepage-promotions__conclusion-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-188bet-homepage-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-resources-188bet-homepage-promotions__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-188bet-homepage-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-188bet-homepage-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }

    .page-resources-188bet-homepage-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-resources-188bet-homepage-promotions__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .page-resources-188bet-homepage-promotions__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-188bet-homepage-promotions__btn-primary,
    .page-resources-188bet-homepage-promotions__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-resources-188bet-homepage-promotions__container {
        padding: 0 15px;
    }

    .page-resources-188bet-homepage-promotions__promotions-overview,
    .page-resources-188bet-homepage-promotions__how-to-participate,
    .page-resources-188bet-homepage-promotions__platform-highlights,
    .page-resources-188bet-homepage-promotions__video-section,
    .page-resources-188bet-homepage-promotions__faq-section,
    .page-resources-188bet-homepage-promotions__conclusion {
        padding: 60px 0;
    }

    .page-resources-188bet-homepage-promotions__section-title {
        font-size: 1.8em;
    }

    .page-resources-188bet-homepage-promotions__promo-grid,
    .page-resources-188bet-homepage-promotions__steps-grid,
    .page-resources-188bet-homepage-promotions__highlights-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-188bet-homepage-promotions__card,
    .page-resources-188bet-homepage-promotions__step-item,
    .page-resources-188bet-homepage-promotions__highlight-item {
        padding: 20px;
    }

    /* Images responsive */
    .page-resources-188bet-homepage-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-188bet-homepage-promotions__card-image,
    .page-resources-188bet-homepage-promotions__highlight-item img {
        height: auto !important; /* Allow height to adjust */
        min-height: 200px !important; /* Still maintain minimum height */
    }
}