/* Ranking Page Specific Styles */

.ranking-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ranking-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.ranking-hero-content {
    position: relative;
    z-index: 2;
}

.ranking-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ranking-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Server Stats Section */
.server-stats-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-accent);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Rankings Section - Estilos para o site principal */
.ranking-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.95) 0%, rgba(238, 243, 255, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.rankings-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.ranking-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-accent);
    color: var(--text-white);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: var(--primary-accent);
}

.ranking-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(45, 99, 255, 0.15);
    box-shadow: 0 4px 16px rgba(45, 99, 255, 0.1);
    overflow: hidden;
}

.ranking-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 16px rgba(45, 99, 255, 0.1);
    border: 1px solid rgba(45, 99, 255, 0.15);
    overflow: hidden;
}

.ranking-table.hidden {
    display: none !important;
}

/* Container principal dos dados de ranking */
.ranking-body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.98));
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    min-height: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 99, 255, 0.15);
    box-shadow: 0 8px 32px rgba(45, 99, 255, 0.1);
}

/* Linhas de ranking com design moderno */
.ranking-row {
    display: grid !important;
    grid-template-columns: 60px 1fr 70px 140px 110px;
    gap: 0.5rem;
    align-items: center;
    padding: 15px 20px;
    margin: 8px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 255, 0.95));
    border-radius: 8px;
    border: 1px solid rgba(45, 99, 255, 0.12);
    box-shadow: 0 2px 8px rgba(45, 99, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

.ranking-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ranking-row:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(245, 248, 255, 1)) !important;
    border-color: rgba(45, 99, 255, 0.25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(45, 99, 255, 0.15) !important;
}

.ranking-row:hover::before {
    opacity: 1;
}

/* Posição do ranking */
.ranking-row .rank {
    font-weight: 700;
    font-size: 1.1rem;
    color: #6366f1;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.08));
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Nome do jogador */
.ranking-row .player-name {
    font-weight: 600;
    color: rgba(12, 31, 63, 0.9);
    font-size: 1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Nível do jogador */
.ranking-row .level {
    font-weight: 600;
    color: #10b981;
    text-align: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Classe do jogador */
.ranking-row .class {
    font-weight: 500;
    color: #f59e0b;
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 0;
}

/* Status online/offline */
.ranking-row .clan {
    font-weight: 500;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 90px;
    white-space: nowrap;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ranking-row .clan.online {
    color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.ranking-row .clan.offline {
    color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Estilos específicos para diferentes tipos de ranking */
#combat-ranking .ranking-header,
#combat-ranking .ranking-row {
    grid-template-columns: 60px 1fr 70px 140px 100px 110px !important;
}

#combat-ranking .combat-power {
    font-weight: 600;
    color: #8b5cf6;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#pvp-ranking .ranking-header,
#pvp-ranking .ranking-row {
    grid-template-columns: 60px 1fr 80px 100px 100px;
}

#pvp-ranking .kills {
    font-weight: 600;
    color: #dc2626;
    text-align: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#clan-ranking .ranking-header,
#clan-ranking .ranking-row {
    grid-template-columns: 60px 1fr 100px;
}

#clan-ranking .members {
    font-weight: 600;
    color: #059669;
    text-align: center;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(5, 150, 105, 0.1));
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(5, 150, 105, 0.3);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#adena-ranking .ranking-header,
#adena-ranking .ranking-row {
    grid-template-columns: 60px 1fr 120px 100px;
}

#adena-ranking .adena {
    font-weight: 600;
    color: #f59e0b;
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Animação de entrada para as linhas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ranking-row {
    animation: fadeInUp 0.5s ease forwards;
}

.ranking-row:nth-child(1) { animation-delay: 0.1s; }
.ranking-row:nth-child(2) { animation-delay: 0.2s; }
.ranking-row:nth-child(3) { animation-delay: 0.3s; }
.ranking-row:nth-child(4) { animation-delay: 0.4s; }
.ranking-row:nth-child(5) { animation-delay: 0.5s; }
.ranking-row:nth-child(6) { animation-delay: 0.6s; }
.ranking-row:nth-child(7) { animation-delay: 0.7s; }
.ranking-row:nth-child(8) { animation-delay: 0.8s; }
.ranking-row:nth-child(9) { animation-delay: 0.9s; }
.ranking-row:nth-child(10) { animation-delay: 1.0s; }

/* Estilos antigos - mantidos para compatibilidade, mas os estilos modernos acima têm prioridade */
.ranking-header {
    display: grid;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(45, 99, 255, 0.1), rgba(45, 99, 255, 0.05));
    border-bottom: 1px solid rgba(45, 99, 255, 0.15);
    font-weight: 700;
    color: rgba(12, 31, 63, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Grid específico para cada tipo de ranking */
#level-ranking .ranking-header {
    grid-template-columns: 60px 1fr 70px 140px 110px;
}

#combat-ranking .ranking-header {
    grid-template-columns: 60px 1fr 70px 140px 100px 110px;
}

