body {
    background-color: #1a1a1a;
    color: #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 20px;
    margin: 0;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* Remove o flash azul ao tocar */
}

.container {
    text-align: center;
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    width: 90%;
    max-width: 500px;
}

h1, h2 {
    margin: 10px 0 20px 0;
}

#lights-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.light {
    width: 12vw;
    height: 12vw;
    max-width: 50px;
    max-height: 50px;
    background-color: #330000;
    border: 2px solid #111;
    border-radius: 50%;
    transition: background-color 0.1s, box-shadow 0.1s;
}

.light.on {
    background-color: #ff0000;
    box-shadow: 0 0 20px #ff0000, 0 0 35px #ff0000;
}

#reaction-area {
    width: 100%;
    height: 150px;
    background-color: #444;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.1s;
}

#reaction-area p {
    font-size: 1.5em;
    font-weight: bold;
    padding: 0 10px;
}

#reaction-area.go {
    background-color: #00ce2c;
    color: #fff;
}

button {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    border: none;
    background-color: #e10600;
    color: white;
    transition: background-color 0.2s;
}

button:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

button:hover:not(:disabled) {
    background-color: #b80500;
}

#leaderboard {
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 12px 8px;
    border-bottom: 1px solid #444;
}

th {
    background-color: #333;
}

#clearButton {
    background-color: #555;
    font-size: 0.9em;
    padding: 8px 16px;
}
#clearButton:hover {
    background-color: #777;
}
