/* ==============================================
   REFERRAL SECTION - PREMIUM DESIGN
   ============================================== */

/* Section Container */
#refer-section {
    padding-bottom: 40px;
}

#refer-section .header h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

#refer-section .header p {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Hero Invite Card - Main Section */
.refer-hero-card {
    background: linear-gradient(145deg, rgba(30, 30, 45, 0.9), rgba(15, 15, 25, 0.95));
    border-radius: 28px;
    padding: 28px 24px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 92, 231, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(108, 92, 231, 0.1) inset;
}

/* Animated gradient border effect */
.refer-hero-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            #6c5ce7, #a29bfe, #fd79a8, #fdcb6e,
            #00cec9, #6c5ce7);
    background-size: 400% 400%;
    border-radius: 30px;
    z-index: -1;
    animation: gradientBorder 6s ease infinite;
    opacity: 0.5;
}

@keyframes gradientBorder {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Decorative elements */
.refer-hero-card::after {
    content: '🎁';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.05;
    transform: rotate(15deg);
    pointer-events: none;
}

/* Hero Title */
.refer-hero-title {
    text-align: center;
    margin-bottom: 24px;
}

.refer-hero-title h2 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a29bfe 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.refer-hero-title p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.refer-hero-title .reward-highlight {
    color: #fdcb6e;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(253, 203, 110, 0.4);
}

/* Referral Link Container */
.refer-link-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.refer-link-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.refer-link-label::before {
    content: '🔗';
    font-size: 12px;
}

.refer-link-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.refer-link-text {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #a29bfe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

/* Action Buttons Container */
.refer-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Share Button - Primary CTA */
.refer-share-btn {
    flex: 2;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(108, 92, 231, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
}

.refer-share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.refer-share-btn:hover::before {
    left: 100%;
}

.refer-share-btn:active {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.refer-share-btn .btn-icon {
    font-size: 18px;
}

/* Copy Button - Secondary */
.refer-copy-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.refer-copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.refer-copy-btn:active {
    transform: scale(0.96);
}

.refer-copy-btn.copied {
    background: rgba(0, 184, 148, 0.2);
    border-color: #00b894;
    color: #00b894;
}

.refer-copy-btn .btn-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.refer-copy-btn.copied .btn-icon {
    animation: copySuccess 0.5s ease;
}

@keyframes copySuccess {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Stats Section */
.refer-stats-section {
    margin-bottom: 28px;
}

.refer-stats-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
    text-align: center;
}

.refer-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.refer-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.refer-stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.refer-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.refer-stat-card:hover::before {
    opacity: 1;
}

.refer-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(108, 92, 231, 0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
}

.refer-stat-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.refer-stat-card:hover .refer-stat-icon::after {
    opacity: 1;
}

.refer-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1;
}

.refer-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stat Card Variants */
.refer-stat-card.friends .refer-stat-value {
    color: #a29bfe;
}

.refer-stat-card.earnings .refer-stat-value {
    color: #fdcb6e;
}

/* Extra Rewards Card */
.refer-bonus-card {
    background: linear-gradient(135deg, rgba(253, 203, 110, 0.1), rgba(253, 203, 110, 0.02));
    border: 1px solid rgba(253, 203, 110, 0.25);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.refer-bonus-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(253, 203, 110, 0.2), transparent 70%);
    pointer-events: none;
}

.refer-bonus-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.refer-bonus-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
}

.refer-bonus-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.refer-bonus-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.refer-bonus-claim-btn {
    width: 100%;
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    border: none;
    border-radius: 14px;
    padding: 16px;
    color: #000;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(253, 203, 110, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
    animation: bonusBtnPulse 2s ease-in-out infinite;
}

@keyframes bonusBtnPulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(253, 203, 110, 0.35);
    }

    50% {
        box-shadow: 0 6px 30px rgba(253, 203, 110, 0.55);
    }
}

.refer-bonus-claim-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: bonusShine 3s infinite;
}

@keyframes bonusShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.refer-bonus-claim-btn:active {
    transform: scale(0.98);
}

.refer-bonus-claim-btn:disabled {
    opacity: 0.5;
    animation: none;
    cursor: not-allowed;
}

.refer-bonus-claim-btn:disabled::before {
    animation: none;
}

/* Milestones Section */
.refer-milestones-section {
    margin-top: 8px;
}

.refer-section-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 20px;
    gap: 12px;
}

.refer-section-divider::before,
.refer-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.refer-section-divider span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* Milestone Cards - Gift Box Style Redesign */
.refer-milestone-card {
    background: linear-gradient(145deg, rgba(40, 35, 60, 0.9), rgba(25, 22, 40, 0.95));
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 24px;
    padding: 0;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.refer-milestone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.2);
}

