@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@400;700&display=swap');

:root {
    --primary-color: #00ff9d;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e0e0e0;
    --border-color: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    text-align: center;
    border: 1px solid var(--border-color);
}

h1 {
    font-family: 'Press Start 2P', cursive;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.subtitle {
    opacity: 0.7;
    margin-bottom: 30px;
}

#result-container {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s ease;
}

#result-text {
    font-size: 1.2rem;
    font-weight: bold;
}

#result-text small {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

#draw-button {
    background-color: var(--primary-color);
    color: #000;
    flex-grow: 1;
}

#draw-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-color);
}

#filter-toggle-button {
    background-color: var(--border-color);
    color: var(--text-color);
    /* width: 50px; */
    font-size: 1.2rem;
}

#filter-toggle-button:hover {
    background-color: #444;
}

/* Estilos do Modal de Filtros */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

#close-modal-button {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
}

#console-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.console-item {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    padding: 10px;
    border-radius: 5px;
}

.console-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.console-item label {
    font-size: 0.9rem;
    cursor: pointer;
}

/* ... (todo o seu CSS anterior permanece o mesmo) ... */

/* ===== NOVO: Estilos do Botão e Modal de Feedback ===== */

.feedback-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #000;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.4);
    border: none;
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feedback-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 255, 157, 0.6);
}

#feedback-textarea {
    width: 100%;
    min-height: 150px;
    padding: 10px;
    border-radius: 8px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 10px;
}

#char-counter {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 20px;
}

#send-feedback-button {
    width: 100%;
    background-color: var(--primary-color);
    color: #000;
}

#send-feedback-button:disabled {
    background-color: #555;
    cursor: not-allowed;
}

#feedback-status {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    min-height: 20px;
}

.modal-body {
    padding-top: 10px;
}

/* Estilos para a exibição da capa do jogo */
#result-text img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#result-container {
    transition: all 0.3s ease;
}

/* Melhorar a aparência durante a animação */
#result-text {
    transition: all 0.2s ease;
}