/* ================================================================/* La/* Larguras específicas das colunas */
th:nth-child(1), td:nth-child(1) { width: 10%; }  /* Top */
th:nth-child(2), td:nth-child(2) { width: 40%; } /* Jogador */
th:nth-child(3), td:nth-child(3) { width: 17%; } /* Plantadas */
th:nth-child(4), td:nth-child(4) { width: 17%; } /* Desarmadas */
th:nth-child(5), td:nth-child(5) { width: 16%; } /* Explodidas */específicas das colunas */
th:nth-child(1), td:nth-child(1) { width: 8%; }  /* Top */
th:nth-child(2), td:nth-child(2) { width: 28%; } /* Jogador */
th:nth-child(3), td:nth-child(3) { width: 16%; } /* Plantadas */
th:nth-child(4), td:nth-child(4) { width: 16%; } /* Desarmadas */
th:nth-child(5), td:nth-child(5) { width: 16%; } /* Explodidas */
th:nth-child(6),  /* Total */ TOP 10 BOMBA RANKING - CSS PARA CS 1.6 MOTD
   Autor: MAJESTIC S+Z
   Vers�o: 2024 - BOMBA C4
   Compat�vel com: Counter-Strike 1.6 MOTD
   Tema: Explosivo (Laranja/Vermelho/Amarelo)
   =================================================================== */

/* 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.4;
    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 */
.container {
    max-width: 600px;
    margin: 25px auto;
    padding: 10px;
    background: rgba(30, 10, 5, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.5);
    border: 2px solid rgba(255, 165, 0, 0.8);
    position: relative;
}

/* T�tulo principal */
h1 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #FF8C00;
    margin-bottom: 12px;
    padding: 8px;
    background: linear-gradient(90deg, transparent, rgba(100, 30, 0, 0.3), transparent);        
    border-radius: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Tabela principal */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: rgba(60, 20, 0, 0.9);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    table-layout: fixed;
}

/* Larguras espec�ficas das colunas */
th:nth-child(1), td:nth-child(1) { width: 8%; }  /* Top */
th:nth-child(2), td:nth-child(2) { width: 38%; } /* Jogador */
th:nth-child(3), td:nth-child(3) { width: 11%; } /* Plantadas */
th:nth-child(4), td:nth-child(4) { width: 11%; } /* Desarmadas */
th:nth-child(5), td:nth-child(5) { width: 11%; } /* Explodidas */
th:nth-child(6),  /* Total */

/* Cabe�alho da tabela */
th {
    background: linear-gradient(135deg, #B8860B 0%, #FF8C00 50%, #FFD700 100%);
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
    padding: 8px 4px;
    text-align: center;
    border-bottom: 1px solid #8B4513;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

th:first-child {
    border-top-left-radius: 8px;
}

th:last-child {
    border-top-right-radius: 8px;
}

/* Linhas da tabela */
td {
    padding: 6px 3px;
    text-align: center;
    font-size: 11px;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
}

/* Estilo das linhas alternadas */
tr.a {
    background: linear-gradient(90deg, rgba(100, 50, 0, 0.2), rgba(100, 50, 0, 0.1));
    border-left: 3px solid #FF8C00;
}

tr.b {
    background: linear-gradient(90deg, rgba(205, 92, 92, 0.15), rgba(205, 92, 92, 0.08));       
    border-left: 3px solid #DC143C;
}

/* Hover effect nas linhas */
tr:hover {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.25), rgba(255, 140, 0, 0.15)) !important;
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.4);
}

/* Coluna de posi��o (TOP) */
td:first-child {
    font-weight: bold;
    font-size: 13px;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Cores alternadas para posi��es �mpares e pares */
tr:nth-child(odd) td:first-child { color: #FFD700; } /* 1�, 3�, 5�, 7�, 9� - Dourado */      
tr:nth-child(even) td:first-child { color: #FF6347; } /* 2�, 4�, 6�, 8�, 10� - Tomate */                                                                                               

/* Coluna do nome do jogador */
td:nth-child(2) {
    font-weight: bold;
    color: #FFFFE0;
    text-align: center;
    padding: 8px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Colunas de estat�sticas */
td:nth-child(3), /* Plantadas */
td:nth-child(4), /* Desarmadas */
td:nth-child(5), /* Explodidas */

{
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Bombas Plantadas - Laranja Escuro */
td:nth-child(3) {
    color: #FF8C00;
    font-weight: bold;
}

/* Bombas Desarmadas - Verde Claro */
td:nth-child(4) {
    color: #90EE90;
    font-weight: bold;
}

/* Bombas Explodidas - Vermelho Intenso */
td:nth-child(5) {
    color: #FF4500;
    font-weight: bold;
    text-align: center;
    padding: 6px 4px;
}

/* Total - Amarelo Dourado */
td:nth-child(6) {
    font-weight: bold;
    color: #FFD700;
}

/* Efeitos especiais para o TOP 1 */
tr:nth-child(2) {
    background: linear-gradient(90deg, rgba(139, 69, 19, 0.4), rgba(255, 140, 0, 0.2)) !important;
    border-left: 4px solid #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Efeitos especiais para o TOP 2 */
tr:nth-child(3) {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.3), rgba(192, 192, 192, 0.15)) !important;
    border-left: 4px solid #C0C0C0 !important;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.4);
}

/* Efeitos especiais para o TOP 3 */
tr:nth-child(4) {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.3), rgba(205, 127, 50, 0.15)) !important;
    border-left: 4px solid #CD7F32 !important;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.4);
}

/* Responsividade para CS 1.6 MOTD */
@media screen and (max-width: 700px) {
    body {
        font-size: 10px;
    }

    .container {
        max-width: 95%;
        margin: 3px auto;
        padding: 8px;
        border-radius: 4px;
    }

    h1 {
        font-size: 14px;
        margin-bottom: 8px;
        padding: 5px;
    }

    th, td {
        font-size: 9px;
        padding: 4px 2px;
    }

    td:nth-child(2) {
        padding-left: 4px;
    }

    table {
        border-radius: 4px;
    }

    /* Ajustar larguras em mobile */
    th:nth-child(1), td:nth-child(1) { width: 8%; }  /* Top */
    th:nth-child(2), td:nth-child(2) { width: 40%; } /* Jogador */
    th:nth-child(3), td:nth-child(3) { width: 17%; } /* Plantadas */
    th:nth-child(4), td:nth-child(4) { width: 17%; } /* Desarmadas */
    th:nth-child(5), td:nth-child(5) { width: 18%; } /* Explodidas */
}

/* Anima��es para efeitos explosivos */
@keyframes explosion-glow {
    0% { box-shadow: 0 0 5px rgba(255, 140, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.6); }
    100% { box-shadow: 0 0 5px rgba(255, 140, 0, 0.3); }
}

/* Aplicar anima��o ao container principal */
.container {
    animation: explosion-glow 3s ease-in-out infinite;
}



/* Corre��o espec�fica para centralizar todas as colunas de dados */
td:nth-child(3), td:nth-child(4), td:nth-child(5) {
    text-align: center !important;
    padding: 6px 4px !important;
}