/* Gift ribbon top accent */
.refer-milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe, #6c5ce7);
    background-size: 200% 100%;
    animation: ribbonGlow 3s ease infinite;
}

@keyframes ribbonGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Claimable state - gold ribbon */
.refer-milestone-card.claimable::before {
    background: linear-gradient(90deg, #fdcb6e, #f39c12, #fdcb6e);
    background-size: 200% 100%;
    height: 5px;
}

.refer-milestone-card.claimable {
    border-color: rgba(253, 203, 110, 0.4);
    box-shadow: 0 0 30px rgba(253, 203, 110, 0.15);
}

/* Premium Milestone */
.refer-milestone-card.premium {
    background: linear-gradient(145deg, rgba(60, 50, 30, 0.9), rgba(40, 35, 20, 0.95));
    border-color: rgba(253, 203, 110, 0.3);
}

.refer-milestone-card.premium::before {
    background: linear-gradient(90deg, #fdcb6e, #e17055, #fdcb6e);
    background-size: 200% 100%;
}

/* Card Inner Layout */
.refer-milestone-inner {
    display: flex;
    padding: 20px;
    gap: 16px;
    align-items: center;
}

/* Circular Progress Ring */
.refer-milestone-ring {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.refer-milestone-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.refer-milestone-ring .ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.refer-milestone-ring .ring-progress {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 201;
    stroke-dashoffset: 201;
    transition: stroke-dashoffset 1s ease-out;
}

.refer-milestone-card.claimable .refer-milestone-ring .ring-progress {
    stroke: url(#goldGradient);
}

.refer-milestone-ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.refer-milestone-ring-icon {
    font-size: 28px;
    line-height: 1;
}

.refer-milestone-ring-percent {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Content Area */
.refer-milestone-content {
    flex: 1;
    min-width: 0;
}

.refer-milestone-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(108, 92, 231, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a29bfe;
    margin-bottom: 8px;
}

.refer-milestone-card.claimable .refer-milestone-badge {
    background: rgba(253, 203, 110, 0.2);
    color: #fdcb6e;
}

.refer-milestone-card.premium .refer-milestone-badge {
    background: linear-gradient(135deg, rgba(253, 203, 110, 0.2), rgba(225, 112, 85, 0.2));
    color: #fdcb6e;
}

.refer-milestone-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refer-milestone-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.refer-milestone-desc strong {
    color: #a29bfe;
    font-weight: 600;
}

.refer-milestone-card.claimable .refer-milestone-desc strong {
    color: #fdcb6e;
}

/* Reward Box */
.refer-milestone-reward-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(108, 92, 231, 0.2), rgba(108, 92, 231, 0.05));
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 16px;
    padding: 12px 16px;
    min-width: 80px;
    text-align: center;
}

.refer-milestone-card.claimable .refer-milestone-reward-box {
    background: linear-gradient(145deg, rgba(253, 203, 110, 0.25), rgba(253, 203, 110, 0.08));
    border-color: rgba(253, 203, 110, 0.3);
    animation: rewardGlow 2s ease-in-out infinite;
}

@keyframes rewardGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(253, 203, 110, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(253, 203, 110, 0.4);
    }
}

.refer-milestone-card.premium .refer-milestone-reward-box {
    background: linear-gradient(145deg, rgba(253, 203, 110, 0.2), rgba(225, 112, 85, 0.1));
    border-color: rgba(253, 203, 110, 0.25);
}

.refer-reward-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.refer-reward-amount {
    font-size: 22px;
    font-weight: 800;
    color: #a29bfe;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.refer-milestone-card.claimable .refer-reward-amount {
    color: #fdcb6e;
    text-shadow: 0 0 20px rgba(253, 203, 110, 0.5);
}

.refer-milestone-card.premium .refer-reward-amount {
    color: #fdcb6e;
}

.refer-reward-coin {
    font-size: 14px;
}

/* Claim Button Section */
.refer-milestone-action {
    padding: 0 20px 20px;
}

.refer-milestone-claim-btn {
    width: 100%;
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
    border: none;
    border-radius: 14px;
    padding: 16px 20px;
    color: #1a1a2e;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow:
        0 6px 0 #d68910,
        0 8px 25px rgba(253, 203, 110, 0.35);
    transition: all 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.refer-milestone-claim-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: claimShine 2s infinite;
}

@keyframes claimShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.refer-milestone-claim-btn:active {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 #d68910,
        0 4px 15px rgba(253, 203, 110, 0.3);
}

.refer-milestone-claim-btn .claim-icon {
    font-size: 18px;
}

/* Progress info row (for non-claimable) */
.refer-milestone-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.refer-progress-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.refer-progress-text span {
    color: #a29bfe;
    font-weight: 700;
}

.refer-progress-needed {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Empty State */
.refer-empty-state {
    text-align: center;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.refer-empty-state .empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.refer-empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.refer-empty-state p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Animation on page load */
.refer-hero-card,
.refer-stat-card,
.refer-bonus-card,
.refer-milestone-card {
    animation: fadeSlideIn 0.6s ease-out backwards;
}

.refer-stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.refer-stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.refer-bonus-card {
    animation-delay: 0.3s;
}

.refer-milestone-card:nth-child(1) {
    animation-delay: 0.4s;
}

.refer-milestone-card:nth-child(2) {
    animation-delay: 0.5s;
}

.refer-milestone-card:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Claimed animation */
.refer-milestone-card.claimed-anim {
    animation: claimedFadeOut 0.5s ease forwards;
}

@keyframes claimedFadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        height: 0;
        margin: 0;
        padding: 0;
        border-width: 0;
    }
}

/* SVG Gradient Definitions (added via JS) */

/* ==============================================
   SIMPLIFIED MILESTONE ITEMS
   ============================================== */
.milestone-complete-msg {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.milestone-complete-msg span {
    font-size: 24px;
    margin-right: 8px;
}

.milestone-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.milestone-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.milestone-item.claimable {
    border-color: rgba(253, 203, 110, 0.4);
    background: rgba(253, 203, 110, 0.08);
}

.milestone-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.milestone-icon {
    font-size: 28px;
}

.milestone-info {
    display: flex;
    flex-direction: column;
}

.milestone-target {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.milestone-progress-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.milestone-right {
    text-align: right;
}

.milestone-reward {
    font-size: 16px;
    font-weight: 700;
    color: #a29bfe;
}

.milestone-claim-btn {
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
    transition: all 0.2s ease;
}

.milestone-claim-btn:active {
    transform: scale(0.95);
}

/* ==============================================
   LEADERBOARD SECTION - PREMIUM PODIUM DESIGN
   ============================================== */
.leaderboard-section {
    margin-top: 24px;
}

.leaderboard-loading {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.leaderboard-empty {
    text-align: center;
    padding: 40px 20px;
}

.lb-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.lb-empty-text {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.lb-empty-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* Podium Container */
.lb-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    padding: 20px 10px 0;
    margin-bottom: 20px;
}

/* Podium Item */
.lb-podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 110px;
    position: relative;
}

.lb-podium-medal {
    font-size: 28px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.lb-podium-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.lb-podium-item.first .lb-podium-avatar {
    width: 80px;
    height: 80px;
    font-size: 32px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.lb-podium-item.second .lb-podium-avatar {
    width: 64px;
    height: 64px;
    font-size: 24px;
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    border-color: #C0C0C0;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
}

.lb-podium-item.third .lb-podium-avatar {
    width: 64px;
    height: 64px;
    font-size: 24px;
    background: linear-gradient(135deg, #CD7F32, #B87333);
    border-color: #CD7F32;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.4);
}

.lb-podium-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lb-podium-stats {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-family: monospace;
    background: rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Podium Bar */
.lb-podium-bar {
    width: 100%;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}

.lb-podium-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { background-position: 200% 50%; }
    100% { background-position: -200% 50%; }
}

.lb-podium-item.first .lb-podium-bar {
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-bottom: none;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1) inset;
}

.lb-podium-item.second .lb-podium-bar {
    height: 85px;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.3), rgba(192, 192, 192, 0.05));
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-bottom: none;
}

.lb-podium-item.third .lb-podium-bar {
    height: 65px;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.3), rgba(205, 127, 50, 0.05));
    border: 1px solid rgba(205, 127, 50, 0.3);
    border-bottom: none;
}

.lb-podium-item.you .lb-podium-avatar {
    border-color: #6c5ce7;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
}

.lb-podium-item.you .lb-podium-name {
    color: #a29bfe;
}

/* List Section (4th, 5th, etc.) */
.lb-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.lb-list-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 16px;
    gap: 12px;
    transition: all 0.2s ease;
}

.lb-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.lb-list-item.you {
    background: rgba(108, 92, 231, 0.1);
    border-color: rgba(108, 92, 231, 0.4);
}

.lb-list-rank {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    min-width: 32px;
}

.lb-list-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(108, 92, 231, 0.1));
    border: 2px solid rgba(108, 92, 231, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

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

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

.lb-list-referrals {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.lb-list-earnings {
    font-size: 14px;
    font-weight: 700;
    color: #fdcb6e;
    white-space: nowrap;
}

/* Your Rank Section */
.lb-your-rank {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.lb-your-rank-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
    text-align: center;
}