/* ====================================================
   ranking-pvpeup-stylle.css
   Estilos para Rei do UP e Rei do PVP
   ==================================================== */

/* ====================================================
   REI DO UP - ESTILOS
   ==================================================== */

/* Card Principal - Fundo transparente */
.king-card-up {
    background: transparent;
    padding: 15px 20px 20px;
    margin: 10px 0 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.king-card-up:hover {
    transform: translateY(-3px);
}

/* Bloco do Avatar - UP */
.king-avatar-up {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 8px;
    position: relative;
}

.king-avatar-up a {
    display: block;
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15),
                0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.king-avatar-up a:hover {
    transform: scale(1.05);
    border-color: #ffed4a;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.25),
                0 6px 20px rgba(0, 0, 0, 0.12);
}

.king-avatar-img-up {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    background: #f8f8f8;
    padding: 5px;
}

/* Ícone da Coroa - UP (Dourada) */
.king-crown-up {
    position: absolute;
    top: -10px;
    right: -8px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ffd700, #f0a500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    border: 2px solid #ffffff;
    animation: pulseCrownUp 2s ease-in-out infinite;
}

@keyframes pulseCrownUp {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Bloco de Informações - UP */
.king-info-up {
    text-align: center;
    padding: 10px 0 0;
}

.king-name-up {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.king-stats-up {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 6px 0 10px;
}

.king-score-up {
    color: #333333;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.king-score-up i {
    color: #ffd700;
    margin-right: 8px;
}

.king-badge-up {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #f0a500);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 20px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.3);
}

.king-badge-up i {
    margin-right: 6px;
    font-size: 0.7rem;
}

/* Linha decorativa - UP */
.king-card-up::after {
    content: '';
    display: block;
    width: 60%;
    height: 1px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
}


/* ====================================================
   REI DO PVP - ESTILOS
   ==================================================== */

/* Card Principal - Fundo transparente */
.king-card-pvp {
    background: transparent;
    padding: 15px 20px 20px;
    margin: 10px 0 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.king-card-pvp:hover {
    transform: translateY(-3px);
}

/* Bloco do Avatar - PVP */
.king-avatar-pvp {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 8px;
    position: relative;
}

.king-avatar-pvp a {
    display: block;
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
    border: 3px solid #ff6b6b;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.15),
                0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.king-avatar-pvp a:hover {
    transform: scale(1.05);
    border-color: #ff4757;
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.25),
                0 6px 20px rgba(0, 0, 0, 0.12);
}

.king-avatar-img-pvp {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    background: #f8f8f8;
    padding: 5px;
}

/* Ícone da Coroa - PVP (Vermelha) */
.king-crown-pvp {
    position: absolute;
    top: -10px;
    right: -8px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff6b6b, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
    border: 2px solid #ffffff;
    animation: pulseCrownPvp 2s ease-in-out infinite;
}

@keyframes pulseCrownPvp {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Bloco de Informações - PVP */
.king-info-pvp {
    text-align: center;
    padding: 10px 0 0;
}

.king-name-pvp {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.king-stats-pvp {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 6px 0 10px;
}

.king-score-pvp {
    color: #333333;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.king-score-pvp i {
    color: #ff6b6b;
    margin-right: 8px;
}

.king-badge-pvp {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #c0392b);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 20px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 2px 12px rgba(255, 107, 107, 0.3);
}

.king-badge-pvp i {
    margin-right: 6px;
    font-size: 0.7rem;
}

/* Linha decorativa - PVP */
.king-card-pvp::after {
    content: '';
    display: block;
    width: 60%;
    height: 1px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.2), transparent);
}


/* ====================================================
   ESTADOS VAZIOS (AMBOS)
   ==================================================== */

.king-empty-up {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px dashed rgba(255, 215, 0, 0.3);
    margin: 10px 0 20px;
}

.king-empty-up p {
    color: #333333;
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

.king-empty-pvp {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px dashed rgba(255, 107, 107, 0.3);
    margin: 10px 0 20px;
}

.king-empty-pvp p {
    color: #333333;
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}


/* ====================================================
   RESPONSIVIDADE (AMBOS)
   ==================================================== */

@media (max-width: 768px) {
    .king-card-up,
    .king-card-pvp {
        padding: 10px 12px 16px;
        margin: 5px 0 12px;
    }
    
    .king-avatar-up a,
    .king-avatar-pvp a {
        width: 110px;
        height: 110px;
    }
    
    .king-crown-up,
    .king-crown-pvp {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: -8px;
        right: -6px;
    }
    
    .king-name-up,
    .king-name-pvp {
        font-size: 1.1rem;
    }
    
    .king-score-up,
    .king-score-pvp {
        font-size: 0.8rem;
        padding: 5px 16px;
    }
    
    .king-badge-up,
    .king-badge-pvp {
        font-size: 0.65rem;
        padding: 3px 16px;
    }
}

@media (max-width: 480px) {
    .king-avatar-up a,
    .king-avatar-pvp a {
        width: 90px;
        height: 90px;
        border-width: 2px;
    }
    
    .king-name-up,
    .king-name-pvp {
        font-size: 0.95rem;
    }
    
    .king-stats-up,
    .king-stats-pvp {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .king-crown-up,
    .king-crown-pvp {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: -6px;
        right: -5px;
    }
    
    .king-score-up,
    .king-score-pvp {
        font-size: 0.75rem;
        padding: 4px 14px;
    }
}