/* ============================================
   VIP贡献榜页面样式
   ============================================ */

body {
    background: #0e0e12;
}

.lb-main {
    min-height: calc(100vh - 200px);
    padding: 84px 0 0;
    background: #0e0e12;
}

.lb-main ~ .footer {
    margin-top: 0;
}

/* Hero 区域 */
.lb-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lb-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,154,86,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.lb-hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a3d 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
    position: relative;
}

.lb-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.lb-hero h1 span {
    background: linear-gradient(135deg, #ff9a56 0%, #ffc371 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lb-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* 前三名展示区 */
.lb-top3-section {
    max-width: 1000px;
    margin: -30px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.lb-top3-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
}

.lb-top3-card {
    flex: 1;
    max-width: 280px;
    background: linear-gradient(145deg, #1e1e2e 0%, #252538 100%);
    border-radius: 20px;
    padding: 40px 24px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lb-top3-card:hover {
    transform: translateY(-8px);
}

/* 金牌 - 第1名 */
.lb-top3-gold {
    order: 2;
    padding: 50px 24px 35px;
    background: linear-gradient(145deg, #2a2418 0%, #1e1e2e 50%, #2a2418 100%);
    border: 2px solid rgba(255,195,113,0.4);
    box-shadow: 0 0 40px rgba(255,195,113,0.15), 0 20px 60px rgba(0,0,0,0.3);
}

.lb-top3-gold:hover {
    box-shadow: 0 0 60px rgba(255,195,113,0.25), 0 25px 70px rgba(0,0,0,0.4);
}

.lb-top3-gold .lb-top3-rank {
    background: linear-gradient(135deg, #ffc371 0%, #ff9a56 100%);
    color: #1a1a2e;
    width: 48px;
    height: 48px;
    font-size: 22px;
}

.lb-top3-gold .lb-top3-avatar-wrap {
    width: 100px;
    height: 100px;
    border-width: 4px;
    border-color: #ffc371;
    box-shadow: 0 0 25px rgba(255,195,113,0.4);
}

.lb-top3-gold .lb-top3-name {
    font-size: 20px;
}

.lb-top3-gold .lb-top3-contribution {
    font-size: 22px;
}

/* 银牌 - 第2名 */
.lb-top3-silver {
    order: 1;
    background: linear-gradient(145deg, #1e2028 0%, #1e1e2e 50%, #1e2028 100%);
    border: 2px solid rgba(192,192,192,0.3);
    box-shadow: 0 0 30px rgba(192,192,192,0.1), 0 15px 50px rgba(0,0,0,0.3);
}

.lb-top3-silver:hover {
    box-shadow: 0 0 50px rgba(192,192,192,0.2), 0 20px 60px rgba(0,0,0,0.4);
}

.lb-top3-silver .lb-top3-rank {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
    color: #1a1a2e;
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.lb-top3-silver .lb-top3-avatar-wrap {
    width: 85px;
    height: 85px;
    border-color: #c0c0c0;
    box-shadow: 0 0 20px rgba(192,192,192,0.3);
}

/* 铜牌 - 第3名 */
.lb-top3-bronze {
    order: 3;
    background: linear-gradient(145deg, #241e18 0%, #1e1e2e 50%, #241e18 100%);
    border: 2px solid rgba(205,127,50,0.3);
    box-shadow: 0 0 30px rgba(205,127,50,0.1), 0 15px 50px rgba(0,0,0,0.3);
}

.lb-top3-bronze:hover {
    box-shadow: 0 0 50px rgba(205,127,50,0.2), 0 20px 60px rgba(0,0,0,0.4);
}

.lb-top3-bronze .lb-top3-rank {
    background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
    color: #1a1a2e;
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.lb-top3-bronze .lb-top3-avatar-wrap {
    width: 85px;
    height: 85px;
    border-color: #cd7f32;
    box-shadow: 0 0 20px rgba(205,127,50,0.3);
}

/* 通用前三名元素 */
.lb-top3-rank {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.lb-top3-avatar-wrap {
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid;
    position: relative;
}

.lb-top3-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-top3-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.lb-top3-name {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-top3-contribution {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff9a56 0%, #ffc371 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.lb-top3-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 列表区域 */
.lb-list-section {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.lb-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lb-list-item {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #1a1a28 0%, #1e1e2e 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 16px 24px;
    transition: all 0.3s ease;
}

.lb-list-item:hover {
    background: linear-gradient(145deg, #222236 0%, #262640 100%);
    border-color: rgba(255,154,86,0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.lb-list-rank {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 16px;
}

.lb-list-avatar-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    margin-right: 16px;
}

.lb-list-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-list-info {
    flex: 1;
    min-width: 0;
}

.lb-list-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-list-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-list-contribution {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff9a56 0%, #ffc371 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    margin-left: 16px;
}

/* 空状态 */
.lb-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    color: rgba(255,255,255,0.4);
}

.lb-empty i {
    font-size: 64px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ff9a56 0%, #ffc371 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lb-empty h3 {
    font-size: 22px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.lb-empty p {
    font-size: 15px;
}

/* 响应式 */
@media (max-width: 768px) {
    .lb-hero {
        padding: 60px 16px 40px;
    }

    .lb-hero h1 {
        font-size: 32px;
    }

    .lb-hero p {
        font-size: 15px;
    }

    /* 前三名改为上下布局 */
    .lb-top3-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .lb-top3-card {
        width: 100%;
        max-width: 360px;
        padding: 20px 16px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: left;
    }

    .lb-top3-gold,
    .lb-top3-silver,
    .lb-top3-bronze {
        order: unset;
        max-width: 360px;
        padding: 20px 16px;
    }

    .lb-top3-rank {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .lb-top3-avatar-wrap {
        margin: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }

    .lb-top3-name {
        font-size: 15px;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lb-top3-contribution {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .lb-top3-gold .lb-top3-name {
        font-size: 15px;
    }

    .lb-top3-gold .lb-top3-contribution {
        font-size: 15px;
    }

    .lb-top3-desc {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 列表项优化 */
    .lb-list-item {
        padding: 12px 14px;
        border-radius: 12px;
        gap: 10px;
    }

    .lb-list-rank {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 0;
        border-radius: 8px;
    }

    .lb-list-avatar-wrap {
        width: 40px;
        height: 40px;
        margin-right: 0;
    }

    .lb-list-info {
        min-width: 0;
    }

    .lb-list-name {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .lb-list-desc {
        font-size: 12px;
    }

    .lb-list-contribution {
        font-size: 14px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .lb-hero h1 {
        font-size: 26px;
    }

    .lb-hero p {
        font-size: 13px;
    }

    .lb-hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .lb-top3-section {
        margin: -20px auto 24px;
        padding: 0 12px;
    }

    .lb-top3-card,
    .lb-top3-gold,
    .lb-top3-silver,
    .lb-top3-bronze {
        max-width: 100%;
        padding: 14px 12px;
        gap: 10px;
    }

    .lb-top3-rank {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .lb-top3-avatar-wrap {
        width: 44px;
        height: 44px;
    }

    .lb-top3-name {
        font-size: 14px;
    }

    .lb-top3-contribution {
        font-size: 14px;
    }

    .lb-list-section {
        padding: 0 12px;
    }

    .lb-list-item {
        padding: 10px 12px;
    }

    .lb-list-rank {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .lb-list-avatar-wrap {
        width: 34px;
        height: 34px;
    }

    .lb-list-name {
        font-size: 13px;
    }

    .lb-list-contribution {
        font-size: 13px;
    }
}
