/* TOP ARMAS ALL CATEGORIES - CSS com :before para imagens */
@charset "UTF-8";

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: auto;
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    color: #ffffff;
    background-image: url('http://www.majesticsz.ihosts3.pt/adp3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Overlay escuro */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Container principal */
.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(20, 30, 50, 0.9);
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.3);
}

/* Títulos por categoria */
h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px #000000, -3px -3px 0px #000000, 
                 3px -3px 0px #000000, -3px 3px 0px #000000,
                 0px 0px 15px rgba(0, 255, 255, 0.9);
}

/* Cores específicas por categoria */
.PISTOLAS h1 { color: #ff6b35; }
.RIFLES h1 { color: #f7931e; }
.SNIPERS h1 { color: #00ff00; }
.SMG h1 { color: #ff1493; }
.OUTRAS h1 { color: #9370db; }

/* Lista de armas */
.weapons-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Item de arma base */
.weapon {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(10, 20, 40, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-height: 70px;
}

.weapon:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.8);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
}

/* Imagem da arma usando :before */
.weapon::before {
    content: '';
    width: 60px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Informações do jogador e kills */
.weapon .player {
    flex: 1;
    font-size: 1.1em;
    font-weight: 700;
    color: #00ff80;
    text-shadow: 2px 2px 0px #000000, -2px -2px 0px #000000,
                 2px -2px 0px #000000, -2px 2px 0px #000000;
}

.weapon .kills {
    font-size: 1.2em;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 0px #000000, -2px -2px 0px #000000,
                 2px -2px 0px #000000, -2px 2px 0px #000000;
}

/* =============================================== */
/* IMAGENS DAS ARMAS COM :before - URL ESPECÍFICA */
/* =============================================== */

/* PISTOLAS */
.weapon.deagle::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/deagle.png'); }
.weapon.usp::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/usp.png'); }
.weapon.glock::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/glock.png'); }
.weapon.p228::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/p228.png'); }
.weapon.elite::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/elite.png'); }
.weapon.fiveseven::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/fiveseven.png'); }

/* RIFLES */
.weapon.ak47::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/ak47.png'); }
.weapon.m4a1::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/m4a1.png'); }
.weapon.famas::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/famas.png'); }
.weapon.galil::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/galil.png'); }
.weapon.aug::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/aug.png'); }
.weapon.sg552::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/sg552.png'); }

/* SNIPERS */
.weapon.awp::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/awp.png'); }
.weapon.scout::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/scout.png'); }
.weapon.g3sg1::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/g3sg1.png'); }
.weapon.sg550::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/sg550.png'); }

/* SMG */
.weapon.mp5::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/mp5.png'); }
.weapon.p90::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/p90.png'); }
.weapon.ump45::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/ump45.png'); }
.weapon.mac10::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/mac10.png'); }
.weapon.tmp::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/tmp.png'); }

/* OUTRAS */
.weapon.xm1014::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/xm1014.png'); }
.weapon.m3::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/m3.png'); }
.weapon.m249::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/m249.png'); }
.weapon.knife::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/knife.png'); }
.weapon.hegrenade::before { background-image: url('http://www.majesticsz.ihosts3.pt/top_armas_global/weapons/hegrenade.png'); }

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .weapons-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .weapon {
        padding: 12px;
        min-height: 60px;
    }
    
    .weapon::before {
        width: 50px;
        height: 35px;
    }
    
    .weapon .player {
        font-size: 1em;
    }
    
    .weapon .kills {
        font-size: 1.1em;
    }
}