/* style/promotions-referral-program.css */
:root {
    --page-promotions-referral-program-primary-color: #1A1A2E;
    --page-promotions-referral-program-secondary-color: #FFD700;
    --page-promotions-referral-program-text-light: #E0E0E0; /* Adjusted for better contrast on dark backgrounds */
    --page-promotions-referral-program-text-dark: #333333;
    --page-promotions-referral-program-background-dark: #0F0F1A;
    --page-promotions-referral-program-background-light: #2C2C4A;
    --page-promotions-referral-program-accent-hover: #E5C100; /* Slightly darker gold for hover */
    --page-promotions-referral-program-border-color: #444466;
}

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

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

.page-promotions-referral-program__hero-section {
    background: linear-gradient(135deg, var(--page-promotions-referral-program-primary-color) 0%, var(--page-promotions-referral-program-background-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--page-promotions-referral-program-secondary-color);
}

.page-promotions-referral-program__hero-title {
    font-size: 3.5em;
    color: var(--page-promotions-referral-program-secondary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: bold;
}

.page-promotions-referral-program__hero-subtitle {
    font-size: 1.4em;
    color: var(--page-promotions-referral-program-text-light);
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-promotions-referral-program__highlight {
    color: var(--page-promotions-referral-program-secondary-color);
    font-weight: bold;
}

.page-promotions-referral-program__cta-button {
    display: inline-block;
    background-color: var(--page-promotions-referral-program-secondary-color);
    color: var(--page-promotions-referral-program-primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions-referral-program__cta-button:hover {
    background-color: var(--page-promotions-referral-program-accent-hover);
    transform: translateY(-3px);
}

.page-promotions-referral-program__hero-image {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    opacity: 0.2;
    z-index: 0;
    filter: grayscale(100%);
}

.page-promotions-referral-program__section-title {
    font-size: 2.5em;
    color: var(--page-promotions-referral-program-secondary-color);
    text-align: center;
    margin: 60px 0 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-promotions-referral-program__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: var(--page-promotions-referral-program-text-light);
}

.page-promotions-referral-program__benefits-section,
.page-promotions-referral-program__how-to-section,
.page-promotions-referral-program__rewards-detail-section,
.page-promotions-referral-program__terms-section,
.page-promotions-referral-program__faq-section,
.page-promotions-referral-program__cta-bottom-section {
    padding: 40px 0;
    background-color: var(--page-promotions-referral-program-primary-color);
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-promotions-referral-program__benefit-item,
.page-promotions-referral-program__step-item {
    background-color: var(--page-promotions-referral-program-background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--page-promotions-referral-program-border-color);
}

.page-promotions-referral-program__benefit-item:hover,
.page-promotions-referral-program__step-item:hover {
    transform: translateY(-5px);
}

.page-promotions-referral-program__benefit-title,
.page-promotions-referral-program__step-title {
    font-size: 1.5em;
    color: var(--page-promotions-referral-program-secondary-color);
    margin-bottom: 15px;
}

.page-promotions-referral-program__benefit-text,
.page-promotions-referral-program__step-text {
    font-size: 1em;
    color: var(--page-promotions-referral-program-text-light);
}

.page-promotions-referral-program__step-number {
    background-color: var(--page-promotions-referral-program-secondary-color);
    color: var(--page-promotions-referral-program-primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-promotions-referral-program__benefits-image,
.page-promotions-referral-program__how-to-image,
.page-promotions-referral-program__rewards-image,
.page-promotions-referral-program__cta-bottom-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 50px auto 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-program__cta-button--inline {
    margin-top: 40px;
}

.page-promotions-referral-program__rewards-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions-referral-program__rewards-list li {
    background-color: var(--page-promotions-referral-program-background-light);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--page-promotions-referral-program-secondary-color);
}

.page-promotions-referral-program__reward-type-title {
    font-size: 1.4em;
    color: var(--page-promotions-referral-program-secondary-color);
    margin-bottom: 10px;
}

.page-promotions-referral-program__reward-type-text {
    font-size: 1em;
    color: var(--page-promotions-referral-program-text-light);
}

.page-promotions-referral-program__terms-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin-top: 40px;
    color: var(--page-promotions-referral-program-text-light);
}

.page-promotions-referral-program__terms-list li {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-promotions-referral-program__terms-list li::marker {
    color: var(--page-promotions-referral-program-secondary-color);
    font-weight: bold;
}

.page-promotions-referral-program__read-more {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--page-promotions-referral-program-text-light);
}

.page-promotions-referral-program__read-more a {
    color: var(--page-promotions-referral-program-secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-referral-program__read-more a:hover {
    text-decoration: underline;
}

.page-promotions-referral-program__faq-accordion {
    margin-top: 40px;
}

.page-promotions-referral-program__faq-item {
    background-color: var(--page-promotions-referral-program-background-light);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--page-promotions-referral-program-border-color);
}

.page-promotions-referral-program__faq-question {
    padding: 20px;
    background-color: var(--page-promotions-referral-program-primary-color);
    color: var(--page-promotions-referral-program-secondary-color);
    font-size: 1.2em;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions-referral-program__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-promotions-referral-program__faq-question:hover {
    background-color: var(--page-promotions-referral-program-background-dark);
}

.page-promotions-referral-program__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: var(--page-promotions-referral-program-text-light);
}

.page-promotions-referral-program__faq-answer.active {
    max-height: 500px; /* Adjust based on expected content height */
    padding: 20px;
}

.page-promotions-referral-program__faq-answer p {
    margin: 0;
}

.page-promotions-referral-program__cta-bottom-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(45deg, var(--page-promotions-referral-program-background-light), var(--page-promotions-referral-program-primary-color));
    border-top: 2px solid var(--page-promotions-referral-program-secondary-color);
}

.page-promotions-referral-program__cta-bottom-title {
    font-size: 2.8em;
    color: var(--page-promotions-referral-program-secondary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.page-promotions-referral-program__cta-bottom-subtitle {
    font-size: 1.3em;
    color: var(--page-promotions-referral-program-text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-referral-program__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-referral-program__hero-subtitle {
        font-size: 1.2em;
    }
    .page-promotions-referral-program__section-title {
        font-size: 2em;
    }
    .page-promotions-referral-program__cta-bottom-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-program__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-referral-program__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions-referral-program__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-promotions-referral-program__benefits-grid,
    .page-promotions-referral-program__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-referral-program__hero-image {
        position: static;
        transform: none;
        margin-top: 30px;
        opacity: 0.5;
    }
    .page-promotions-referral-program__section-description {
        font-size: 0.95em;
    }
    .page-promotions-referral-program__faq-question {
        font-size: 1.1em;
    }
    .page-promotions-referral-program__cta-bottom-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-program__cta-bottom-subtitle {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-program__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-program__section-title {
        font-size: 1.6em;
    }
    .page-promotions-referral-program__cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-promotions-referral-program__benefit-title,
    .page-promotions-referral-program__step-title {
        font-size: 1.3em;
    }
    .page-promotions-referral-program__reward-type-title {
        font-size: 1.2em;
    }
    .page-promotions-referral-program__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions-referral-program__cta-bottom-title {
        font-size: 1.6em;
    }
    .page-promotions-referral-program__cta-bottom-subtitle {
        font-size: 0.95em;
    }
    .page-promotions-referral-program__terms-list {
        padding-left: 15px;
    }
}