/* ===================================================================
   TOPMAP RANKING - CSS PARA CS 1.6 MOTD (BASEADO NO TOP10)
   Autor: MAJESTIC S+Z
   Versão: 2024 - NOVO ESTILO
   Compatível com: Counter-Strike 1.6 MOTD
   =================================================================== */

/* Reset básico e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    color: #ffffff;
    background: url('http://www.majesticsz.ihosts3.pt/adp3.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container principal - LAYOUT ÚNICO OTIMIZADO */
.container {
    max-width: 800px;
    width: 100%;
    margin: 12px auto;
    padding: 10px;
    background: rgba(5, 10, 30, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.8);
    position: relative;
    display: block;
}

/* Título principal */
h1 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #FFA500;
    margin-bottom: 8px;
    padding: 5px;
    background: linear-gradient(90deg, transparent, rgba(0, 50, 100, 0.3), transparent);
    border-radius: 4px;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.8);
}

/* Tabela principal - GARANTIA DE LAYOUT ÚNICO */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: rgba(0, 30, 60, 0.9);
    border-radius: 6px;
    overflow: visible;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    table-layout: fixed;
    display: table;
    clear: both;
}

/* Larguras específicas das colunas TOPMAP (4 colunas para /top10) - LAYOUT ÚNICO */
th:nth-child(1), td:nth-child(1) { width: 8%; }   /* POS */
th:nth-child(2), td:nth-child(2) { width: 47%; }  /* JOGADOR */
th:nth-child(3), td:nth-child(3) { width: 23%; }  /* PREMIER */
th:nth-child(4), td:nth-child(4) { width: 22%; }  /* RANK - aumentada para acomodar imagens */

/* Larguras específicas das colunas TOPMAP (5 colunas para outros comandos) */
.five-columns th:nth-child(1), .five-columns td:nth-child(1) { width: 4%; }   /* POS */
.five-columns th:nth-child(2), .five-columns td:nth-child(2) { width: 58%; }  /* JOGADOR */
.five-columns th:nth-child(3), .five-columns td:nth-child(3) { width: 16%; }  /* RANK */
.five-columns th:nth-child(4), .five-columns td:nth-child(4) { width: 12%; } /* PONTOS */
.five-columns th:nth-child(5), .five-columns td:nth-child(5) { width: 10%; } /* PREMIER */

/* Cabeçalho da tabela */
th {
    background: linear-gradient(135deg, #003366 0%, #0066CC 50%, #00FFFF 100%);
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
    padding: 6px 8px;
    text-align: center;
    border-bottom: 1px solid #654321;
}

/* Substituir texto "Pos" por imagem na coluna 1 */
th:nth-child(1) {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/icons/icon-top.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* esconde o texto "Pos" */
    height: 40px;
}

/* Substituir texto "Jogador" por imagem na coluna 2 */
th:nth-child(2) {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/icon-jogadores4.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* esconde o texto "Jogador" */
    height: 45px;
}

/* Substituir texto "Premier" por imagem na coluna 3 (layout 4 colunas) */
th:nth-child(3) {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/premier_toptop.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* esconde o texto "Premier" */
    height: 50px;
}

/* Substituir texto "Premier" por imagem na coluna 5 (layout 5 colunas) */
.five-columns th:nth-child(5) {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/premier_toptop.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* esconde o texto "Premier" */
    height: 50px;
}

/* Substituir texto "K/D" por imagem na coluna 4 */
th:nth-child(4) {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/KDcolorido.png');
    background-size: 24%;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* esconde o texto "K/D" */
    height: 40px;
}

th:first-child {
    border-top-left-radius: 8px;
}

th:last-child {
    border-top-right-radius: 8px;
}

/* Linhas da tabela - altura reduzida */
td {
    padding: 2px 6px;
    text-align: center;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    vertical-align: middle;
    line-height: 1.2;
}

/* Estilo das linhas alternadas */
tr.a {
    background: linear-gradient(90deg, rgba(0, 50, 100, 0.2), rgba(0, 50, 100, 0.1));
    border-left: 3px solid #0066CC;
}

tr.b {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.15), rgba(0, 255, 255, 0.08));
    border-left: 3px solid #00FFFF;
}

/* Hover effect nas linhas - REMOVIDO */
/* tr:hover removido para visual mais limpo */

