/* ===== REFERRAL BANNER REDESIGN ===== */
.referral-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.referral-banner::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 107, 50, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.referral-banner .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.referral-content {
    text-align: left;
}

.referral-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(14, 174, 78, 0.1);
    color: #0EAE4E;
    /* Accent color from styles-v2 */
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.referral-banner h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #2D3436;
}

.referral-banner p {
    font-size: 1.1rem;
    color: #636E72;
    margin-bottom: 35px;
    max-width: 500px;
}

.referral-cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.referral-banner .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.referral-banner .btn-primary {
    background-color: #E66B32;
    /* Primary color */
    color: white;
    box-shadow: 0 10px 20px rgba(230, 107, 50, 0.2);
}

.referral-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 107, 50, 0.3);
}

.referral-bonus-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #0EAE4E;
}

.referral-bonus-tag i {
    font-size: 1.2rem;
}

.referral-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.referral-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: referralFloat 6s ease-in-out infinite;
}

@keyframes referralFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.referral-image-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(14, 174, 78, 0.05) 0%, transparent 70%);
    z-index: -1;
}

@media (max-width: 992px) {
    .referral-banner .container {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
        text-align: center;
    }

    .referral-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .referral-banner h2 {
        font-size: 2.5rem;
    }

    .referral-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .referral-banner .btn {
        width: 100%;
    }
}