body {
    /*background-color: #1b1b1b;*/
    
    background-image: url('fundo.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
}

/* Estilo para a logo */
.logo {
    max-width: 200px;
    margin: 20px auto;
    display: block;
}

/* Texto abaixo da logo */
.intro-text {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

/* Estilo para o Título dos Cards */
.titulo-carde h2 {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.titulo-final{
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Estilo do Carrossel */
.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
}

.carousel-indicators button {
    background-color: #007bff;
}

/* Estilo dos Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #00cc1b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card img {
    object-fit: contain;
    width: 100%;
    background-color: #f1f1f1;
}

/* Estilo geral para a custom-menu */
.custom-menu.container {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
}

/* Estilo para as imagens */
.image-container img {
    width: 250px;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease;
    max-width: 100%;
}

/* Efeito de hover nas imagens */
.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px 3px rgba(183, 146, 45, 0.7);
}

/* ===== IMAGENS COM VERSIONAMENTO (CORRIGIDO) ===== */

/* Imagens padrão para Desktop */
@media (min-width: 768px) {
    .image-container img {
        content: url('btnDesktop1.png?v=1.0');
    }

    .image-container:nth-child(2) img {
        content: url('btnDesktop2.png?v=1.0');
    }

    .image-container:nth-child(3) img {
        content: url('btnDesktop3.png?v=1.0');
    }
    
    .image-container:nth-child(4) img{
        content: url('desktop_aula.png?v=1.2'); /* ← VERSÃO ATUALIZADA */
    }
}

/* Imagens para dispositivos móveis */
@media (max-width: 767px) {
    .image-container img {
        content: url('btn1.png?v=1.0');
    }

    .image-container:nth-child(2) img {
        content: url('btn2.png?v=1.0');
    }

    .image-container:nth-child(3) img {
        content: url('btn3.png?v=1.0');
    }
    
    .image-container:nth-child(4) img {
        content: url('mobile_aula.png?v=1.2'); /* ← VERSÃO ATUALIZADA */
    }
}

/* Botão "Mais Jogos" */
.more-games-btn {
    margin: 40px 0;
    text-align: center;
}

.more-games-btn button {
    background-color: #b7922d;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    border: none;
    transition: background-color 0.3s;
}

.more-games-btn button:hover {
    background-color: #343a40;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Remova ou comente esta linha: */
    /* background-color: #1b1b1b; */
    
    /* Ou use um overlay transparente: */
    background: rgba(27, 27, 27, 0.3); /* Overlay escuro sobre a imagem */
}
#user-display {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#user-display button:hover {
    background: #cc0000 !important;
    transform: scale(1.05);
}


/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #343a40;
    color: white;
}