:root {
    --primary-color: #45308F;
    --secondary-color: #B6AAD6;
    --accent-color: #FF6600;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

.table-primary {
    --bs-table-bg: #b6aad6;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Estilos para o header e navegação */
.navbar {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Estilos para o carrossel */
.carousel {
    margin-bottom: 2rem;
}

.carousel-item img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(69, 48, 143, 0.7);
    border-radius: 10px;
    padding: 1rem;
    bottom: 2rem;
}

/* Estilos para seções */
.section-title {
    color: var(--primary-color);
    text-align: center;
    margin: 2rem 0;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Estilos para o jogo */
#game_numbers {
    margin: 2rem 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border: none;
}

.numeros-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 8px;
    margin: 1rem 0;
}

.btn-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: var(--light-color);
    border: 1px solid var(--secondary-color);
    transition: all 0.2s ease;
}

.btn-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-button.selecionado {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.jogo-form {
    padding: 1rem;
}

#selecao-atual {
    margin: 1rem 0;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

#enviar-para-carrinho, .btn-cart {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

#enviar-para-carrinho:hover, .btn-cart:hover {
    background-color: #e55c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#lista-de-jogos {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

/* Estilos para Como Funciona */
.como-funciona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.como-funciona-item {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.como-funciona-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.como-funciona-item img {
    margin-bottom: 1rem;
    max-width: 80px;
    height: auto;
}

/* Estilos para Perguntas Frequentes */
.perguntas-frequentes {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: white;
}

/* Estilos para Solidariedade */
.solidariedade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.solidariedade-item {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.solidariedade-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- INÍCIO DOS NOVOS ESTILOS PARA SLIDERS --- */
.slider-section {
    padding: 2rem 0;
    background-color: #ffffff; /* Fundo branco para destacar a seção */
    margin: 3rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.content-slider .carousel-inner {
    border-radius: 10px;
    overflow: hidden; /* Garante que as imagens respeitem o border-radius */
}

.content-slider .carousel-item img {
    max-height: 500px; /* Altura máxima para os sliders de conteúdo */
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
}

.content-slider .carousel-control-prev-icon,
.content-slider .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente para os controles */
    border-radius: 50%;
    padding: 1.5rem;
}
/* --- FIM DOS NOVOS ESTILOS PARA SLIDERS --- */


/* Estilos para o footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    margin: 1rem 0;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Responsividade */
@media (max-width: 500px) {
    .container2{
                padding-top: 10px;
            }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }

    
}

@media (max-width: 768px) {
    .numeros-container {
        grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    }
    
    .btn-button {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .como-funciona-grid, .solidariedade-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        padding: 0.5rem;
        bottom: 1rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }       
}

.btn-random-selection {
    background-color: var(--accent-color); /* Usando a cor primária para um contraste */
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    /* Remover 'width: 100%;' se você já o aplica via o inline 'style' no HTML, ou manter aqui */
    width: 100%; /* Adicionado para garantir que ocupa a largura total */
    margin-bottom: 1rem; /* Margem para separar do próximo elemento */
}

.btn-random-selection:hover {
    background-color: #e55c00; /* Um tom um pouco mais escuro da cor primária no hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Garante que o ícone dentro do botão tenha espaço */
.btn-random-selection i {
    margin-right: 8px;
}

/* Certifique-se que o .btn geral do Bootstrap não conflite */
.btn {
    display: inline-flex; /* Para alinhar o ícone e o texto */
    align-items: center;
    justify-content: center; /* Centraliza o conteúdo se o width for 100% */
}
