/* -------------------- Estilos Gerais -------------------- */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: white;
}

main {
    margin-left: 0px;
    padding: 2rem;
    transition: margin-left 0.3s;
}
/* -------------------- Menu Lateral Retrátil -------------------- */
.menu-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

    .menu-toggle img {
        width: 32px; /* ou ajuste como preferir */
        height: 32px;
        filter: brightness(1.2);
        transition: transform 0.2s;
    }

        .menu-toggle img:hover {
            transform: scale(1.1);
        }


.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background-color: #1e1e2f;
    color: white;
    overflow-x: hidden;
    transition: width 0.3s;
    padding-top: 4rem;
    z-index: 1000;
    scrollbar-width: thin;
    scrollbar-color: #734aff #1e1e2f;
}

.sidebar.collapsed {
    width: 60px;
}

    .sidebar.collapsed li {
        justify-content: center;
    }

    .sidebar.collapsed ~ main {
        margin-left: 60px;
    }


.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;

}

.sidebar li {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    justify-content: flex-start;
    width: 100%;
    white-space: nowrap;
} 

.sidebar li:hover {
    background-color: #2e2e40;
} 

.sidebar .icon {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
} 

.sidebar.collapsed .label {
    display: none;
}





    /* Estilo para navegadores WebKit (Chrome, Edge, Safari) */
    .sidebar::-webkit-scrollbar {
        width: 8px;
    }

    .sidebar::-webkit-scrollbar-track {
        background: #1e1e2f;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background-color: #734aff;
        border-radius: 4px;
        border: 2px solid #1e1e2f;
    }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background-color: #8a6aff;
        }

/* -------------------- Carrossel -------------------- */
.carousel {
    margin-top: 2rem;
} 

.scroll-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
} 

.cards {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
} 

.cards::-webkit-scrollbar {
    display: none;
} 

.card {
    width: 100px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: transform 0.2s;
} 

.card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
} 

.card .info {
    padding: 0.5rem;
} 

.tipo {
    font-size: 0.8rem;
    color: #aaa;
} 

.card h3 {
    font-size: 1rem;
    margin: 0.3rem 0 0;
}
/* -------------------- Destaques -------------------- */
#destaques-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-behavior: smooth;
    padding: 1rem 0;
} 

.destaques-card {
    min-width: 300px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
} 



.destaques-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
} 

.destaques-card .info {
    padding: 1rem;
} 

.destaques-card button {
    margin-top: 0.5rem;
    background-color: #734aff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
} 

.destaques-card button:hover {
    background-color: #5a3ed3;
}
/* -------------------- Pesquisa -------------------- */
.search-bar {
    margin: 2rem 0;
    text-align: center;
} .search-bar input {
    width: 60%;
    padding: 0.7rem;
    border-radius: 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}
/* -------------------- Recompensas -------------------- */
.recompensas {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #734aff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}


.menu-separator {
    border: none;
    height: 1px;
    background-color: #444; /* cinza discreto */
    margin: 0.5rem 0.5rem;
}


.menu-link {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: background 0.3s;
}

    .menu-link:hover {
        color: #5a3ed3;
    }
