/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0a0a0a; /* Fundo quase preto */
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.main-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 500px;
    background: #141414; /* Cartão ligeiramente mais claro */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: #ff3333; /* Vermelho agressivo */
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #000;
}

.subtitle {
    font-size: 0.9rem;
    color: #888;
    font-weight: bold;
}

.input-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

textarea {
    width: 100%;
    height: 120px;
    background-color: #1d1d1d;
    color: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s;
}

textarea:focus {
    outline: none;
    border-color: #ff3333;
}

/* Botão Estilizado */
button {
    position: relative;
    background-color: #ff3333;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0px #b30000; /* Sombra sólida abaixo */
}

button:hover {
    background-color: #ff4d4d;
    transform: translateY(2px);
    box-shadow: 0 2px 0px #b30000;
}

button:active {
    transform: translateY(4px);
    box-shadow: 0 0px 0px #b30000;
}

button.loading {
    background-color: #555;
    box-shadow: 0 4px 0px #333;
    cursor: not-allowed;
}

/* Container de Resposta */
#resposta-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #1d1d1d;
    border-radius: 8px;
    border-left: 4px solid #ff3333;
    transition: all 0.5s ease-out;
    opacity: 1;
    transform: translateY(0);
}

#resposta-container.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.resposta-header {
    font-weight: bold;
    color: #ff3333;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

#resposta {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    font-style: italic;
}

/* Responsividade para celulares pequenos */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 2.2rem;
    }
}
