:root {
    --primary-bg: #0d1b2a;
    --navbar-bg: #192a45;
    --highlight-color: #ff4d4d;
    --secondary-color: #4b6cb7;
    --title-color: #ffffff;
    --subtitle-color: #ccc;
}
/* Estilo Global */
body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--primary-bg);
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* Navbar */
.navbar {
    background-color: var(--navbar-bg);
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.navbar-brand img {
    height: 25px;
   
}
.nav-link {
    color: white !important;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link:hover {
    color: var(--highlight-color) !important;
    transform: scale(1.1);
}

.navbar-toggler {
    color: white;
    border: none;
    font-size: 1.8rem;
    padding: 0.5rem;
}

/* Banner */
.banner {
    background: linear-gradient(to bottom, rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0)), url('images/background.png') no-repeat center center;
    background-size: cover;
    color: white;
    height: 400px;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
}
.banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--primary-bg), transparent);
}
.banner h2 {
    font-size: 2.5rem;
    margin: 0 0 10px;
}
.banner p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}
.btn-register {
    background-color: var(--highlight-color);
    border: none;
    padding: 0.6rem 1.2rem;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s;
}
.btn-register:hover {
    background-color: #d44141;
    transform: scale(1.1);
}

/* Container Principal do Menu de Categorias */
.category-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--primary-bg);
    overflow: hidden;
    position: relative;
}

/* Wrapper de Botões com Rolagem Horizontal */
.category-buttons-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    flex: 1;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.category-buttons-wrapper::-webkit-scrollbar {
    display: none;
}

/* Container dos Cards com Rolagem Horizontal */
.section-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.section-container::-webkit-scrollbar {
    display: none;
}

.game-card {
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 220px; /* Ajusta o tamanho máximo para melhor alinhamento */
    transition: transform 0.3s ease;
    scroll-snap-align: center;
}

/* Título e Setas de Controle */
.section-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin: 20px;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--title-color);
    position: relative;
    margin: 10px;
}
.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background-color: var(--highlight-color);
    display: block;
    margin-top: 4px;
    border-radius: 2px;
}

.slider-arrow:hover {
    background-color: var(--highlight-color);
    transform: scale(1.05);
}


/* Estilo para o botão "Entrar" */
.btn-entrar {
    display: inline-block;
    padding: 8px 18px; /* Ajuste o padding para combinar com os botões do banner */
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: transparent; /* Fundo transparente */
    border: 2px solid #fff; /* Borda branca para destaque */
    border-radius: 8px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito hover para realce */
.btn-entrar:hover {
    background-color: rgba(255, 255, 255, 0); /* Fundo levemente transparente no hover */
    border-color: var(--highlight-color); /* Borda com cor de destaque */
    color: var(--highlight-color); /* Muda a cor do texto para o destaque */
}

/* Efeito de clique com animação de "press" */
.btn-entrar:active {
    transform: scale(0.95); /* Encolhe levemente o botão ao clicar, imitando um efeito de pressionar */
    background-color: rgba(255, 255, 255, 0.15); /* Fundo levemente mais escuro no clique */
}



/* Ativa o efeito de onda ao clicar */
.btn-entrar:active::after {
    transform: translate(-50%, -50%) scale(1); /* Expande a "onda" */
}

/* Responsividade */
@media (max-width: 768px) {
    .banner h2 {
        font-size: 1.8rem;
    }
    .btn-entrar {
        padding: 8px 16px; 
        font-size: 0.9rem; 
    }

    /* Ajuste Responsivo para o Menu de Categorias */
    .category-buttons-wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }

    .btn-category {
        flex: 0 0 auto;
    }
}

/* Container do Título e dos Controles */
.section-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin: 20px 0;
}

/* Contêiner específico para os botões de controle */
.card-controls-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px; /* Espaço entre os botões */
}

/* Estilo para as Setas e o Ícone de Grid */
.slider-arrow, .slider-grid {
    background-color: var(--navbar-bg);
    color: white;
    border: none;
    font-size: 1.2rem;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover, .slider-grid:hover {
    background-color: var(--highlight-color);
    transform: scale(1.05);
}

/* Estilo do Título */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--title-color);
    margin: 0;
}

/* Contêiner Principal do Menu de Categorias */
.full-width-category-menu {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--primary-bg);
    width: 100%;
    box-sizing: border-box;
}

