body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', 'Comic Sans MS', Roboto, Roboto;
    background-color: #222; /* Cinza escuro moderno */
    color: #e83e8c; /* Rosa moderno */
}

.container {
    text-align: center;
    background: #2c2c2c; /* Cinza um pouco mais claro que o body */
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(232, 62, 140, 0.12);
    width: 80%;
    max-width: 320px; /* Esta é a linha que ajusta o tamanho da caixa */
}


h1 {
    text-align: center;
    color: #e83e8c;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.input-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

#nome-input {
    padding: 8px;
    border: 1px solid #e83e8c;
    border-radius: 6px;
    background: #222;
    color: #e83e8c;
    font-size: 0.9em;
    flex-grow: 1;
    transition: border 0.2s;
}

#nome-input:focus {
    border-color: #fff;
    outline: none;
}

/* Botão "Adicionar" */
#adicionar-btn {
    padding: 8px 11px; /* Aumenta o tamanho do botão. Ajuste o valor conforme desejar. */
    background: linear-gradient(90deg, #e83e8c 70%, #ffb6d5 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
    font-size: 0.9em; /* Aumenta o tamanho da fonte para acompanhar o novo padding */
}

#adicionar-btn:hover {
    background: linear-gradient(90deg, #e83e8c 60%, #fff 100%);
    transform: scale(1.05);
}

#lista-nomes {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin-bottom: 22px;
}

#lista-nomes li {
    background: #353535;
    color: #e83e8c;
    padding: 9px 12px;
    margin-bottom: 6px;
    border-radius: 5px;
    border-left: 3px solid #e83e8c;
    transition: background 0.2s;
}

#lista-nomes li:hover {
    background: #444;
}

.sortear-area {
    margin-top: 24px;
    text-align: center;
}

/* Botão "Sortear Nome" */
#sortear-btn {
    padding: 10px 15px; /* Aumenta o tamanho, pode ser um pouco maior que o botão de adicionar */
    font-size: 1.0em; /* Aumenta o tamanho da fonte para destaque */
    background: linear-gradient(90deg, #e83e8c 70%, #ffb6d5 100%);
    color: #463a2a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s, transform 0.1s;

#sortear-btn:hover {
    background: linear-gradient(90deg, #e83e8c 60%, #fff 100%);
    transform: scale(1.05);
}

#nome-sorteado {
    margin-top: 18px;
    font-size: 1.25em;
    font-weight: bold;
    color: #ffb6d5; /* Rosa claro para destaque */
    text-shadow: 0 2px 8px rgba(232,62,140,0.12);
}

/* Responsividade */
@media (max-width: 600px) {
    .container {
        padding: 12px 6px;
        max-width: 98vw;
    }
    .input-area {
        flex-direction: column;
        gap: 10px;
    }
    #sortear-btn, #adicionar-btn {
        width: 100%;
    }
}
