.referral-section {
    margin: 2rem 0;
    padding: 0 1rem;
}

.referral-section h2 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.offer-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.offer-details {
    margin-bottom: 2rem;
}

.offer-details h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.offer-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.referral-code {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

#referralCode {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #333;
}

.copy-button {
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.copy-button:hover {
    background-color: #45a049;
}

.cta-button {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background-color: #3CB371;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 1.5rem;
}

.cta-button:hover {
    background-color: #32965d;
    color: white;
    text-decoration: none;
}

.voting-container {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.vote-question {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.vote-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.upvote-button,
.downvote-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.upvote-button:hover,
.downvote-button:hover {
    color: #333;
}

.upvote-button.active {
    color: #4CAF50;
}

.downvote-button.active {
    color: #f44336;
}

.vote-count {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.offer-terms {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.offer-terms h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.offer-terms ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-terms li {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.offer-terms li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .referral-section {
        padding: 0 0.75rem;
    }

    .offer-card {
        padding: 1.5rem;
    }

    .referral-code {
        flex-direction: column;
    }

    .copy-button {
        width: 100%;
    }

    #referralCode {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .offer-details h3 {
        font-size: 1.2rem;
    }

    .offer-card {
        padding: 1rem;
    }

    .cta-button {
        font-size: 1rem;
    }

    .vote-buttons {
        gap: 0.5rem;
    }
}