/* ==========================================
   🏆 LIDERLIK SAYFASI ULTRA-LUXURY GLASSMORPHISM & 3D PODIUM
   ========================================== */

.lider-hero {
    background: linear-gradient(145deg, rgba(8, 14, 28, 0.95) 0%, rgba(13, 22, 44, 0.85) 50%, rgba(6, 10, 22, 0.98) 100%);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 26px;
    padding: 44px 32px;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 210, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.lider-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.lider-hero h1 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 30%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 25px rgba(0, 210, 255, 0.3);
}

.lider-hero p {
    color: #94a3b8;
    font-size: 14.5px;
    font-weight: 600;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 2;
}

.lider-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    position: relative;
    z-index: 2;
    margin-top: 18px;
}

.lider-hero-stat {
    position: relative;
}

.lider-hero-stat::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.lider-hero-stat:last-child::after {
    display: none;
}

.lider-hero-stat h3 {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.35);
    font-variant-numeric: tabular-nums;
}

.lider-hero-stat p {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* 3D Podyum Tasarımı */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin: 60px auto 48px;
    max-width: 840px;
    padding: 0 16px;
    perspective: 1000px;
}

.podium-kart {
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.podium-kart.birinci { order: 2; z-index: 5; }
.podium-kart.ikinci { order: 1; z-index: 4; }
.podium-kart.ucuncu { order: 3; z-index: 3; }

.podium-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #131c31, #060912);
    position: relative;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255,255,255,0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2.5px solid rgba(255, 255, 255, 0.12);
}

.podium-kart.birinci .podium-avatar {
    width: 106px;
    height: 106px;
    font-size: 42px;
    border: 3.5px solid #ffb830;
    color: #ffb830;
    box-shadow: 0 0 40px rgba(255, 184, 48, 0.5), 0 16px 40px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, #241c0e, #090b14);
}

.podium-kart.ikinci .podium-avatar {
    border: 3px solid #cbd5e1;
    color: #cbd5e1;
    box-shadow: 0 0 30px rgba(203, 213, 225, 0.35), 0 14px 34px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #19202f, #090b14);
}

.podium-kart.ucuncu .podium-avatar {
    border: 3px solid #f3a683;
    color: #f3a683;
    box-shadow: 0 0 30px rgba(243, 166, 131, 0.3), 0 14px 34px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #221818, #090b14);
}

.podium-madalya {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #060912;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
    border: 2px solid rgba(255,255,255,0.18);
}

