body {
    font-family: 'Montserrat', sans-serif;
    background-color: #282c34; 
    color: #e0e0e0; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #3a3f47;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

h1 {
    color: #61dafb; 
    margin-bottom: 30px;
    font-size: 2.2em;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 300px;
    height: 300px;
    margin: 0 auto 30px auto;
    background-color: #20232a;
    border-radius: 10px;
    padding: 20px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.game-pad {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    border: 5px solid rgba(0, 0, 0, 0.2);
    transition: background-color 0.1s ease-out, transform 0.1s ease-out;
}

/* Pad Colors */
.game-pad.green { background-color: #4CAF50; } 
.game-pad.red { background-color: #F44336; }    
.game-pad.yellow { background-color: #FFEB3B; } 
.game-pad.blue { background-color: #2196F3; }   


.game-pad.green.active { background-color: #81C784; box-shadow: 0 0 20px #81C784; }
.game-pad.red.active { background-color: #E57373; box-shadow: 0 0 20px #E57373; }
.game-pad.yellow.active { background-color: #FFF176; box-shadow: 0 0 20px #FFF176; }
.game-pad.blue.active { background-color: #64B5F6; box-shadow: 0 0 20px #64B5F6; }


.game-pad:hover {
    transform: scale(1.03);
}


.game-pad.disabled:hover {
    transform: none;
    cursor: default;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.score-display {
    font-size: 1.4em;
    font-weight: 700;
    color: #e0e0e0;
}

.btn {
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    background-color: #61dafb; /* Accent color */
    color: #282c34;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    background-color: #21a1f1;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn.reset-btn {
    background-color: #f44336; 
    color: white;
}

.btn.reset-btn:hover {
    background-color: #d32f2f;
}

.message {
    font-size: 1.1em;
    color: #bbbbbb;
    min-height: 20px; 
}