/* Modal box */
.game-modal-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 260px;
    font-family: sans-serif;
    transform: translateY(-10px);
    animation: slideUp 0.3s ease forwards;
}

/* Message text */
.game-modal-message {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* Buttons container */
.game-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Buttons */
.game-modal-button {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: #007bff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.game-modal-button:hover {
    background: #0056b3;
}

/* Fade animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
