body {
    overflow-x: hidden;
}

.game {
    width: 90%;
    max-width: 650px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 
    'Helvetica Neue', sans-serif;
    font-weight: 500;
    text-align: center;
    color: white;
    margin: auto;
}

.title {
    background: linear-gradient(135deg, #ab597f 0%, #ff253ec9 100%);
    padding: 5px 0;
    margin: 5px auto; 
    font-size: 30px;
    width: 98%;
    max-width: 650px;
    border-radius: 5px;
}

span {
    color: #fa0;
}

.square {
    width: 32%;
    height: 110px; 
    font-size: 50px;
    background: linear-gradient(135deg, #ab597f 0%, #ff253ec9 100%);
    float: left;
    margin: 0.5%; 
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.square:hover {
    cursor: pointer;
}

.reset-btn {
    width: 200px;
    height: 60px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #ab597f 0%, #ff253ec9 100%);
    background-size: 200% 200%;
    color: white;
    border: 3px solid #fff;
    border-radius: 50px;
    margin: 15px auto;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(171, 89, 127, 0.3);
    animation: gradientShift 3s ease infinite;
}

.reset-btn:hover {
    transform: scale(1.05) ;
    box-shadow: 0 12px 25px rgba(171, 89, 127, 0.5);
    border-color: #ffd700;
}

@media screen and (min-width: 600px) {
    .square {
        height: 180px;
        font-size: 80px;
    }
    .reset-btn {
        width: 250px;
        height: 70px;
        font-size: 18px;
    }
}
