.page-promotions-referral-program {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray text for general content on dark background */
    background-color: #1A1A1A; /* Dark background */
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-promotions-referral-program .hero-section {
    background: linear-gradient(135deg, #FFD700, #1A1A1A);
    color: #1A1A1A;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

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

.page-promotions-referral-program .hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-promotions-referral-program .hero-content h1 {
    font-size: 3em;
    color: #1A1A1A;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-promotions-referral-program .hero-content p {
    font-size: 1.2em;
    color: #333;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.page-promotions-referral-program .btn-primary {
    display: inline-block;
    background-color: #1A1A1A;
    color: #FFD700;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #FFD700;
    margin: 0 10px 10px;
}

.page-promotions-referral-program .btn-primary:hover {
    background-color: #FFD700;
    color: #1A1A1A;
    border-color: #1A1A1A;
}

/* Section Styling */
.page-promotions-referral-program .section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-referral-program .section:nth-child(even) {
    background-color: #2A2A2A;
}

.page-promotions-referral-program h2 {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.page-promotions-referral-program h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFD700;
}

.page-promotions-referral-program h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-promotions-referral-program p {
    margin-bottom: 15px;
    text-align: left;
    color: #E0E0E0;
}

.page-promotions-referral-program ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.page-promotions-referral-program ul li {
    background-color: #2A2A2A;
    margin-bottom: 10px;
    padding: 15px;
    border-left: 3px solid #FFD700;
    border-radius: 5px;
    color: #E0E0E0;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral-program ul li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

/* Image Styling */
.page-promotions-referral-program .image-full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-promotions-referral-program .image-centered {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Steps */
.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 .step-card {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-promotions-referral-program .step-card:hover {
    transform: translateY(-10px);
}

.page-promotions-referral-program .step-card .step-icon {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid #FFD700;
    border-radius: 50%;
}

.page-promotions-referral-program .step-card h4 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-promotions-referral-program .step-card p {
    color: #E0E0E0;
    text-align: center;
}

/* Reward Table */
.page-promotions-referral-program .reward-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow-x: auto; /* For responsiveness */
}

.page-promotions-referral-program .reward-table th,
.page-promotions-referral-program .reward-table td {
    border: 1px solid #3A3A3A;
    padding: 15px;
    text-align: left;
    color: #E0E0E0;
}

.page-promotions-referral-program .reward-table th {
    background-color: #FFD700;
    color: #1A1A1A;
    font-weight: bold;
}

.page-promotions-referral-program .reward-table tr:nth-child(even) {
    background-color: #2A2A2A;
}

/* FAQ Section */
.page-promotions-referral-program .faq-list {
    margin-top: 30px;
}

.page-promotions-referral-program .faq-item {
    background-color: #2A2A2A;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral-program .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #333;
    color: #FFD700;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-promotions-referral-program .faq-question:hover {
    background-color: #444;
}

.page-promotions-referral-program .faq-question .arrow-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-promotions-referral-program .faq-question.active .arrow-icon {
    transform: rotate(180deg);
}

.page-promotions-referral-program .faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #E0E0E0;
}

.page-promotions-referral-program .faq-answer.open {
    max-height: 500px; /* Increased max-height for longer answers */
    padding: 15px 25px 25px;
}

/* Call to Action Section */
.page-promotions-referral-program .cta-section {
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 60px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-program .cta-section h2 {
    color: #1A1A1A;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-promotions-referral-program .cta-section h2::after {
    background-color: #1A1A1A;
}

.page-promotions-referral-program .cta-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.page-promotions-referral-program .cta-buttons .btn-primary {
    background-color: #1A1A1A;
    color: #FFD700;
    border-color: #1A1A1A;
    margin: 0 10px;
}

.page-promotions-referral-program .cta-buttons .btn-primary:hover {
    background-color: #444;
    color: #FFD700;
    border-color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-referral-program .hero-content h1 {
        font-size: 2.8em;
    }
    .page-promotions-referral-program h2 {
        font-size: 2.2em;
    }
    .page-promotions-referral-program h3 {
        font-size: 1.6em;
    }
    .page-promotions-referral-program .image-full-width, .page-promotions-referral-program .image-centered {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-program .hero-section {
        padding: 60px 15px;
    }
    .page-promotions-referral-program .hero-content h1 {
        font-size: 2.2em;
    }
    .page-promotions-referral-program .hero-content p {
        font-size: 1.1em;
    }
    .page-promotions-referral-program .section {
        padding: 40px 0;
    }
    .page-promotions-referral-program h2 {
        font-size: 2em;
    }
    .page-promotions-referral-program h3 {
        font-size: 1.4em;
    }
    .page-promotions-referral-program .steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-referral-program .cta-section h2 {
        font-size: 2.2em;
    }
    .page-promotions-referral-program .cta-section p {
        font-size: 1.1em;
    }
    .page-promotions-referral-program .cta-buttons .btn-primary {
        margin: 10px auto;
        width: 90%;
        display: block;
    }
    .page-promotions-referral-program .reward-table th, .page-promotions-referral-program .reward-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-program .hero-content h1 {
        font-size: 1.8em;
    }
    .page-promotions-referral-program .hero-content p {
        font-size: 1em;
    }
    .page-promotions-referral-program h2 {
        font-size: 1.8em;
    }
    .page-promotions-referral-program h3 {
        font-size: 1.2em;
    }
    .page-promotions-referral-program .btn-primary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-promotions-referral-program .image-full-width, .page-promotions-referral-program .image-centered {
        max-width: 100%;
        margin: 20px 0;
    }
    .page-promotions-referral-program .faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions-referral-program .faq-answer {
        padding: 10px 20px 20px;
    }
    .page-promotions-referral-program .cta-section h2 {
        font-size: 1.8em;
    }
    .page-promotions-referral-program .cta-section p {
        font-size: 1em;
    }
}