@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
        
:root {
    --bg-color: #151922;
    --text-color: #00ffa6;
    --panel-bg: rgba(21, 25, 34, 0.8);
    --border-color: #00ffa6;
}

body {
    font-family: 'Press Start 2P', cursive;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-shadow: 0 0 5px rgba(0, 255, 166, 0.5);
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
    padding: 20px;
}

.center-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

h1 {
    font-size: 2.2rem; /* Aumenta um pouco o título */
    margin-bottom: 10px;
    color: var(--border-color);
    text-shadow: 0 0 10px rgba(0, 255, 166, 0.8);
}

#gameStatus {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem; /* Aumenta a fonte do status */
}

canvas {
    background-color: #000;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 15px rgba(0, 255, 166, 0.7);
    cursor: pointer;
}

.game-info-panel {
    background-color: var(--panel-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 166, 0.5);
    width: 250px;
    flex-shrink: 0;
}

.info-section h3 {
    font-size: 1.3rem; /* Aumenta o tamanho dos títulos das seções */
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.info-section ul {
    list-style-type: none;
    padding: 0;
}

.info-section li {
    margin-bottom: 10px; /* Aumenta o espaçamento entre os itens da lista */
    font-size: 0.9rem; /* Aumenta o tamanho do texto das listas */
    line-height: 1.4; /* Melhora a legibilidade do texto */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.5s ease;
}

.overlay.hidden {
    display: none;
    opacity: 0;
}

.panel {
    background-color: var(--panel-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 166, 0.8);
    max-width: 400px;
    width: 90%;
    color: white;
}

.panel h2 {
    font-size: 2rem; /* Aumenta o tamanho dos títulos nos painéis */
    margin-bottom: 10px;
}

.panel p {
    font-size: 1.1rem; /* Aumenta o tamanho do texto nos painéis */
    line-height: 1.5; /* Melhora o espaçamento entre as linhas */
    margin-bottom: 20px;
}

input[type="text"] {
    font-family: 'Press Start 2P', cursive;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    width: 80%;
    margin-bottom: 20px;
}

button {
    font-family: 'Press Start 2P', cursive;
    background-color: var(--border-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 255, 166, 0.8);
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    background-color: #00e092;
    box-shadow: 0 0 15px rgba(0, 255, 166, 1);
}

.hidden {
    display: none;
}

.pause-text {
    color: #ff0;
    text-shadow: 0 0 10px #ff0;
}

.game-over-text {
    color: #f00;
    text-shadow: 0 0 10px #f00;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    .game-info-panel {
        width: 95%;
        margin-bottom: 10px;
    }
    .center-area {
        order: -1;
    }
    h1 {
        font-size: 1.8rem; /* Ajusta o tamanho do título para mobile */
    }
}