.ranking-row:last-child {
    border-bottom: none;
}

.rank {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-accent);
}

.player-name {
    font-weight: 600;
    color: var(--text-white);
}

.level,
.kills {
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
}

.class,
.clan {
    color: var(--text-secondary);
    text-align: center;
}

.combat-power {
    font-weight: 700;
    color: var(--primary-accent);
    font-size: 1.1rem;
    text-align: center;
}

.members {
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.adena {
    font-weight: 600;
    color: var(--primary-accent);
    text-align: center;
}

/* Activity Section */
.activity-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.activity-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.activity-text {
    color: var(--text-white);
    font-weight: 500;
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ranking-title {
        font-size: 2.5rem;
    }
    
    .ranking-description {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .ranking-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .ranking-header,
    .ranking-row {
        grid-template-columns: 60px 1fr 80px;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .ranking-header span:nth-child(4),
    .ranking-header span:nth-child(5),
    .ranking-row span:nth-child(4),
    .ranking-row span:nth-child(5) {
        display: none;
    }
}

@media (max-width: 480px) {
    .ranking-hero {
        padding: 6rem 0 3rem;
    }
    
    .ranking-title {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .ranking-header,
    .ranking-row {
        grid-template-columns: 50px 1fr 70px;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .activity-item {
        padding: 1rem;
    }
}

/* ============================================
   MELHORIAS VISUAIS - RANKING MODERNO
   ============================================ */

/* TOP 3 - Destaque para os primeiros colocados */
.ranking-row.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1)) !important;
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    position: relative;
    transform: scale(1.02);
}

.ranking-row.top-1::before {
    content: '🥇';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 1;
    z-index: 10;
}

.ranking-row.top-1 .rank {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #000 !important;
    font-weight: 900;
    font-size: 1.3rem;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.ranking-row.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(169, 169, 169, 0.1)) !important;
    border: 2px solid rgba(192, 192, 192, 0.5) !important;
    box-shadow: 0 0 25px rgba(192, 192, 192, 0.3), 0 6px 28px rgba(0, 0, 0, 0.4) !important;
    position: relative;
    transform: scale(1.01);
}

.ranking-row.top-2::before {
    content: '🥈';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 1;
    z-index: 10;
}

.ranking-row.top-2 .rank {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0) !important;
    color: #000 !important;
    font-weight: 900;
    font-size: 1.25rem;
    border: 2px solid #C0C0C0 !important;
    box-shadow: 0 0 12px rgba(192, 192, 192, 0.6);
}

.ranking-row.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(184, 115, 51, 0.1)) !important;
    border: 2px solid rgba(205, 127, 50, 0.5) !important;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.3), 0 5px 24px rgba(0, 0, 0, 0.4) !important;
    position: relative;
}

.ranking-row.top-3::before {
    content: '🥉';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 1;
    z-index: 10;
}

.ranking-row.top-3 .rank {
    background: linear-gradient(135deg, #CD7F32, #B87333) !important;
    color: #fff !important;
    font-weight: 900;
    font-size: 1.2rem;
    border: 2px solid #CD7F32 !important;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.6);
}

/* Classes CSS para diferentes níveis de Combat Power */
.ranking-row.cp-500 {
    border-left: 4px solid #6B7280;
}
.ranking-row.cp-500 .combat-power {
    color: #9CA3AF !important;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.2), rgba(156, 163, 175, 0.1)) !important;
    border-color: rgba(156, 163, 175, 0.4) !important;
}

.ranking-row.cp-1000 {
    border-left: 4px solid #10B981;
}
.ranking-row.cp-1000 .combat-power {
    color: #34D399 !important;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(52, 211, 153, 0.1)) !important;
    border-color: rgba(52, 211, 153, 0.4) !important;
}

.ranking-row.cp-1500 {
    border-left: 4px solid #3B82F6;
}
.ranking-row.cp-1500 .combat-power {
    color: #60A5FA !important;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0.1)) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
}

.ranking-row.cp-2000 {
    border-left: 4px solid #8B5CF6;
}
.ranking-row.cp-2000 .combat-power {
    color: #A78BFA !important;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(167, 139, 250, 0.1)) !important;
    border-color: rgba(167, 139, 250, 0.4) !important;
}

.ranking-row.cp-2500 {
    border-left: 4px solid #EC4899;
}
.ranking-row.cp-2500 .combat-power {
    color: #F472B6 !important;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(244, 114, 182, 0.1)) !important;
    border-color: rgba(244, 114, 182, 0.4) !important;
}

.ranking-row.cp-2600 {
    border-left: 4px solid #F59E0B;
}
.ranking-row.cp-2600 .combat-power {
    color: #FBBF24 !important;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1)) !important;
    border-color: rgba(251, 191, 36, 0.4) !important;
}

.ranking-row.cp-2700 {
    border-left: 4px solid #EF4444;
}
.ranking-row.cp-2700 .combat-power {
    color: #F87171 !important;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(248, 113, 113, 0.1)) !important;
    border-color: rgba(248, 113, 113, 0.4) !important;
}

.ranking-row.cp-2800 {
    border-left: 4px solid #14B8A6;
}
.ranking-row.cp-2800 .combat-power {
    color: #5EEAD4 !important;
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.2), rgba(94, 234, 212, 0.1)) !important;
    border-color: rgba(94, 234, 212, 0.4) !important;
}

