body {
    text-align: center;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    margin: 0;
    padding: 20px;
}

h1 {
    margin-top: 10px;
}

#gameArea {

    width: 95vw;

    height: 70vh;

    border: 3px solid white;

    margin: 20px auto;

    position: relative;

    background-color: rgba(255,255,255,0.1);

    border-radius: 15px;

    overflow: hidden;

    backdrop-filter: blur(5px);
}

#box {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    position: absolute;
    display: none;
    cursor: pointer;
    border-radius: 10px;
    transition:
left 0.25s ease,
top 0.25s ease,
width 0.2s,
height 0.2s,
transform 0.1s;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

button {
    padding: 14px 30px;

    font-size: 20px;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    background: #00c6ff;
    color: white;

    transition: 0.3s;

    width: 220px;
    max-width: 80%;
}

button:hover {
    transform: scale(1.05);
    background: #0072ff;
}

p {
    font-size: 20px;
}

@media (max-width: 600px) {

    #gameArea {
        width: 90vw;
        height: 350px;
    }

    button {
        width: 80%;
    }
}

#stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.screen {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.7);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    z-index: 10;

    border-radius: 15px;
}

.hidden {
    display: none;
}

.screen h2 {
    font-size: 40px;
    margin-bottom: 20px;
}