/* Wrapper de Botões com Justificação */
.category-buttons-wrapper {
    display: flex;
    justify-content: space-between; /* Espaça os botões uniformemente */
    flex-grow: 1;
    gap: 0; /* Remove gap para evitar espaços extras entre os botões */
    overflow-x: auto; /* Permite rolagem quando necessário */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

/* Estilo dos Botões de Categoria */
.btn-category {
    background-color: var(--navbar-bg);
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    flex-grow: 1; /* Expande os botões para ocupar o espaço disponível */
    flex-basis: 0; /* Permite que todos os botões se expandam igualmente */
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 5px; /* Espaçamento entre os botões */
}

.btn-category:hover {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
}

/* Estilo das Setas de Navegação */
.slider-arrow {
    background-color: var(--navbar-bg);
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-arrow:hover {
    background-color: var(--highlight-color);
    transform: scale(1.05);
}

/* Modal Dark Theme */
.modal-dark {
    background-color: #1a1f2d;
    border-radius: 15px;
    color: #ffffff;
    padding: 20px;
}

.modal-title {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5rem;
}

.modal-logo {
    height: 24px;
    margin-right: 8px;
}

.input-dark {
    background-color: #2b2f3a;
    color: #ffffff;
    border: 1px solid #444b59;
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
    transition: border-color 0.3s ease;
}

.input-dark:focus {
    border-color: #1e90ff;
    outline: none;
}

.input-dark::placeholder {
    color: #a9a9a9;
}

/* Botão de Entrar/Registrar */
.btn-primary {
    background: linear-gradient(90deg, #3a56a5, #1e90ff);
    border: none;
    border-radius: 20px;
    font-weight: bold;
    color: #ffffff;
    padding: 12px 0; /* Aumente este valor para aumentar a altura do botão */
    font-size: 1rem;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #1e90ff;
    color: #ffffff;
}

#switchButton {
    font-size: 0.9rem;
    color: #1e90ff;
    background: none;
    border: none;
    font-weight: bold;
    text-decoration: underline;
}

#switchButton:hover {
    color: #ffffff;
    text-decoration: none;
}

.text-secondary {
    color: #a9a9a9;
}
/*MODAL*/
.custom-modal-dark{
    background-color: #1a1f2d !important;
}

.custom-modal-dark
.modal-content {
    background-color: #333 !important;
    border-radius: 10px;
    overflow: hidden;
    color: #ffffff;
    padding: 20px;
    position: relative;
}

.white-close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffffff;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

/* Configuração do layout do modal */
.modal-body {
    display: flex;
    padding: 0;
}

/* Imagem do Jogo no Modal */
.modal-image-container {
    flex: 1;
    overflow: hidden;
}

.modal-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

/* Informações do Jogo */
.modal-info-container {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.game-author,
.game-description,
.game-type {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Botão de Jogar */
.play-button {
    background-color: #ff6347;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    align-self: flex-start;
}

.play-button:hover {
    background-color: #ff4500;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: 10px;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-image-container, .modal-info-container {
        width: 100%;
    }

    .modal-game-image {
        height: auto;
        border-radius: 10px 10px 0 0;
    }

    .play-button {
        width: 100%;
    }

   
}

/* Estilo específico para os campos de entrada dentro do modal */
#authModal .form-control {
    background-color: #2b2e3b; /* Cor de fundo do campo */
    border: none;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 15px;
    padding: 10px;
    display: flex;
    width:450px;
}

#authModal .form-control::placeholder {
    color: #9aa0b1; /* Cor do placeholder */
}



/* Ajustes para dispositivos móveis (largura máxima de 576px) */
@media (max-width: 576px) {


    #authModal .form-control {
        width: 95%; 
        font-size: small;
    }

    .modal-title {
        font-size: 1.1rem;
        color: #ffffff;
    }
}

.section-wrapper {
    padding-top: 0;
}

/* Rodapé fixo e responsivo */
footer {
    background-color: #2b2e3b;
    color: #fff;
    text-align: center;
    height: 90px;
    width: 100%;
    position: relative;
    bottom: -200px;
}
/* Ajusta a altura da linha do texto dentro do rodapé */
footer p {
    line-height: 1.2; /* Ajuste esse valor conforme necessário */
    margin: 0; /* Remove margens extras, se houver */
}


















