/* ==========================================
   🏆 LIDERLIK SAYFASI MODERN PREMIUM DEKORASYONLARI
   ========================================== */

.lider-hero {
    background: linear-gradient(135deg, rgba(13, 19, 33, 0.9), rgba(26, 39, 68, 0.4)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><radialGradient id="rg" cx="50%" cy="50%" r="50%" fx="50%" fy="50%"><stop offset="0%" stop-color="%237C3AED" stop-opacity="0.07"/><stop offset="100%" stop-color="transparent" stop-opacity="0"/></radialGradient></defs><rect width="100" height="100" fill="url(%23rg)"/></svg>');
    background-size: cover;
    border: 1px solid rgba(59, 91, 219, 0.25);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(59, 91, 219, 0.1);
    position: relative;
    overflow: hidden;
}

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

.lider-hero h1 {
    font-size: 36px;
    font-weight: 850;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, #7096ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 2;
}

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

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

.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: 26px;
    font-weight: 850;
    color: white;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

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

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

.podium-kart {
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s 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: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1b2336, #090d16);
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.podium-kart.birinci .podium-avatar {
    width: 100px;
    height: 100px;
    font-size: 38px;
    border: 3px solid #f59e0b;
    color: #f59e0b;
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.45), 0 12px 36px rgba(0, 0, 0, 0.7);
}

.podium-kart.ikinci .podium-avatar {
    border: 2.5px solid #94a3b8;
    color: #cbd5e1;
    box-shadow: 0 0 25px rgba(148, 163, 184, 0.3), 0 12px 32px rgba(0, 0, 0, 0.6);
}

.podium-kart.ucuncu .podium-avatar {
    border: 2.5px solid #cd7f32;
    color: #d97706;
    box-shadow: 0 0 25px rgba(205, 127, 50, 0.25), 0 12px 32px rgba(0, 0, 0, 0.6);
}

.podium-madalya {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #090d16;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.6);
    border: 1.5px solid rgba(255,255,255,0.12);
}

.podium-isim {
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin: 8px 0 2px 0;
    max-width: 155px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-puan {
    font-size: 14px;
    font-weight: 800;
    color: #2dd4bf;
    text-shadow: 0 0 10px rgba(45, 212, 191, 0.35);
    margin-bottom: 16px;
}

.podium-platform {
    background: linear-gradient(180deg, #111827, #070b14);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 5px solid;
    border-radius: 20px 20px 12px 12px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.05);
    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); /* 3D derinlik */
    position: relative;
}

.podium-kart.birinci .podium-platform {
    height: 140px;
    border-color: #f59e0b;
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.15), 0 20px 45px rgba(0, 0, 0, 0.7);
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.12), #070b14);
}

.podium-kart.ikinci .podium-platform {
    height: 110px;
    border-color: #94a3b8;
    box-shadow: 0 20px 40px rgba(148, 163, 184, 0.1), 0 20px 45px rgba(0, 0, 0, 0.7);
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.08), #070b14);
}

.podium-kart.ucuncu .podium-platform {
    height: 85px;
    border-color: #cd7f32;
    box-shadow: 0 15px 35px rgba(205, 127, 50, 0.08), 0 20px 45px rgba(0, 0, 0, 0.7);
    background: linear-gradient(to bottom, rgba(205, 127, 50, 0.06), #070b14);
}

.podium-sira-num {
    font-size: 38px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    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(245, 158, 11, 0.18);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

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

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

.podium-kart.birinci:hover .podium-avatar {
    box-shadow: 0 0 45px rgba(245, 158, 11, 0.65), 0 12px 36px rgba(0, 0, 0, 0.7);
}

/* Liderlik Tablosu */
.lider-tablo {
    background: #0d1321;
    border: 1px solid rgba(59, 91, 219, 0.18);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.tablo-header span {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tablo-satir {
    display: grid;
    grid-template-columns: 80px 1fr 140px 120px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    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(59, 91, 219, 0.06);
    transform: scale(1.005) translateX(4px);
}

.tablo-satir.benim {
    background: rgba(124, 58, 237, 0.07);
    border-left: 3px solid #7C3AED;
}

.sira-num {
    font-size: 15px;
    font-weight: 800;
    color: #64748b;
}

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

.kullanici-avatar-kucuk {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e2d45, #0d1321);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #7096ff;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.kullanici-adi-text {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.puan-col {
    font-size: 15px;
    font-weight: 800;
    color: #cbd5e1;
}

.dolar-col {
    font-size: 14px;
    color: #34d399;
    font-weight: 700;
}

.benim-rozet {
    display: inline-block;
    background: rgba(124, 58, 237, 0.18);
    color: #a78bfa;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 8px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

/* Kendi Sıram Kartı */
.benim-siram-kart {
    background: linear-gradient(135deg, #0d1321, rgba(26, 39, 68, 0.3));
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 18px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

.benim-siram-kart:hover {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(124, 58, 237, 0.2);
    transform: translateY(-3px);
}

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

.benim-siram-kart h4 {
    color: white;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 2px 0;
}

.benim-siram-kart p {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.benim-sira-num {
    font-size: 30px;
    font-weight: 900;
    color: #7C3AED;
    text-shadow: 0 0 12px rgba(124, 58, 237, 0.3);
}

.benim-puan-text {
    font-size: 18px;
    font-weight: 850;
    color: white;
}

.benim-dolar-text {
    font-size: 13px;
    color: #34d399;
    font-weight: 700;
    text-align: right;
}

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

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

.bos-mesaj {
    padding: 40px;
    text-align: center;
    color: #475569;
    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: 95px; }
    .podium-kart.ikinci .podium-platform { height: 70px; }
    .podium-kart.ucuncu .podium-platform { height: 50px; }
    .podium-kart.birinci .podium-avatar { width: 72px; height: 72px; font-size: 26px; }
    .podium-avatar { width: 56px; height: 56px; 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: 50px 1fr 90px 70px !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(13, 19, 33, 0.9), rgba(26, 39, 68, 0.45));
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 14px 20px;
    margin: 18px auto 28px;
    max-width: 420px;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 10;
}

.countdown-title {
    font-weight: 850;
    font-size: 11px;
    color: #3b82f6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
}

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

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

.countdown-segment span {
    font-size: 22px;
    font-weight: 850;
    color: #fff;
    font-family: monospace, sans-serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.countdown-segment label {
    font-size: 8px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.countdown-divider {
    font-size: 18px;
    font-weight: 850;
    color: #3b82f6;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
}

/* ===== PODIUM CROWN ===== */
.podium-crown {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    font-size: 24px;
    color: #f59e0b;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.65));
    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(-4px); }
}