body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("./media/background.jpg");
    background-size: cover;
    background-position: center;
}

#gameContainer {
    background: white;
    padding: 30px;
    border: 5px solid #000;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
}

h1 {
    margin: 0 0 15px;
    font-size: 2.5rem;
}

#cellContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px auto;
    max-width: 360px;
}

.cell {
    aspect-ratio: 1;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    cursor: pointer;
    background: #f0f0f0;
}

#statusText {
    margin: 15px 0;
    font-size: 1.8rem;
}

button {
    padding: 12px 30px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background: #000;
    color: white;
}

button:hover {
    background: #333;
}

@media (max-width: 768px) {
    #gameContainer {
        padding: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .cell {
        font-size: 40px;
    }

    #statusText {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #gameContainer {
        padding: 10px;
        border: 3px solid #000;
    }

    h1 {
        font-size: 1.2rem;
    }

    #cellContainer {
        max-width: 240px;
    }

    .cell {
        font-size: 30px;
        border: 1px solid black;
    }

    #statusText {
        font-size: 1rem;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }
}