.referral-page {
    font-family: 'TT Norms Pro', sans-serif;
    background: #f8f9fa;
    color: #222;
}

.referral-section {
    padding: 80px 0 40px;
    background: linear-gradient(145deg, #f8f9fa, #fff 80%);
}

.referral-section h1 {
    text-align: center;
    font-size: 40px;
    color: #222;
    margin-top: 48px;
    margin-bottom: 48px;
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
}

.referral-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
}

.referral-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block {
    background: #fff;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
}

.info-block:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.info-block h3 {
    color: #222;
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
}

.info-block p, .info-block li {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.benefit .icon {
    font-size: 28px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f6fa;
    border-radius: 10px;
}

.benefit .text h4 {
    color: #222;
    font-size: 17px;
    margin-bottom: 3px;
    font-weight: 600;
}

.benefit .text p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: #2d89ef;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #222;
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.referral-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referral-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.referral-form-wrapper h2 {
    color: #333;
    font-size: 32px;
    margin-bottom: 35px;
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
}

.referral-link-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

#referral-link {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: #f8f9fa;
    cursor: default;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Unbounded', sans-serif;
}

.stat-label {
    color: #666;
    font-size: 16px;
}

.share-buttons {
    margin-top: 40px;
}

.share-buttons h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .referral-grid {
        grid-template-columns: 1fr;
        max-width: 98vw;
        gap: 24px;
    }
    .referral-section {
        padding: 40px 0 20px;
    }
    .referral-section h1 {
        font-size: 26px;
        margin-top: 28px;
        margin-bottom: 28px;
    }
    .info-block {
        padding: 18px 10px;
        border-radius: 12px;
    }
    .info-block h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .benefit .icon {
        font-size: 20px;
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }
    .benefit .text h4 {
        font-size: 14px;
    }
    .benefit .text p {
        font-size: 13px;
    }
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }
    .step-content h4 {
        font-size: 13px;
    }
    .step-content p {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .referral-grid {
        grid-template-columns: 1fr !important;
        max-width: 98vw;
        gap: 24px;
    }
} 