/* 
 * Milano Eyes Fashion Reward - 推荐好友样式
 * 黑金风格设计
 */

/* ======= 推荐好友部分 ======= */
#referral {
    background-color: #0a0a0a;
    position: relative;
}

#referral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 16H9v-2h5V9.87a4 4 0 1 1 2 0V14h5v2h-5v15.95A10 10 0 0 0 23.66 27l-3.46-2 8.2-2.2-2.9 5a12 12 0 0 1-21 0l-2.89-5 8.2 2.2-3.47 2A10 10 0 0 0 14 31.95V16zm40 40h-5v-2h5v-4.13a4 4 0 1 1 2 0V54h5v2h-5v15.95A10 10 0 0 0 63.66 67l-3.47-2 8.2-2.2-2.88 5a12 12 0 0 1-21.02 0l-2.88-5 8.2 2.2-3.47 2A10 10 0 0 0 54 71.95V56zm-39 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm40-40a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM15 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm40 40a2 2 0 1 0 0-4 2 2 0 0 0 0 4z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.referral-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .referral-content {
        grid-template-columns: 1fr;
    }
}

/* 推荐链接部分 */
.referral-info {
    background: linear-gradient(145deg, #191919, #232323);
    border-radius: 15px;
    padding: 35px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.1);
}

.referral-info h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.referral-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #d4af37;
}

.referral-link-box {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#referral-url {
    flex: 1;
    padding: 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
}

.btn-copy {
    background-color: #d4af37;
    color: #000000;
    border: none;
    padding: 0 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-copy:hover {
    background-color: #e5c250;
}

.referral-reward-info {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: center;
    padding: 15px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.highlight {
    color: #d4af37;
    font-weight: 700;
    font-size: 1.3rem;
}

.social-share h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-btn.facebook:hover { background-color: #3b5998; }
.social-btn.twitter:hover { background-color: #1da1f2; }
.social-btn.whatsapp:hover { background-color: #25d366; }
.social-btn.telegram:hover { background-color: #0088cc; }
.social-btn.wechat:hover { background-color: #07c160; }

/* 推荐流程部分 */
.referral-process {
    background: linear-gradient(145deg, #191919, #232323);
    border-radius: 15px;
    padding: 35px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.1);
}

.referral-process h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.referral-process h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #d4af37;
}

.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.7), rgba(212, 175, 55, 0.2));
    z-index: 1;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d4af37, #c5a028);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.1), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    flex: 1;
    padding-left: 20px;
}

.step-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step-content p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 推荐成功部分 */
.referral-success {
    margin-top: 50px;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.success-details {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.success-details span {
    color: #d4af37;
    font-weight: 700;
}

/* 推荐统计部分 */
.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 10px;
}

.stat-label {
    color: #ffffff;
    font-size: 0.9rem;
}
