/* ======================================================
   sorteador.css
   Reposiciona logo JuninoPro dentro do content-box
   ====================================================== */

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    background: #f4f4f4 url('/assets/img/fundoazulescuro2.png') no-repeat center center;
    background-size: cover;
    padding-bottom: 60px; /* Espaço para o footer */
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-logo.central {
    height: 50px;
}

/* === Main & Content Box === */
main.main-content {
    padding: 80px 20px 20px;
    display: flex;
    justify-content: center;
}

.content-box {
    position: relative;            /* para posicionar logo internamente */
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin-top: 12rem;
}

.content-box h1 {
    font-size: 2rem;
    color: yellow;
    margin-bottom: 1rem;
}

.content-box h3 {
    font-size: 1.75rem;
    color: #1cff00;
    margin-top: 1.5rem;
}

/* === Inputs e Botão === */
.input-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group label {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100px;
    height: 60px;
    font-size: 2.5rem;
    text-align: center;
    color: #81a8f3;
    border-radius: 6px;
    border: 2px solid #ccc;
}

/* Botão de Sorteio */
.btnIniciar {
    height: 60px;
    padding: 0 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #7a6602;
    background-color: #ffa500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btnIniciar:hover {
    background-color: #e69500;
    transform: scale(1.03);
}

/* === Números Sorteados === */
.numeros-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.numeros-container .numero-final {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.2s, background-color 0.2s;
}

.numeros-container .numero-final:hover {
    transform: scale(1.1);
    background-color: #0056b3;
}

/* === Logo JuninoPro dentro do quadro === */
.juninopro-logo {
    position: absolute;
    bottom: 10px; /* 10px do fundo do content-box */
    right: 10px;  /* 10px da borda direita */
    width: 100px;  /* tamanho discreto */
    opacity: 0.8;
}

/* === Rodapé === */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #030c49;
    color: #39fd02;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
}

/* Navbar configurada com posição relativa para usar absolute na logo */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: flex-end; /* botão vai pra direita */
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    position: relative;
}

/* Contêiner para centralizar a logo com posição absoluta */
.navbar-logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Logo central */
.navbar-logo.central {
    height: 50px;
    width: auto;
}

/* Botão vermelho à direita */
.btn-navbar-right {
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-navbar-right:hover {
    background-color: #b02a37;
    transform: scale(1.05);
}