.ranking-row.cp-2900 {
    border-left: 4px solid #6366F1;
}
.ranking-row.cp-2900 .combat-power {
    color: #818CF8 !important;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(129, 140, 248, 0.1)) !important;
    border-color: rgba(129, 140, 248, 0.4) !important;
}

.ranking-row.cp-3000 {
    border-left: 4px solid #F97316;
}
.ranking-row.cp-3000 .combat-power {
    color: #FB923C !important;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.1)) !important;
    border-color: rgba(251, 146, 60, 0.4) !important;
}

.ranking-row.cp-3100 {
    border-left: 4px solid #A855F7;
}
.ranking-row.cp-3100 .combat-power {
    color: #C084FC !important;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.2), rgba(192, 132, 252, 0.1)) !important;
    border-color: rgba(192, 132, 252, 0.4) !important;
}

.ranking-row.cp-3200 {
    border-left: 4px solid #06B6D4;
}
.ranking-row.cp-3200 .combat-power {
    color: #22D3EE !important;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(34, 211, 238, 0.1)) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
}

.ranking-row.cp-3300 {
    border-left: 4px solid #EAB308;
}
.ranking-row.cp-3300 .combat-power {
    color: #FCD34D !important;
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.2), rgba(252, 211, 77, 0.1)) !important;
    border-color: rgba(252, 211, 77, 0.4) !important;
}

.ranking-row.cp-3400 {
    border-left: 4px solid #DC2626;
}
.ranking-row.cp-3400 .combat-power {
    color: #EF4444 !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1)) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

.ranking-row.cp-3500 {
    border-left: 4px solid #7C3AED;
}
.ranking-row.cp-3500 .combat-power {
    color: #A855F7 !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1)) !important;
    border-color: rgba(168, 85, 247, 0.4) !important;
}

.ranking-row.cp-3600 {
    border-left: 4px solid #DC2626;
}
.ranking-row.cp-3600 .combat-power {
    color: #FF0000 !important;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.1)) !important;
    border-color: rgba(255, 0, 0, 0.5) !important;
    font-weight: 800 !important;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    }
}

/* Elementos visuais melhorados para Online/Offline */
.ranking-row .clan.online {
    color: #10B981 !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.15)) !important;
    border: 1.5px solid rgba(16, 185, 129, 0.5) !important;
    position: relative;
    padding-left: 30px !important;
    padding-right: 12px !important;
    min-width: 100px !important;
}

.ranking-row .clan.online::before {
    content: '●';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #10B981;
    font-size: 1rem;
    animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.ranking-row .clan.offline {
    color: #6B7280 !important;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(107, 114, 128, 0.1)) !important;
    border: 1.5px solid rgba(107, 114, 128, 0.3) !important;
    position: relative;
    padding-left: 30px !important;
    padding-right: 12px !important;
    min-width: 100px !important;
}

.ranking-row .clan.offline::before {
    content: '○';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 1rem;
}

/* Elementos visuais para classes - Ícones e cores específicas */
.ranking-row .class {
    position: relative;
    padding-left: 32px !important;
    padding-right: 8px !important;
    font-weight: 600;
    min-width: 0;
}

/* Classes por tipo - cores diferentes */
.ranking-row .class.fighter {
    color: #F59E0B !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.15)) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}

.ranking-row .class.fighter::before {
    content: '⚔️';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.ranking-row .class.mystic {
    color: #8B5CF6 !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.15)) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

.ranking-row .class.mystic::before {
    content: '✨';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.ranking-row .class.rogue {
    color: #EF4444 !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.15)) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

.ranking-row .class.rogue::before {
    content: '🗡️';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.ranking-row .class.warg {
    color: #DC2626 !important;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(220, 38, 38, 0.15)) !important;
    border-color: rgba(220, 38, 38, 0.4) !important;
}

.ranking-row .class.warg::before {
    content: '🐺';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

/* Melhorias gerais de hover */
.ranking-row:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3) !important;
}

.ranking-row.top-1:hover {
    transform: scale(1.03) translateY(-3px) !important;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5), 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.ranking-row.top-2:hover {
    transform: scale(1.02) translateY(-3px) !important;
    box-shadow: 0 0 35px rgba(192, 192, 192, 0.4), 0 8px 35px rgba(0, 0, 0, 0.5) !important;
}

.ranking-row.top-3:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.4), 0 7px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Responsive - ajustar posição dos emojis no mobile */
@media (max-width: 768px) {
    .ranking-row.top-1::before,
    .ranking-row.top-2::before,
    .ranking-row.top-3::before {
        left: -30px;
        font-size: 1.5rem;
    }
}