/* style/promotions.css */

:root {
    --primary-color: #017439; /* Main brand green */
    --secondary-color: #FFFFFF; /* White */
    --register-button-color: #C30808; /* Red for register */
    --login-button-color: #C30808; /* Red for login */
    --text-on-register-login: #FFFF00; /* Yellow for text on register/login */
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --background-light: #f9f9f9;
    --background-dark: #017439; /* Using primary color as dark background for sections */
    --border-color: #e0e0e0;
}

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

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--dark-text-color);
}

/* Light background section */
.page-promotions__light-bg {
    background-color: var(--background-light);
    color: var(--dark-text-color);
}

/* Dark background section */
.page-promotions__dark-bg {
    background-color: var(--background-dark);
    color: var(--light-text-color);
}

.page-promotions__dark-bg .page-promotions__section-title {
    color: var(--light-text-color);
}

.page-promotions__dark-bg .page-promotions__section-description {
    color: var(--light-text-color);
}

/* Hero Section */
.page-promotions__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); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color), #004d2b); /* Gradient for hero section background */
}

.page-promotions__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__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter changes image color */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--light-text-color);
}

.page-promotions__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--light-text-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--light-text-color);
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--register-button-color); /* Specific color for CTA */
    color: var(--text-on-register-login); /* Specific text color for CTA */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure responsive on mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    background: #a80707; /* Darken on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Promo Grid Section (Overview) */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-card {
    background: var(--secondary-color);
    border-radius: 10px;
    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;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

.page-promotions__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-card p {
    font-size: 16px;
    color: var(--dark-text-color);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsive on mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
    background: #005f30;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure responsive on mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

/* Deposit Bonus Section */
.page-promotions__deposit-bonus-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotions__bonus-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__bonus-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__bonus-item img {
    width: 250px;
    
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Minimum size for content images */
    min-
}

.page-promotions__bonus-content h3 {
    font-size: 22px;
    color: var(--light-text-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-promotions__bonus-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* Cashback Section */
.page-promotions__cashback-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotions__promo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__feature-item {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__feature-item img {
    
    
    object-fit: contain; /* Use contain for icons/logos */
    margin-bottom: 15px;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Minimum size for content images */
    min-
}

.page-promotions__feature-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-promotions__feature-item p {
    font-size: 15px;
    color: var(--dark-text-color);
}

.page-promotions__button-group {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Special Offers Section */
.page-promotions__special-offers-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotions__special-promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__special-promo-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__special-promo-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Minimum size for content images */
    min-
}

.page-promotions__special-promo-item h3 {
    font-size: 22px;
    color: var(--light-text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__special-promo-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    color: var(--dark-text-color);
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* FAQ container styles */
.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--secondary-color); /* White background for FAQ item */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* FAQ default state - answer hidden */
.page-promotions__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.3s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--dark-text-color); /* Text color for answer */
}

/* FAQ expanded state - 🚨 Use !important and sufficiently large max-height */
.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important; /* 🚨 Use !important to ensure priority, value large enough for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: var(--background-light); /* Light background for expanded answer */
    border-radius: 0 0 5px 5px;
}

/* Question styles */
.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--dark-text-color); /* Text color for question */
}

.page-promotions__faq-question:hover {
    background: var(--background-light);
    border-color: #d0d0d0;
}

.page-promotions__faq-question:active {
    background: #eeeeee;
}

/* Question title style */
.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: var(--primary-color); /* Primary color for question title */
}

/* Toggle icon */
.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color); /* Primary color for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Rotate for minus sign visual */
}

/* CTA Bottom Section */
.page-promotions__cta-bottom-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-promotions__cta-bottom-section .page-promotions__section-title {
    color: var(--primary-color);
}

.page-promotions__cta-bottom-section .page-promotions__section-description {
    color: var(--dark-text-color);
}

.page-promotions__cta-bottom-section .page-promotions__button-group {
    margin-top: 40px;
}

.page-promotions__cta-button--register {
    background: var(--register-button-color);
    color: var(--text-on-register-login);
}

.page-promotions__cta-button--register:hover {
    background: #a80707;
}

.page-promotions__cta-button--login {
    background: var(--login-button-color);
    color: var(--text-on-register-login);
}

.page-promotions__cta-button--login:hover {
    background: #a80707;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 40px;
    }

    .page-promotions__hero-description {
        font-size: 18px;
    }

    .page-promotions__section-title {
        font-size: 30px;
    }

    .page-promotions__section-description {
        font-size: 16px;
    }

    .page-promotions__promo-card img,
    .page-promotions__special-promo-item img {
        width: 100%;
        height: auto;
    }

    .page-promotions__bonus-item {
        flex-direction: column;
        text-align: center;
    }
}