body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    animation: fadeIn 1s ease-in-out;
}

.game-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 350px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.6s ease;
}

h1 {
    margin-bottom: 10px;
    color: #333;
}

#message {
    font-weight: bold;
    margin-bottom: 15px;
    color: #444;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.box {
    height: 90px;
    background: #f1f2f6;
    font-size: 35px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.box:hover {
    background: #dcdde1;
    transform: scale(1.05);
}

button {
    margin-top: 18px;
    padding: 10px 18px;
    border: none;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animations */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
