* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.atual{
  padding: 8px;
  border-radius: 5px;
  background-color: #2b3347;
}



header {
    background: linear-gradient(180deg, #120736, #141927);
    border-bottom: #3d405c solid 1px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    transition: .5s;
}

.top-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logotipo canto esquerdo */
.logotipo img {
    width: 60px;
}

/* Menu central */
.nav {
    display: flex;
    text-align: center;
    
}

.nav-menu {
    list-style: none;
    display: inline-flex;
    gap: 50px;
}

.nav-menu li a {
    padding: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #a249a8;
    
    border-radius: 5px;
    background-color: #2b3347;
}

/* Botão login canto direito */
.login-button {
    background-color: #3d405c;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.3s;
}

.login-button:hover {
    background-color: rgb(46, 40, 30);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* =================================
   ESTILOS PARA AÇÕES DO USUÁRIO LOGADO
================================= */

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px; /* Espaço entre o contador de pontos e o nome */
}

.user-points {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #141927; /* Fundo sutil */
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #3d405c;
    color: #fbbc05; /* Dourado para destacar */
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap; /* Impede que o texto quebre a linha */
}

.user-points i {
    font-size: 16px;
}


/* Efeito rolagem */
header.rolagem {
    opacity: 90%;
    background-color: #004170;
}


/* ==================================================
   CÓDIGO DE RESPONSIVIDADE PARA CELULARES
================================================== */

@media (max-width: 768px) {

    /* ... (seu código responsivo existente para .menu-toggle, .nav, etc.) ... */


    /* ▼▼▼ ADICIONE ESTE NOVO BLOCO DE CÓDIGO AQUI ▼▼▼ */
    /* ------------------------------------------------------------------- */
    /* CORREÇÃO PARA ALINHAMENTO DAS AÇÕES DO USUÁRIO NO MOBILE       */
    /* ------------------------------------------------------------------- */
    .user-actions {
        display: flex;       /* Garante que os itens fiquem na mesma linha */
        flex-direction: row; /* Força a direção para horizontal (linha) */
        align-items: center; /* Alinha verticalmente o ícone e o texto */
        gap: 15px;           /* Reduz um pouco o espaçamento para telas menores */
    }
    /* ------------------------------------------------------------------- */
    
} /* Fim da sua media query */