/* =========================================================
   QuickPolls - KingPolls (Liderlik Tablosu) Styles
   ========================================================= */

/* === KART STİLİ === */
.king-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.king-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(52, 210, 124, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* === PROFİL GÖRSELİ === */
.king-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-accent);
    margin-bottom: 1rem;
}

/* === KULLANICI ADI === */
.king-name {
    font-weight: 700;
    font-size: 1.75rem;
    color: #e8f7f0;
}

.king-rank {
    color: #b8f7ce;
    font-weight: 600;
    font-size: 1.24rem;
}

/* === TAÇ İKONU === */
.king-crown {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    color: gold;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* === İSTATİSTİKLER === */
.king-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.king-stats .stat-box {
    text-align: center;
}

.king-stats .value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #6fffb0;
}

.king-stats .label {
    color: #c9e7dc;
    font-size: 0.9rem;
}

/* === 1. SIRA PARLAMA === */
.king-card.first {
    background: linear-gradient(180deg, #14532d, #0d3b2d);
    border-color: #00b894;
    box-shadow: 0 0 25px rgba(0, 255, 150, 0.35);
}

.king-card.first .king-crown {
    font-size: 2rem;
    color: #ffd700;
}

/* === Profili İncele Butonları === */
.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #e8f7f0;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.25s ease-in-out;
}

/* Boyut: daha geniş ve yüksek buton */
.btn-wide {
    min-width: 200px;
    /* butonun genişliğini belirler */
    padding: 0.8rem 1.6rem;
    /* yüksekliği ve yatay boşluğu artırır */
    font-size: 1.05rem;
    /* yazı boyutunu biraz büyütür */
    font-weight: 600;
    border-radius: 12px;
}

/* Hover efekti daha yumuşak olsun */
.btn-outline-light:hover {
    border-color: #34d27c;
    color: #baffdb;
    background: rgba(52, 210, 124, 0.12);
    box-shadow: 0 0 15px rgba(52, 210, 124, 0.35);
    transform: translateY(-2px);
}