/* style/promotions-referral-rewards.css */
.page-promotions-referral-rewards {
    font-family: 'Arial', sans-serif;
    color: #E5E5E5; /* Light grey for general text on dark background */
    background-color: #1A1A1A; /* Auxiliary color as main background */
}

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

.page-promotions-referral-rewards .section-title {
    font-size: 2.5em;
    color: #FFD700; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-promotions-referral-rewards .section-description {
    font-size: 1.1em;
    color: #B0B0B0; /* Slightly lighter grey for descriptions */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-promotions-referral-rewards .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.05em;
    cursor: pointer;
    border: none;
}

.page-promotions-referral-rewards .btn-primary {
    background-color: #FFD700; /* Primary color for main buttons */
    color: #1A1A1A; /* Auxiliary color for text on primary button */
    border: 2px solid #FFD700;
}

.page-promotions-referral-rewards .btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-promotions-referral-rewards .btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Primary color for secondary button text */
    border: 2px solid #FFD700;
}

.page-promotions-referral-rewards .btn-secondary:hover {
    background-color: #FFD700;
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-promotions-referral-rewards .btn-outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-promotions-referral-rewards .btn-outline:hover {
    background-color: #FFD700;
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-promotions-referral-rewards .btn-large {
    padding: 15px 30px;
    font-size: 1.15em;
}

/* Hero Section */
.page-promotions-referral-rewards .hero-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-promotions-referral-rewards .hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-promotions-referral-rewards .hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-promotions-referral-rewards .hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-promotions-referral-rewards .hero-description {
    font-size: 1.3em;
    color: #E5E5E5;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions-referral-rewards .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-promotions-referral-rewards .hero-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
}

.page-promotions-referral-rewards .hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* How It Works Section */
.page-promotions-referral-rewards .how-it-works-section {
    padding: 80px 0;
    background-color: #1A1A1A;
}

.page-promotions-referral-rewards .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-promotions-referral-rewards .step-item {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-referral-rewards .step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions-referral-rewards .step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-promotions-referral-rewards .step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions-referral-rewards .step-text {
    font-size: 1em;
    color: #B0B0B0;
    line-height: 1.7;
}

/* Rewards Structure Section */
.page-promotions-referral-rewards .rewards-structure-section {
    padding: 80px 0;
    background-color: #202020;
}

.page-promotions-referral-rewards .rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-promotions-referral-rewards .reward-card {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #FFD700;
    transition: transform 0.3s ease;
}

.page-promotions-referral-rewards .reward-card:hover {
    transform: scale(1.03);
}

.page-promotions-referral-rewards .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 4px #FFD700);
}

.page-promotions-referral-rewards .card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions-referral-rewards .card-text {
    font-size: 0.95em;
    color: #B0B0B0;
    line-height: 1.7;
}

.page-promotions-referral-rewards .rewards-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    color: #888;
}

/* Why Join Section */
.page-promotions-referral-rewards .why-join-section {
    padding: 80px 0;
    background-color: #1A1A1A;
}

.page-promotions-referral-rewards .benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.page-promotions-referral-rewards .benefits-list li {
    background-color: #2A2A2A;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1em;
    color: #E5E5E5;
    line-height: 1.6;
    border-left: 5px solid #FFD700;
}

.page-promotions-referral-rewards .benefits-list li strong {
    color: #FFD700;
}

.page-promotions-referral-rewards .benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 3px #FFD700);
}

