:root {
    --azul1: #183756;
    --azul2: #22B9DA;
    --azul3: #0f2a44;
    --branco: #ffffff;
    --amarelo: #FFD205;
    --cinza: #f2f2f2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: var(--azul1);
}

/* HEADER */
.header {
    background: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.logo-header {
    height: 40px;
}

/* LAYOUT */
.app {
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    background: var(--azul3);
    padding: 20px;
    transition: .3s;
}

.sidebar.hidden {
    margin-left: -220px;
}

.sidebar button {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    background: var(--azul2);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

/* CONTENT */
.content {
    flex: 1;
    padding: 30px;
    color: #fff;
}

/* TOGGLE */
.toggle {
    background: var(--amarelo);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 6px;
}

/* ===================== */
/* TOP 3 */
/* ===================== */

.top3 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.top-card {
    background: var(--branco);
    color: #000;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.top-card .medal {
    font-size: 28px;
    margin-bottom: 10px;
}

.top-card .nome {
    font-weight: bold;
    margin-bottom: 5px;
}

.top-card .pontos {
    font-size: 18px;
    color: var(--azul2);
    font-weight: bold;
}

.top-card .extra {
    font-size: 13px;
    color: #555;
    margin-top: 5px;
}

/* destaque do campeão */
.pos-1 {
    transform: scale(1.1);
    border: 2px solid var(--amarelo);
}

/* ===================== */
/* LISTA */
/* ===================== */

.ranking {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.row {
    background: var(--branco);
    color: #000;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* posição */
.pos {
    font-weight: bold;
    font-size: 18px;
    width: 40px;
    text-align: center;
}

/* info */
.info {
    flex: 1;
}

.nome {
    font-weight: bold;
}

.email {
    font-size: 12px;
    color: #666;
}

/* stats */
.stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

/* FOOTER */
.bottom {
    margin-top: 40px;
    text-align: center;
}

.bottom img {
    width: 120px;
    margin: 10px;
}