/* ===== РЕФЕРАЛЬНАЯ ПРОГРАММА ===== */
.referral-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 32px;
    padding: 50px;
    margin: 40px 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.referral-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.referral-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: white;
}

.referral-header .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
}

.referral-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.referral-info {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.referral-percent {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.referral-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
}

.referral-info p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.referral-features {
    list-style: none;
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
}

.referral-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.referral-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.referral-stats-mini {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-mini {
    text-align: center;
}

.stat-mini-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    color: white;
}

.stat-mini-label {
    font-size: 14px;
    opacity: 0.8;
}

.referral-cta {
    background: white;
    color: #667eea;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.referral-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cta-arrow {
    font-size: 24px;
    transition: transform 0.3s;
}

.referral-cta:hover .cta-arrow {
    transform: translateX(5px);
}

.referral-hint {
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
}

.referral-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-dots {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.decoration-circle {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
}