body {
    background: #121212;
    font-family: 'Segoe UI', sans-serif;
    color: #eaeaea;
    margin: 0;
    padding: 0;
}

/* Container geral */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Abas */
.tab {
    background: #1a1a1a;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 12px;
    box-shadow: inset 0 0 8px #000, 0 4px 12px rgba(255, 215, 0, 0.1);
    margin-bottom: 20px;
    padding: 8px;
}
.tab button {
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border: 2px solid #FFD700;
    color: #FFD700;
    font-weight: bold;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab button:hover {
    background: #FFD700;
    color: #000;
    box-shadow: 0 0 8px #FFD700;
}
.tab button.active {
    background: #FFD700;
    color: #000;
    font-weight: bolder;
    box-shadow: 0 0 16px #FFD700;
}

/* Área das tabelas de ranking */
.tabcontent {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.ranking-section {
    background: linear-gradient(#1b1b1b, #111);
    border: 2px solid #FFD700;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
}

.ranking-section h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #FFD700;
    position: relative;
    margin-bottom: 25px;
}
.ranking-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    display: block;
    margin: 10px auto 0;
    background: linear-gradient(to right, #FFD700, #fff, #FFD700);
    animation: glowLine 2s infinite;
}
@keyframes glowLine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Tabela */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    color: #fff;
}
.ranking-table th, .ranking-table td {
    padding: 10px 8px;
    border: 1px solid #333;
    text-align: center;
    font-size: 0.95rem;
}
.ranking-table th {
    background: #FFD700;
    color: #000;
    font-weight: bold;
}
.ranking-table tr:nth-child(even) {
    background-color: #222;
}
.ranking-table tr:hover {
    background-color: #333;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Avatar */
.ranking-table img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

/* Status */
.online {
    color: #00FF00;
    font-weight: bold;
}
.offline {
    color: #FF4A4A;
    font-weight: bold;
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .tab button {
        font-size: 12px;
        padding: 6px 12px;
    }
    .ranking-table th, .ranking-table td {
        font-size: 11px;
        padding: 5px;
    }
}