.page-promotions-referral-rewards .cta-bottom {
    text-align: center;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Terms & Conditions Section (Accordion) */
.page-promotions-referral-rewards .terms-conditions-section {
    padding: 80px 0;
    background-color: #202020;
}

.page-promotions-referral-rewards .accordion-container {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-rewards .accordion-item {
    margin-bottom: 15px;
    border: 1px solid #3A3A3A;
    border-radius: 10px;
    overflow: hidden;
}

.page-promotions-referral-rewards .accordion-header {
    background-color: #2A2A2A;
    color: #FFD700;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions-referral-rewards .accordion-header::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-promotions-referral-rewards .accordion-header.active {
    background-color: #3A3A3A;
}

.page-promotions-referral-rewards .accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-referral-rewards .accordion-content {
    padding: 0 25px;
    background-color: #2A2A2A;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions-referral-rewards .accordion-content p {
    color: #B0B0B0;
    font-size: 1em;
    line-height: 1.7;
    padding-bottom: 20px;
}

.page-promotions-referral-rewards .accordion-content.open {
    max-height: 500px; /* Adjust as needed */
    padding-top: 15px;
    padding-bottom: 20px;
}

/* CTA Final Section */
.page-promotions-referral-rewards .cta-final-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #FFD700, #b39700);
    text-align: center;
    color: #1A1A1A; /* Dark text on light background */
}

.page-promotions-referral-rewards .cta-final-section .section-title {
    color: #1A1A1A;
    text-shadow: none;
}

.page-promotions-referral-rewards .cta-final-section .section-description {
    color: #4A4A4A;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-rewards .cta-final-section .cta-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-promotions-referral-rewards .cta-final-section .btn-primary {
    background-color: #1A1A1A;
    color: #FFD700;
    border-color: #1A1A1A;
}

.page-promotions-referral-rewards .cta-final-section .btn-primary:hover {
    background-color: #3A3A3A;
    color: #FFD700;
    border-color: #3A3A3A;
}

.page-promotions-referral-rewards .cta-final-section .btn-outline {
    color: #1A1A1A;
    border-color: #1A1A1A;
}

.page-promotions-referral-rewards .cta-final-section .btn-outline:hover {
    background-color: #1A1A1A;
    color: #FFD700;
}

/* Explore More Section */
.page-promotions-referral-rewards .explore-more-section {
    padding: 80px 0;
    background-color: #1A1A1A;
}

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

.page-promotions-referral-rewards .explore-item {
    background-color: #2A2A2A;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-promotions-referral-rewards .explore-item:hover {
    transform: translateY(-8px);
}

.page-promotions-referral-rewards .explore-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-promotions-referral-rewards .explore-item h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin: 20px 0 10px;
}

.page-promotions-referral-rewards .explore-item p {
    font-size: 0.95em;
    color: #B0B0B0;
    padding: 0 20px 20px;
    line-height: 1.6;
}

.page-promotions-referral-rewards .explore-link {
    display: block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 12px 0;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-top: 1px solid #FFD700;
}

.page-promotions-referral-rewards .explore-link:hover {
    background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-referral-rewards .hero-title {
        font-size: 2.8em;
    }

    .page-promotions-referral-rewards .section-title {
        font-size: 2em;
    }

    .page-promotions-referral-rewards .benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-rewards .hero-section {
        padding: 60px 0;
    }

    .page-promotions-referral-rewards .hero-title {
        font-size: 2.2em;
    }

    .page-promotions-referral-rewards .hero-description {
        font-size: 1.1em;
    }

    .page-promotions-referral-rewards .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-referral-rewards .section-title {
        font-size: 1.8em;
    }

    .page-promotions-referral-rewards .section-description {
        font-size: 1em;
    }

    .page-promotions-referral-rewards .steps-grid, 
    .page-promotions-referral-rewards .rewards-grid, 
    .page-promotions-referral-rewards .explore-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-referral-rewards .benefits-list li {
        font-size: 1em;
    }

    .page-promotions-referral-rewards .accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions-referral-rewards .accordion-content p {
        font-size: 0.9em;
    }

    .page-promotions-referral-rewards .cta-bottom, 
    .page-promotions-referral-rewards .cta-final-section .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-referral-rewards .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-rewards .hero-title {
        font-size: 1.8em;
    }

    .page-promotions-referral-rewards .hero-description {
        font-size: 0.95em;
    }

    .page-promotions-referral-rewards .section-title {
        font-size: 1.5em;
    }

    .page-promotions-referral-rewards .step-item, 
    .page-promotions-referral-rewards .reward-card, 
    .page-promotions-referral-rewards .explore-item {
        padding: 20px;
    }

    .page-promotions-referral-rewards .step-title, 
    .page-promotions-referral-rewards .card-title, 
    .page-promotions-referral-rewards .explore-item h3 {
        font-size: 1.4em;
    }
}