.podium-isim {
    font-size: 16.5px;
    font-weight: 850;
    color: #ffffff;
    margin: 8px 0 2px 0;
    max-width: 165px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.podium-puan {
    font-size: 14.5px;
    font-weight: 900;
    color: #00ff87;
    text-shadow: 0 0 12px rgba(0, 255, 135, 0.4);
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.podium-platform {
    background: linear-gradient(180deg, #0d1527, #050811);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 5px solid;
    border-radius: 22px 22px 14px 14px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(20px);
    position: relative;
}

.podium-kart.birinci .podium-platform {
    height: 150px;
    border-color: #ffb830;
    box-shadow: 0 28px 60px rgba(255, 184, 48, 0.2), 0 20px 45px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, rgba(255, 184, 48, 0.15) 0%, #050811 100%);
}

.podium-kart.ikinci .podium-platform {
    height: 120px;
    border-color: #cbd5e1;
    box-shadow: 0 22px 45px rgba(203, 213, 225, 0.12), 0 20px 45px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, rgba(203, 213, 225, 0.1) 0%, #050811 100%);
}

.podium-kart.ucuncu .podium-platform {
    height: 95px;
    border-color: #f3a683;
    box-shadow: 0 18px 40px rgba(243, 166, 131, 0.1), 0 20px 45px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, rgba(243, 166, 131, 0.08) 0%, #050811 100%);
}

.podium-sira-num {
    font-size: 42px;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.05);
    font-family: 'Inter', sans-serif;
    transition: all 0.4s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.podium-kart.birinci .podium-sira-num {
    color: rgba(255, 184, 48, 0.22);
    text-shadow: 0 0 20px rgba(255, 184, 48, 0.3);
}

.podium-kart:hover {
    transform: translateY(-12px) scale(1.04);
}

.podium-kart:hover .podium-avatar {
    transform: scale(1.08) translateY(-4px);
}

.podium-kart.birinci:hover .podium-avatar {
    box-shadow: 0 0 50px rgba(255, 184, 48, 0.75), 0 16px 40px rgba(0, 0, 0, 0.8);
}

/* Liderlik Tablosu */
.lider-tablo {
    background: linear-gradient(160deg, rgba(10, 16, 32, 0.95) 0%, rgba(6, 10, 22, 0.98) 100%);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.tablo-header {
    display: grid;
    grid-template-columns: 80px 1fr 140px 120px;
    padding: 18px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.tablo-header span {
    font-size: 11.5px;
    font-weight: 850;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.tablo-satir {
    display: grid;
    grid-template-columns: 80px 1fr 140px 120px;
    padding: 16px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tablo-satir:last-child {
    border-bottom: none;
}

.tablo-satir:hover {
    background: rgba(0, 210, 255, 0.06);
    transform: scale(1.006) translateX(4px);
}

.tablo-satir.benim {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-left: 4px solid #00d2ff;
}

.sira-num {
    font-size: 15.5px;
    font-weight: 900;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.kullanici-col {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kullanici-avatar-kucuk {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #131c31, #060912);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    color: #00d2ff;
    flex-shrink: 0;
    border: 1.5px solid rgba(0, 210, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.kullanici-adi-text {
    font-size: 14px;
    font-weight: 750;
    color: #ffffff;
}

.puan-col {
    font-size: 15px;
    font-weight: 900;
    color: #00ff87;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.35);
    font-variant-numeric: tabular-nums;
}

.dolar-col {
    font-size: 14px;
    color: #38bdf8;
    font-weight: 800;
}

.benim-rozet {
    display: inline-block;
    background: rgba(0, 210, 255, 0.18);
    color: #00d2ff;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 8px;
    border: 1px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.3);
}

/* Kendi Sıram Kartı */
.benim-siram-kart {
    background: linear-gradient(145deg, rgba(8, 14, 28, 0.95) 0%, rgba(13, 22, 44, 0.9) 100%);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 20px;
    padding: 22px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

.benim-siram-kart:hover {
    border-color: rgba(0, 210, 255, 0.6);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 210, 255, 0.25);
    transform: translateY(-3px);
}

.benim-siram-sol {
    display: flex;
    align-items: center;
    gap: 18px;
}

.benim-siram-kart h4 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    margin: 0 0 2px 0;
}

.benim-siram-kart p {
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 600;
    margin: 0;
}

.benim-sira-num {
    font-size: 32px;
    font-weight: 950;
    color: #00d2ff;
    text-shadow: 0 0 16px rgba(0, 210, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

.benim-puan-text {
    font-size: 18px;
    font-weight: 900;
    color: #00ff87;
    text-shadow: 0 0 12px rgba(0, 255, 135, 0.4);
}

.benim-dolar-text {
    font-size: 13.5px;
    color: #38bdf8;
    font-weight: 800;
    text-align: right;
}

.yukleniyor-container {
    padding: 60px;
    text-align: center;
    color: #64748b;
}

.yukleniyor-container i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: #00d2ff;
}

.bos-mesaj {
    padding: 40px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
}

/* ==========================================
   📱 MOBILE STYLING (LIDERLIK SAYFASI)
   ========================================== */

@media (max-width: 768px) {
    .lider-hero {
        padding: 28px 20px;
        margin-bottom: 24px;
    }
    .lider-hero h1 {
        font-size: 28px;
    }
    .lider-hero-stats {
        gap: 24px;
    }
    .podium-container {
        gap: 10px;
        margin-bottom: 36px;
    }
    .podium-platform {
        padding: 8px 12px;
    }
    .podium-kart.birinci .podium-platform { height: 105px; }
    .podium-kart.ikinci .podium-platform { height: 80px; }
    .podium-kart.ucuncu .podium-platform { height: 60px; }
    .podium-kart.birinci .podium-avatar { width: 76px; height: 76px; font-size: 28px; }
    .podium-avatar { width: 58px; height: 58px; font-size: 20px; }
    .benim-siram-kart {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }
    .benim-siram-sol {
        flex-direction: column;
        gap: 8px;
    }
    .benim-dolar-text {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .tablo-header, .tablo-satir {
        grid-template-columns: 45px 1fr 85px 65px !important;
        padding: 14px 12px !important;
    }
    .kullanici-col {
        gap: 8px !important;
    }
    .kullanici-avatar-kucuk {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    .kullanici-adi-text {
        font-size: 13px !important;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .puan-col {
        font-size: 13px !important;
    }
    .dolar-col {
        font-size: 12px !important;
    }
}

/* ==========================================
   ⏰ LEADBOARD RESET COUNTDOWN STYLES
   ========================================== */
.countdown-container {
    background: linear-gradient(135deg, rgba(8, 14, 28, 0.95) 0%, rgba(13, 22, 44, 0.9) 100%);
    border: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 16px 24px;
    margin: 18px auto 28px;
    max-width: 440px;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 10;
}

.countdown-title {
    font-weight: 900;
    font-size: 11px;
    color: #00d2ff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.countdown-segment span {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Inter', monospace, sans-serif;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    font-variant-numeric: tabular-nums;
}

.countdown-segment label {
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 2px;
}

.countdown-divider {
    font-size: 20px;
    font-weight: 900;
    color: #00d2ff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* ===== PODIUM CROWN ===== */
.podium-crown {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    font-size: 26px;
    color: #ffb830;
    filter: drop-shadow(0 0 12px rgba(255, 184, 48, 0.8));
    z-index: 10;
    animation: floatingCrown 2.5s ease-in-out infinite;
}
@keyframes floatingCrown {
    0%, 100% { transform: translateX(-50%) rotate(-5deg) translateY(0); }
    50% { transform: translateX(-50%) rotate(-5deg) translateY(-5px); }
}