/* style/promotions-cashback.css */

:root {
    --fb88-primary-color: #0A1931;
    --fb88-secondary-color: #E6B325;
    --fb88-text-light: #F8F8F8;
    --fb88-text-dark: #333333;
    --fb88-background-dark: #0A1931;
    --fb88-background-light: #FFFFFF;
    --fb88-border-color: #3A4E6C;
}

.page-promotions-cashback {
    font-family: 'Arial', sans-serif;
    color: var(--fb88-text-light);
    background-color: var(--fb88-background-dark);
    line-height: 1.6;
}

.page-promotions-cashback__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions-cashback__hero-section {
    background: linear-gradient(135deg, var(--fb88-primary-color) 0%, #1a2a47 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--fb88-secondary-color);
}

.page-promotions-cashback__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,dark_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-promotions-cashback__hero-section > .page-promotions-cashback__container {
    position: relative;
    z-index: 1;
}

.page-promotions-cashback__hero-title {
    font-size: 3.5em;
    color: var(--fb88-secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-promotions-cashback__hero-description {
    font-size: 1.3em;
    color: var(--fb88-text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-promotions-cashback__cta-button {
    display: inline-block;
    background-color: var(--fb88-secondary-color);
    color: var(--fb88-primary-color);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 179, 37, 0.4);
}

.page-promotions-cashback__cta-button:hover {
    background-color: #FFD700; /* Lighter gold for hover */
    transform: translateY(-3px);
}

.page-promotions-cashback__content-section,
.page-promotions-cashback__promo-grid-section,
.page-promotions-cashback__how-to-claim-section,
.page-promotions-cashback__faq-section,
.page-promotions-cashback__final-cta-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--fb88-border-color);
}

.page-promotions-cashback__content-section {
    background-color: #0A1931;
}

.page-promotions-cashback__section-title {
    font-size: 2.5em;
    color: var(--fb88-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-cashback__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--fb88-secondary-color);
    border-radius: 2px;
}

.page-promotions-cashback__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: -20px auto 50px auto;
    color: #CCCCCC;
}

.page-promotions-cashback__text-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-promotions-cashback__text-image-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page-promotions-cashback__text-content p {
    margin-bottom: 20px;
    color: var(--fb88-text-light);
    font-size: 1.05em;
}

.page-promotions-cashback__subsection-title {
    font-size: 1.8em;
    color: var(--fb88-secondary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-promotions-cashback__benefits-list {
    list-style: none;
    padding: 0;
}

.page-promotions-cashback__benefits-list li {
    background-color: #1a2a47;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--fb88-secondary-color);
    border-radius: 3px;
    font-size: 1.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-promotions-cashback__benefits-list li::before {
    content: '✓';
    color: var(--fb88-secondary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-promotions-cashback__image-wrapper {
    text-align: center;
}

.page-promotions-cashback__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--fb88-secondary-color);
}

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

.page-promotions-cashback__promo-card {
    background-color: #1a2a47;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--fb88-border-color);
}

.page-promotions-cashback__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions-cashback__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--fb88-secondary-color));
}

.page-promotions-cashback__card-title {
    font-size: 1.5em;
    color: var(--fb88-secondary-color);
    margin-bottom: 15px;
}

.page-promotions-cashback__card-description {
    color: #CCCCCC;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.page-promotions-cashback__card-button {
    display: inline-block;
    background-color: var(--fb88-secondary-color);
    color: var(--fb88-primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions-cashback__card-button:hover {
    background-color: #FFD700;
}

.page-promotions-cashback__how-to-claim-section {
    background-color: #0A1931;
}

.page-promotions-cashback__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-cashback__step-card {
    background-color: #1a2a47;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--fb88-border-color);
}

.page-promotions-cashback__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--fb88-secondary-color);
    color: var(--fb88-primary-color);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(230, 179, 37, 0.5);
}

.page-promotions-cashback__step-title {
    font-size: 1.4em;
    color: var(--fb88-secondary-color);
    margin-bottom: 15px;
}

.page-promotions-cashback__step-description {
    color: #CCCCCC;
    font-size: 0.95em;
}

.page-promotions-cashback__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-promotions-cashback__cta-button--secondary {
    background-color: transparent;
    border: 2px solid var(--fb88-secondary-color);
    color: var(--fb88-secondary-color);
    box-shadow: none;
}

.page-promotions-cashback__cta-button--secondary:hover {
    background-color: var(--fb88-secondary-color);
    color: var(--fb88-primary-color);
    transform: translateY(-3px);
}

.page-promotions-cashback__faq-section {
    background-color: #0A1931;
}

.page-promotions-cashback__faq-item {
    background-color: #1a2a47;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    border: 1px solid var(--fb88-border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-cashback__faq-question {
    font-size: 1.2em;
    color: var(--fb88-secondary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-promotions-cashback__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--fb88-secondary-color);
    transition: transform 0.3s ease;
}

.page-promotions-cashback__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-cashback__faq-answer {
    color: #CCCCCC;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-promotions-cashback__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-promotions-cashback__final-cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(45deg, #1a2a47 0%, var(--fb88-primary-color) 100%);
}

.page-promotions-cashback__final-cta-section .page-promotions-cashback__section-title {
    margin-bottom: 20px;
}

.page-promotions-cashback__final-cta-section .page-promotions-cashback__section-description {
    margin-bottom: 40px;
    color: #F0F0F0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions-cashback__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-cashback__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-cashback__section-title {
        font-size: 2em;
    }
    .page-promotions-cashback__card-title {
        font-size: 1.3em;
    }
    .page-promotions-cashback__step-title {
        font-size: 1.2em;
    }
}

@media (max-width: 767px) {
    .page-promotions-cashback__hero-section {
        padding: 80px 0;
    }
    .page-promotions-cashback__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-cashback__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions-cashback__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-cashback__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions-cashback__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-promotions-cashback__content-section,
    .page-promotions-cashback__promo-grid-section,
    .page-promotions-cashback__how-to-claim-section,
    .page-promotions-cashback__faq-section,
    .page-promotions-cashback__final-cta-section {
        padding: 40px 0;
    }
    .page-promotions-cashback__promo-grid,
    .page-promotions-cashback__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-cashback__text-image-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-cashback__image {
        margin-top: 30px;
    }
    .page-promotions-cashback__faq-item {
        padding: 20px;
    }
    .page-promotions-cashback__faq-question {
        font-size: 1.1em;
    }
}