* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

h1 {
    color: #333;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.scoreContainer {
    display: flex;
    justify-content: space-between;
    width: 300px;
    font-size: 1.2rem;
    font-weight: 600;
}

.gameBoard {
    position: relative;
    width: 300px;
    height: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background-color: #333;
}

.gameButton {
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.1s;
}

.gameButton.active {
    opacity: 1;
}

.red {
    background-color: #e74c3c;
}

.green {
    background-color: #2ecc71;
}

.blue {
    background-color: #3498db;
}

.yellow {
    background-color: #f1c40f;
}

.centerSquare {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#startButton {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 20;
}

#startButton:hover {
    background-color: #555;
    transform: scale(1.05);
}

.statusMessage {
    font-size: 1.2rem;
    height: 24px;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 400px) {
    .gameBoard {
        width: 250px;
        height: 250px;
    }
    
    .centerSquare {
        width: 80px;
        height: 80px;
    }
}