/* Coluna de posição (POS) */
td:first-child {
    font-weight: bold;
    font-size: 14px;
    color: #32CD32 !important; /* Verde lima para posições */
    text-shadow: 0 0 8px rgba(50, 205, 50, 0.8) !important;
    background: linear-gradient(90deg, rgba(50, 205, 50, 0.1), rgba(50, 205, 50, 0.05));
    box-shadow: inset -3px 0 6px rgba(50, 205, 50, 0.2);
}

/* Coluna K/D (ÚLTIMA COLUNA) */
td:last-child {
    font-weight: bold;
    font-size: 14px;
    color: #32CD32 !important; /* Verde lima igual às posições */
    text-shadow: 0 0 8px rgba(50, 205, 50, 0.8) !important;
}

/* Coluna do nome do jogador */
td:nth-child(2) {
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    padding: 3px 8px;
    overflow: visible;
    text-overflow: ellipsis;
    /* Efeitos removidos temporariamente para debug das cores Premier */
}

/* Sistema de cores Premier removido conforme solicitado */

/* DESABILITAR imagens de fundo na coluna dos jogadores (2ª coluna) */
td:nth-child(2)::before {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

/* GARANTIR que a 2ª coluna NUNCA tenha imagens, independente da classe */
td:nth-child(2).p1::before,
td:nth-child(2).p2::before,
td:nth-child(2).p3::before,
td:nth-child(2).p4::before,
td:nth-child(2).p5::before,
td:nth-child(2).p6::before,
td:nth-child(2).p7::before,
td:nth-child(2).tier1::before,
td:nth-child(2).tier2::before,
td:nth-child(2).tier3::before,
td:nth-child(2).tier4::before,
td:nth-child(2).tier5::before,
td:nth-child(2).tier6::before,
td:nth-child(2).tier7::before,
td:nth-child(2).premier-gray::before,
td:nth-child(2).premier-lightblue::before,
td:nth-child(2).premier-blue::before,
td:nth-child(2).premier-purple::before,
td:nth-child(2).premier-pink::before,
td:nth-child(2).premier-red::before,
td:nth-child(2).premier-yellow::before {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

/* Coluna RANK - Ícones dos ranks */
td:nth-child(3) {
    text-align: center;
    padding: 3px 6px;
    vertical-align: middle;
    background: linear-gradient(90deg, rgba(147, 112, 219, 0.1), rgba(147, 112, 219, 0.05));
    box-shadow: inset -3px 0 6px rgba(147, 112, 219, 0.2), inset 3px 0 6px rgba(147, 112, 219, 0.2);
}

/* Ícones de rank - proporção mantida (exceto 4ª coluna) */
table .rank-icon,
table td:nth-child(3) img,
.stats-table img.rank-icon,
td img.rank-icon {
    width: 90px !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Coluna RANK (4ª coluna no /top10 e /top20) - Skills via data-rank */
td:nth-child(4) {
    text-align: center !important;
    padding: 6px 12px !important;
    vertical-align: middle !important;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05)) !important;
    box-shadow: inset -3px 0 6px rgba(255, 215, 0, 0.2), inset 3px 0 6px rgba(255, 215, 0, 0.2) !important;
    width: 140px !important;
}

/* Associar números de skill às imagens correspondentes */
td[data-rank="1"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill1.png'); }
td[data-rank="2"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill2.png'); }
td[data-rank="3"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill3.png'); }
td[data-rank="4"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill4.png'); }
td[data-rank="5"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill5.png'); }
td[data-rank="6"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill6.png'); }
td[data-rank="7"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill7.png'); }
td[data-rank="8"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill8.png'); }
td[data-rank="9"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill9.png'); }
td[data-rank="10"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill10.png'); }
td[data-rank="11"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill11.png'); }
td[data-rank="12"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill12.png'); }
td[data-rank="13"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill13.png'); }
td[data-rank="14"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill14.png'); }
td[data-rank="15"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill15.png'); }
td[data-rank="16"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill16.png'); }
td[data-rank="17"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill17.png'); }
td[data-rank="18"]::before { background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/ranking/skills/skill18.png'); }

/* Estilizar as imagens dos skills - tamanho ligeiramente menor */
table td[data-rank]::before {
    content: '' !important;
    width: 65px !important;
    height: 48px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 1 !important;
    z-index: 10 !important;
}

/* Colunas PONTOS e PREMIER em tabelas de 5 colunas */
.five-columns td:nth-child(4) /* PONTOS (em tabelas de 5 colunas) */
{
    font-weight: bold;
    font-size: 13px;
    color: #32CD32 !important; /* Verde lima igual às posições */
    text-shadow: 0 0 8px rgba(50, 205, 50, 0.8) !important;
}

td:nth-child(5) /* PREMIER (em tabelas de 5 colunas) */
{
    font-weight: bold;
    font-size: 13px;
    /* Cores Premier aplicadas via classes p1-p7 */
}

/* Coluna PREMIER em tabelas de 4 colunas (comando /top10) */
td:nth-child(3) /* PREMIER em /top10 */
{
    font-weight: bold;
    font-size: 13px;
    /* Cores Premier aplicadas via classes p1-p7 */
}

/* ===== SISTEMA PREMIER - 7 TIER COLORS (OTIMIZADO) ===== */
/* MÁXIMA ESPECIFICIDADE - Sobrescrever TUDO */

/* Pseudo-elementos para background images dos tiers Premier - APENAS na coluna Premier */
td:nth-child(3)[data-tier]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

/* Tier-specific background images */
td:nth-child(3)[data-tier="1"]::before {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier1.png');
}

td:nth-child(3)[data-tier="2"]::before {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier2.png');
}

td:nth-child(3)[data-tier="3"]::before {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier3.png');
}

td:nth-child(3)[data-tier="4"]::before {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier4.png');
}

td:nth-child(3)[data-tier="5"]::before {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier5.png');
}

td:nth-child(3)[data-tier="6"]::before {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier6.png');
}

td:nth-child(3)[data-tier="7"]::before {
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier7.png');
}

/* ===== SISTEMA UNIFICADO - CLASSES PREMIER DO /MAPSTATS ===== */
/* Classes usadas pelo /mapstats - compatibilidade total */
td:nth-child(3).premier-gray::before,
.premier-gray::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier1.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

td:nth-child(3).premier-lightblue::before,
.premier-lightblue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier2.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

td:nth-child(3).premier-blue::before,
.premier-blue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier3.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

td:nth-child(3).premier-purple::before,
.premier-purple::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier4.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

td:nth-child(3).premier-pink::before,
.premier-pink::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier5.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

td:nth-child(3).premier-red::before,
.premier-red::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier6.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

td:nth-child(3).premier-yellow::before,
.premier-yellow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tier7.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 90%;
    opacity: 0.4;
    z-index: 1;
}

/* Elementos com classes premier precisam de position relative */
td:nth-child(3).premier-gray,
td:nth-child(3).premier-lightblue,
td:nth-child(3).premier-blue,
td:nth-child(3).premier-purple,
td:nth-child(3).premier-pink,
td:nth-child(3).premier-red,
td:nth-child(3).premier-yellow {
    position: relative;
    z-index: 2;
}

/* Ensure text appears above background for data-tier elements */
td[data-tier] {
    position: relative;
    z-index: 2;
}

/* Cores dos tiers Premier */
table td.p1,
td.p1 {
    color: #B8B8B8 !important; 
    text-shadow: 0 0 8px rgba(184, 184, 184, 0.8), 0 0 4px rgba(255, 255, 255, 0.5) !important; 
    background: linear-gradient(90deg, rgba(144, 144, 144, 0.15), rgba(144, 144, 144, 0.08)) !important;
    box-shadow: inset 0 0 10px rgba(144, 144, 144, 0.3) !important;
}

table td.p2,
td.p2 {
    color: #87CEEB !important; 
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.9), 0 0 5px rgba(0, 255, 255, 0.6) !important; 
    background: linear-gradient(90deg, rgba(135, 206, 235, 0.15), rgba(135, 206, 235, 0.08)) !important;
    box-shadow: inset 0 0 10px rgba(135, 206, 235, 0.3) !important;
}

table td.p3,
td.p3 {
    color: #5A9FED !important; 
    text-shadow: 0 0 10px rgba(90, 159, 237, 0.9), 0 0 5px rgba(65, 105, 225, 0.7) !important; 
    background: linear-gradient(90deg, rgba(65, 105, 225, 0.15), rgba(65, 105, 225, 0.08)) !important;
    box-shadow: inset 0 0 10px rgba(65, 105, 225, 0.3) !important;
}

table td.p4,
td.p4 {
    color: #B19CD9 !important; 
    text-shadow: 0 0 10px rgba(177, 156, 217, 0.9), 0 0 5px rgba(147, 112, 219, 0.7) !important; 
    background: linear-gradient(90deg, rgba(147, 112, 219, 0.15), rgba(147, 112, 219, 0.08)) !important;
    box-shadow: inset 0 0 10px rgba(147, 112, 219, 0.3) !important;
}

table td.p5,
td.p5 {
    color: #FF8EC7 !important; 
    text-shadow: 0 0 10px rgba(255, 142, 199, 0.9), 0 0 5px rgba(255, 105, 180, 0.7) !important; 
    background: linear-gradient(90deg, rgba(255, 105, 180, 0.15), rgba(255, 105, 180, 0.08)) !important;
    box-shadow: inset 0 0 10px rgba(255, 105, 180, 0.3) !important;
}

table td.p6,
td.p6 {
    color: #FF7A50 !important; 
    text-shadow: 0 0 10px rgba(255, 122, 80, 0.9), 0 0 5px rgba(255, 69, 0, 0.7) !important; 
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.15), rgba(255, 69, 0, 0.08)) !important;
    box-shadow: inset 0 0 10px rgba(255, 69, 0, 0.3) !important;
}

table td.p7,
td.p7 {
    color: #FFE135 !important; 
    text-shadow: 0 0 10px rgba(255, 225, 53, 0.9), 0 0 5px rgba(255, 215, 0, 0.7) !important; 
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08)) !important;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.3) !important;
}

/* ===== ANIMAÇÕES SUAVES ===== */
table {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeitos hover removidos para visual mais limpo */

/* ===== EFEITOS HOVER REMOVIDOS ===== */
/* Todos os efeitos hover foram removidos para visual mais limpo e estático */

/* ===== RESPONSIVIDADE PARA CS 1.6 MOTD ===== */

/* PREVENÇÃO DE LAYOUTS DE DUAS COLUNAS - FORÇA LAYOUT ÚNICO */
.two-columns,
.left-column,
.right-column,
div[style*="float"],
div[style*="column"] {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 0 auto !important;
}

/* Garantir que todas as tabelas sejam de coluna única */
table + table {
    margin-top: 15px !important;
    clear: both !important;
}

@media screen and (max-width: 800px) {
    body {
        font-size: 10px;
    }
    
    .container {
        max-width: 95%;
        margin: 10px auto;
        padding: 8px;
        border-radius: 6px;
    }
    
    h1 {
        font-size: 16px;
        margin-bottom: 8px;
        padding: 6px;
    }
    
    th, td {
        font-size: 10px;
        padding: 4px 2px;
    }
    
    table {
        border-radius: 4px;
    }
    
    /* Ícones menores em mobile */
    td:nth-child(3) img {
        max-width: 80px !important;
        max-height: 70px !important;
        width: auto !important;
        height: auto !important;
    }
}

/* ===== EFEITOS ESPECIAIS PARA RANKS ===== */
/* Glow effect removido - ícones limpos sem background */

/* ===== SEÇÃO "TU: Xº" - FORA DO CONTAINER ===== */
.player-position {
    margin: 15px auto;
    text-align: center;
    width: 100%;
    padding: 15px;
    background: url('http://www.majesticsz.ihosts3.pt/ranking_map_global/imagens/tuapos.png') center/cover,
                linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    border: none;
    border-radius: 12px;
    box-shadow: none;
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.player-position::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #FFFF00, #FFD700, #FFA500, #FFFF00, 
        #FFD700, #FFA500, #FFFF00, #FFD700);
    background-size: 400% 400%;
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.player-position table {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 30, 60, 0.9)) !important;
    border: 2px solid #FFFF00 !important;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.6), inset 0 0 10px rgba(255, 215, 0, 0.3) !important;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.player-position td {
    text-align: center !important;
    padding: 12px 8px !important;
    font-weight: bold !important;
    color: #FFFF00 !important;
    background: transparent !important;
    font-size: 16px !important;
    border: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

.player-position .premier-value {
    font-weight: bold !important;
}

/* Garantir que cores Premier funcionem dentro de player-position */
.player-position .p4 {
    color: #9370DB !important; 
    text-shadow: 0 0 8px rgba(147, 112, 219, 1) !important; 
}
